Statecore MCP Server
by yul761io.github.yul761/statecore-mcpv0.1.2
Auditable memory for coding agents: evidence chains, supersession history, keyless embedded SQLite
context tax
queued
security
queued
cold start
queued
freshness
Active9d ago
Install Statecore MCP server
Install in Claude Code
claude mcp add statecore -e MODEL_API_KEY='<model-api-key>' -- npx -y statecore-mcpInstall in Cursor
{
"mcpServers": {
"statecore": {
"command": "npx",
"args": [
"-y",
"statecore-mcp"
],
"env": {
"MODEL_API_KEY": "<model-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"statecore": {
"command": "npx",
"args": [
"-y",
"statecore-mcp"
],
"env": {
"MODEL_API_KEY": "<model-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"statecore": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"statecore-mcp"
],
"env": {
"MODEL_API_KEY": "<model-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"statecore": {
"command": "npx",
"args": [
"-y",
"statecore-mcp"
],
"env": {
"MODEL_API_KEY": "<model-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| STATECORE_SCOPE | — | — | Override the memory scope name (defaults to the git repository root, else the working directory) |
| FEATURE_LLM | — | — | Set to 'true' together with MODEL_* variables to enable background distillation of conversational events; everything else works without it |
| MODEL_API_KEY | — | yes | OpenAI-compatible API key for background distillation (DeepSeek, OpenAI, Ollama, ...); not required for core memory, audit, and recall |
| MODEL_BASE_URL | — | — | OpenAI-compatible base URL for the distillation model (e.g. https://api.deepseek.com/v1) |
| MODEL_NAME | — | — | Model used for background distillation (e.g. deepseek-chat) |
Freshness
Active — last maintenance signal 9d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-30 · 9d ago · GitHub
Latest release
2026-09-24 · 15d ago · GitHub · v1.7.0
Package published
no data · npm/PyPI
Registry entry updated
2026-08-15 · 55d ago · official registry · v0.1.2
FAQ
›How do I install the Statecore MCP server in Claude Code?
Run: claude mcp add statecore -e MODEL_API_KEY='<model-api-key>' -- npx -y statecore-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Statecore require an API key?
Yes. It expects MODEL_API_KEY, of which 1 is a secret.
›Can I use Statecore as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Statecore in the official MCP registry?
Yes, as io.github.yul761/statecore-mcp.
Alternatives to Statecore
Other database MCP servers.