From 398973c0b003d20ab14fb91b432eee1adacc6956 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Tue, 17 Jun 2025 23:06:40 -0400 Subject: [PATCH] Update README.md --- packages/mcp-express/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/mcp-express/README.md b/packages/mcp-express/README.md index 8f5a759..dc3a4fc 100644 --- a/packages/mcp-express/README.md +++ b/packages/mcp-express/README.md @@ -44,7 +44,7 @@ const app = express(); // Initialize McpAuthServer with baseUrl const mcpAuthServer = new McpAuthServer({ - baseUrl: process.env.BASE_URL as string, + baseUrl: process.env.AUTH_SERVER_BASE_URL as string, }); app.use(express.json()); @@ -68,6 +68,14 @@ import {McpAuthServer} from '@asgardeo/mcp-express'; const mcpAuthServer = new McpAuthServer({baseUrl: 'https://auth.example.com'}); ``` +If you are using Asgardeo this will be + +```typescript +import {McpAuthServer} from '@asgardeo/mcp-express'; + +const mcpAuthServer = new McpAuthServer({baseUrl: 'https://api.asgardeo.io/t/'}); +``` + #### mcpAuthServer.router() Returns an Express router that sets up the necessary endpoints for MCP authentication.