We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf8da41 + fc4ae6c commit c7612d4Copy full SHA for c7612d4
1 file changed
packages/mcp-express/README.md
@@ -44,7 +44,7 @@ const app = express();
44
45
// Initialize McpAuthServer
46
const mcpAuthServer = new McpAuthServer({
47
- baseUrl: process.env.BASE_URL as string,
+ baseUrl: process.env.AUTH_SERVER_BASE_URL as string,
48
issuer: process.env.ISSUER as string,
49
resource: 'http://localhost:8000/mcp', // MCP server URL
50
});
@@ -74,6 +74,14 @@ const mcpAuthServer = new McpAuthServer({
74
75
```
76
77
+If you are using Asgardeo this will be
78
+
79
+```typescript
80
+import {McpAuthServer} from '@asgardeo/mcp-express';
81
82
+const mcpAuthServer = new McpAuthServer({baseUrl: 'https://api.asgardeo.io/t/<your-organization>'});
83
+```
84
85
#### mcpAuthServer.router()
86
87
Returns an Express router that sets up the necessary endpoints for MCP authentication.
0 commit comments