- - A comprehensive reference implementation of the Model Context Protocol (MCP) server - demonstrating all protocol features with full authentication support and horizontal scalability. -
- -All MCP features including tools, resources, prompts, sampling, completions, and logging with full protocol compliance.
-Streamable HTTP (SHTTP) and Server-Sent Events (SSE) transports for flexible client integration.
-Complete OAuth flow with PKCE support and a built-in fake provider for testing and development.
-Redis-backed session management enables multi-instance deployments with automatic load distribution.
-Echo, add, long-running operations, LLM sampling, image handling, annotations, and resource references.
-Example resources with pagination, templates, subscriptions, and real-time update notifications.
-This is a demo standalone OAuth 2.0 authorization server for MCP.
+ +
- diff --git a/mcp-server/src/static/mcp.png b/src/static/mcp.png similarity index 100% rename from mcp-server/src/static/mcp.png rename to src/static/mcp.png diff --git a/auth-server/src/static/styles.css b/src/static/styles.css similarity index 100% rename from auth-server/src/static/styles.css rename to src/static/styles.css diff --git a/tsconfig.json b/tsconfig.json index c2113bd..f1d7aa0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,19 +1,29 @@ { "compilerOptions": { - "target": "es2018", - "module": "Node16", - "moduleResolution": "Node16", - "sourceMap": true, + "target": "ES2022", + "module": "NodeNext", + "moduleResolution": "NodeNext", + "lib": ["ES2022"], + "outDir": "./dist", + "rootDir": "./src", "strict": true, "esModuleInterop": true, + "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, - "isolatedModules": true, - "skipLibCheck": true + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "allowSyntheticDefaultImports": true, + "isolatedModules": true }, - "files": [], - "references": [ - { "path": "./auth-server" }, - { "path": "./mcp-server" } + "include": [ + "src/**/*" + ], + "exclude": [ + "node_modules", + "dist", + "**/*.test.ts", + "**/*.spec.ts" ] -} +} \ No newline at end of file