Mirror of https://github.com/modelcontextprotocol/example-remote-server — A hosted version of the Everything server - for demonstration and testing purposes, hosted at https://example-server.modelcontextprotocol.io/mcp
  • TypeScript 87.3%
  • Shell 8.7%
  • HTML 2.3%
  • CSS 1.4%
  • JavaScript 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jerome f84e54124b
Implement DELETE request handling for session termination
- Add explicit DELETE request handling in handleStreamableHTTP
- Validate session existence before termination
- Send shutdown control messages to clean up Redis resources
- Return proper HTTP status codes (200 for success, 404 for not found)
- Fix TypeScript issue with JSONRPCMessage id access in redisTransport
- Add missing semicolon in startServerListeningToRedis call

Follows MCP specification for explicit session termination.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 15:30:11 +01:00
.devcontainer Initial commit 2025-06-04 13:16:20 +01:00
.github Initial commit 2025-06-04 13:16:20 +01:00
.vscode Add comprehensive logging to debug Redis transport issues 2025-06-30 20:29:41 +01:00
docs Implement streamable HTTP transport with Redis-based session management 2025-06-05 12:24:04 +01:00
src Implement DELETE request handling for session termination 2025-07-07 15:30:11 +01:00
.git-blame-ignore-revs Initial commit 2025-06-04 13:16:20 +01:00
.gitignore Initial commit 2025-06-04 13:16:20 +01:00
CLAUDE.md Initial commit 2025-06-04 13:16:20 +01:00
eslint.config.mjs Initial commit 2025-06-04 13:16:20 +01:00
jest.config.js Fix tests to work with ES modules and TypeScript 2025-06-04 13:16:42 +01:00
package-lock.json Fix tests to work with ES modules and TypeScript 2025-06-04 13:16:42 +01:00
package.json Fix tests to work with ES modules and TypeScript 2025-06-04 13:16:42 +01:00
tsconfig.json Initial commit 2025-06-04 13:16:20 +01:00