From 3e81ec45a8ebd3bd4385cbe0ddb4ba4e6af15e69 Mon Sep 17 00:00:00 2001 From: Jerome Date: Tue, 19 Aug 2025 20:07:19 +0100 Subject: [PATCH] Add splash page for MCP Everything Server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implemented a clean, informative splash page at the root endpoint that showcases: - Server features and capabilities - API endpoints documentation - Links to GitHub repository and MCP documentation - Black and white theme matching MCP branding - Responsive design for mobile and desktop The splash page provides users with an immediate overview of the server's functionality and serves as a landing page for the MCP Everything Server. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/index.ts | 6 + src/static/index.html | 280 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 286 insertions(+) create mode 100644 src/static/index.html 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