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 927d34c0d1
Fix 'stream is not readable' error in SSE message handler
- Replace getRawBody with direct req.body usage since express.json() middleware already parses it
- Add debugging support with --inspect flag for dev scripts
- Add VS Code launch configurations for debugging

The issue was that getRawBody tried to read an already-consumed stream. Since express.json()
middleware is applied globally, we can directly use req.body instead.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 13:41:34 +01:00
.devcontainer Initial commit 2025-06-04 13:16:20 +01:00
.github Fix TypeScript type conflicts and update build process 2025-07-10 16:39:41 +01:00
.vscode Fix 'stream is not readable' error in SSE message handler 2025-07-15 13:41:34 +01:00
docs Fix test suite for refactored shttp and redisTransport 2025-07-09 14:50:23 +01:00
src Fix 'stream is not readable' error in SSE message handler 2025-07-15 13:41:34 +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 Bumped sdk version 2025-07-10 16:27:33 +01:00
package.json Fix 'stream is not readable' error in SSE message handler 2025-07-15 13:41:34 +01:00
tsconfig.json Initial commit 2025-06-04 13:16:20 +01:00