Skip to content

Make HTTP MCP transport stateless. - #1

Merged
vijaydeepsinha merged 2 commits into
mainfrom
feature/stateless-mcp-transport
Jul 17, 2026
Merged

vijaydeepsinha merged 2 commits into
mainfrom
feature/stateless-mcp-transport

Conversation

@vijaydeepsinha

Copy link
Copy Markdown
Owner

Switch Streamable HTTP to sessionIdGenerator: undefined so each /mcp request gets a fresh McpServer and transport with bearer validated per request. Remove SessionManager, session env vars, and activeSessions from /health. Rename createSessionServer to createMcpServer and update tests, E2E, and docs.

Summary

Type of change

  • Bug fix
  • New feature
  • Refactor / internal change
  • Documentation
  • Other:

Test plan

Checklist

  • npm run typecheck passes
  • npm test passes (all existing tests green)
  • New tests added for new behavior
  • Apache-2.0 SPDX header on every new .ts file
  • No internal company names, hostnames, or credentials introduced
  • CHANGELOG.md updated if this is a user-visible change
  • Layer discipline respected (runtime/ does not import adapters/ directly)

Related issues

Closes #

Vijaydeep Sinha added 2 commits July 17, 2026 12:31
Switch Streamable HTTP to sessionIdGenerator: undefined so each /mcp request
gets a fresh McpServer and transport with bearer validated per request.
Remove SessionManager, session env vars, and activeSessions from /health.
Rename createSessionServer to createMcpServer and update tests, E2E, and docs.
Bump vitest to ^3.2.7 and js-yaml to ^4.3.0, and refresh the lockfile
so CI npm audit --audit-level=high passes.
@vijaydeepsinha
vijaydeepsinha merged commit b92321b into main Jul 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant