Conceptual
Login

Deciding Whether an MCP Server Should Hold State

A stateful server is simpler to write and harder to scale. Weigh session affinity, horizontal scaling, and reconnection against the convenience of in-memory state.