MCP Stateless Server Template
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Stateless Server Template
Production-ready stateless MCP server implementing the 2026-07-28 specification.
Built by Varritech | christian@varritech.com
Why This Exists
MCP just grew up. The 2026-07-28 specification retired sessions and handshakes, transforming MCP from a bidirectional stateful protocol into a request/response stateless protocol.
This template gives you a working stateless server in TypeScript that you can:
Deploy behind a round-robin load balancer immediately
Scale horizontally without shared storage
Use as a reference for migrating your existing MCP servers
Related MCP server: mcp-server-toolkit
Quick Start
npm install
npm run devYour server will be available at http://localhost:3000/mcp
What Changed in 2026-07-28
Before (2025-11-25) | After (2026-07-28) |
| No handshake required |
| Removed entirely |
Bidirectional streams | Request/response only |
Server-initiated sampling/elicitation | Multi Round-Trip Requests (MRTR) |
Dynamic Client Registration (DCR) | Client ID Metadata Documents (CIMD) |
Key Features
✅ Stateless by default - Every request is self-describing
✅ Load balancer ready - Any request lands on any instance
✅ Cacheable responses - ttlMs and cacheScope hints included
✅ MRTR support - Handle user input requirements mid-call
✅ Authorization hardened - RFC 9207 issuer validation
Architecture
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Client │────▶│ Load │────▶│ Server │
│ │ │ Balancer │ │ Instance │
└─────────────┘ └─────────────┘ └─────────────┘
│
┌─────────────┐
│ Server │
│ Instance │
└─────────────┘No session affinity required. No shared storage needed.
Migration Guide
If you have an existing MCP server:
Remove
initialize/initializedhandlersDrop
Mcp-Session-IdtrackingAdd
_meta.clientInfoparsing to each requestImplement
server/discoverRPC (optional but recommended)Update response format to include
ttlMsandcacheScope
See GUIDE.md for the full migration walkthrough.
License
MIT - Varritech 2026
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
The official MCP Server for the Mux API
Stateless MCP gateway and OTel span-streaming bridge for hosted MCP servers.
Zero-log MCP server with 49 tools for AI guardrails, secret scanning, MCP linting & EU compliance.
491Cloud-hosted MCP server for durable AI memory
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA production-ready MCP server scaffold that features built-in authentication, Docker support, and a comprehensive CI/CD release pipeline. It provides a standardized template for deploying servers with multi-transport support and configurable read-only modes.MIT
- AlicenseNot gradedqualityDmaintenanceProduction-ready MCP server starter with authentication, observability, and a plugin system for building and deploying MCP servers quickly.MIT
- AlicenseNot gradedqualityDmaintenanceStarter kit for building stateless MCP servers using the 2026 spec, enabling horizontal scaling without session affinity.MIT
- AlicenseNot gradedqualityDmaintenanceEnables a stateless, horizontally scaled MCP server using the 2026-07-28 specification, with tools for load testing and instance-aware operations.MIT