diff --git a/packages/mcp-express/README.md b/packages/mcp-express/README.md index d646971..59ddc73 100644 --- a/packages/mcp-express/README.md +++ b/packages/mcp-express/README.md @@ -44,7 +44,7 @@ const app = express(); // Initialize McpAuthServer const mcpAuthServer = new McpAuthServer({ - baseUrl: process.env.BASE_URL as string, + baseUrl: process.env.AUTH_SERVER_BASE_URL as string, issuer: process.env.ISSUER as string, resource: 'http://localhost:8000/mcp', // MCP server URL }); @@ -74,6 +74,14 @@ const mcpAuthServer = new McpAuthServer({ }); ``` +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.