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 5d72dd4301
Add comprehensive integration tests for shttp handler
- Test Redis subscription cleanup after response completion
- Test DELETE request session termination with control messages
- Test error handling for invalid session IDs
- Test user session isolation scenarios (documents expected behavior)
- Use MockRedisClient directly instead of mocking the mock
- Verify actual Redis channel creation and cleanup behavior
- Add proper Express Response mock with all required methods

Tests cover the three key areas:
1. Redis subscription cleanup after shttp responses
2. MCP server shutdown on DELETE requests
3. Session isolation between authenticated users

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 15:30:51 +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 Add comprehensive integration tests for shttp handler 2025-07-07 15:30:51 +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