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 d779401b5f
Add inactivity timeout to ServerRedisTransport
- Add 5-minute inactivity timeout to prevent memory leaks
- Reset timer on each message received from client
- Clear timer on transport close
- Add comprehensive tests for timeout behavior
- Fix async/await in redisRelayToMcpServer calls

Sessions will now automatically shutdown after 5 minutes of no client activity.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 19:42:19 +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 Fix test suite to properly clean up MCP servers 2025-07-09 15:39:44 +01:00
docs Fix test suite for refactored shttp and redisTransport 2025-07-09 14:50:23 +01:00
src Add inactivity timeout to ServerRedisTransport 2025-07-09 19:42:19 +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
debug-test-hang.sh Fix test suite for refactored shttp and redisTransport 2025-07-09 14:50:23 +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
mcp.png Create beautiful black and white MCP-branded auth pages 2025-07-08 12:33:30 +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
selective_compact_debug.json Add inactivity timeout to ServerRedisTransport 2025-07-09 19:42:19 +01:00
tsconfig.json Initial commit 2025-06-04 13:16:20 +01:00