You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -362,7 +362,7 @@ class AdvancedTool extends MCPTool {
362
362
363
363
### Automatic Type Inference
364
364
365
-
The `McpInput<this>`type automatically infers the correct input type from your schema, eliminating the need for manual type definitions:
365
+
The `MCPInput<this>`type automatically infers the correct input type from your schema, eliminating the need for manual type definitions:
366
366
367
367
```typescript
368
368
class MyTool extends MCPTool {
@@ -372,7 +372,7 @@ class MyTool extends MCPTool {
372
372
tags: z.array(z.string()).describe("User tags")
373
373
});
374
374
375
-
async execute(input: McpInput<this>) {
375
+
async execute(input: MCPInput<this>) {
376
376
// TypeScript automatically knows:
377
377
// input.name is string
378
378
// input.age is number | undefined
@@ -567,64 +567,6 @@ const server = new MCPServer({
567
567
568
568
MCP Framework provides optional authentication for SSE endpoints. You can choose between JWT, API Key, OAuth 2.1 authentication, or implement your own custom authentication provider.
569
569
570
-
### OAuth 2.1 Authentication
571
-
572
-
The framework supports OAuth 2.1 authorization with PKCE, implementing the MCP authorization specification. This is ideal for integrating with authorization servers like AWS Cognito, Auth0, Okta, etc.
573
-
574
-
```typescript
575
-
import { MCPServer, OAuthProvider } from "mcp-framework";
0 commit comments