An MCP server that provides durable shared state for distributed agents, including a key-value store, workflow lifecycle tracking, leases, session snapshots, and audit/history access. It supports SQLite or Redis backends and can run over HTTP SSE or stdio.
From the registry: MCP State Sidecar: durable state persistence for multi-agent AI workflows
$ pip install mcp-state-sidecar
# or, for Redis backend support:
pip install mcp-state-sidecar[redis]https://pypi.org/project/mcp-state-sidecar/'}],Please install the `mcp-state-sidecar` MCP server into my current AI client (that's you).
Optional prerequisites:
- Install Python package — Install the MCP State Sidecar package from PyPI. Install the Redis extra only if you plan to use the Redis backend. Run: `pip install mcp-state-sidecar
# or, for Redis backend support:
pip install mcp-state-sidecar[redis]` (https://pypi.org/project/mcp-state-sidecar/'}],)
Canonical MCP server config (stdio transport):
- command: `mcp-state-sidecar`
- args: []
- optional environment variables:
- `STATE_BACKEND`: Storage backend to use: sqlite or redis. Defaults to sqlite. (example: `sqlite`)
- `DB_PATH`: Path to the SQLite database file. Used when STATE_BACKEND=sqlite. (example: `<your-db-path>`)
- `REDIS_URL`: Redis connection URL. Required in practice when STATE_BACKEND=redis. (example: `<your-redis-url>`)
- `SIDECAR_HOST`: IP host to bind the HTTP SSE server. Relevant for HTTP mode. (example: `<your-host>`)
- `SIDECAR_PORT`: Port for the HTTP SSE server. Relevant for HTTP mode. (example: `<your-port>`)
Note: The README documents both stdio and HTTP SSE launch modes. Canonical stdio command: mcp-state-sidecar. HTTP SSE command is mcp-state-sidecar-http, with endpoint /mcp and environment variables SIDECAR_HOST and SIDECAR_PORT controlling bind host and port.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.STATE_BACKENDrequiredSelects the storage backend, sqlite or redis.DB_PATHrequiredPath to the SQLite database file.REDIS_URLrequiredRedis connection URL.SIDECAR_HOSTrequiredIP host to bind the HTTP SSE server.SIDECAR_PORTrequiredPort for the HTTP SSE server.Meta Ads MCP (Facebook + Instagram) - analyze performance, manage budgets, pause campaigns.