diff --git a/src/index.ts b/src/index.ts index cb8c1b2..d06fe9d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -167,6 +167,12 @@ app.get("/mcp-logo.png", (req, res) => { res.sendFile(logoPath); }); +// Splash page +app.get("/", (req, res) => { + const splashPath = path.join(__dirname, "static", "index.html"); + res.sendFile(splashPath); +}); + // Upstream auth routes app.get("/fakeupstreamauth/authorize", cors(corsOptions), handleFakeAuthorize); app.get("/fakeupstreamauth/callback", cors(corsOptions), handleFakeAuthorizeRedirect); diff --git a/src/static/index.html b/src/static/index.html new file mode 100644 index 0000000..acbfd37 --- /dev/null +++ b/src/static/index.html @@ -0,0 +1,280 @@ + + + + + + MCP Everything Server + + + +
+
+ +

MCP Everything Server

+
+ +

+ A comprehensive reference implementation of the Model Context Protocol (MCP) server + demonstrating all protocol features with full authentication support and horizontal scalability. +

+ +
+
+

Complete MCP Support

+

All MCP features including tools, resources, prompts, sampling, completions, and logging with full protocol compliance.

+
+
+

Multiple Transports

+

Streamable HTTP (SHTTP) and Server-Sent Events (SSE) transports for flexible client integration.

+
+
+

OAuth 2.0 Authentication

+

Complete OAuth flow with PKCE support and a built-in fake provider for testing and development.

+
+
+

Horizontal Scalability

+

Redis-backed session management enables multi-instance deployments with automatic load distribution.

+
+
+

7 Demo Tools

+

Echo, add, long-running operations, LLM sampling, image handling, annotations, and resource references.

+
+
+

100+ Resources

+

Example resources with pagination, templates, subscriptions, and real-time update notifications.

+
+
+ +
+

API Endpoints

+
+
+ POST + /mcp - Initialize sessions or send messages (Streamable HTTP) +
+
+ GET + /mcp - Establish SSE streams (Streamable HTTP) +
+
+ DELETE + /mcp - Terminate sessions (Streamable HTTP) +
+
+ GET + /sse - Legacy SSE transport endpoint +
+
+ POST + /message - Legacy message endpoint for SSE transport +
+
+
+ + +
+ + + + \ No newline at end of file