Contitext runs on your own machine — the client starts it, so there is no endpoint to ping. 570 installs a week from pypi. Last commit 29 Nov 2026.
Self-hosted project continuity for AI agents: state, decisions, checkpoints, and handoffs.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add contitext -e 'DATABASE_URL=<DATABASE_URL>' -e 'CONTITEXT_MCP_TOKEN=<CONTITEXT_MCP_TOKEN>' -- uvx --python 3.12 contitext mcp
{
"mcpServers": {
"contitext": {
"command": "uvx",
"args": [
"--python",
"3.12",
"contitext",
"mcp"
],
"env": {
"CONTITEXT_MCP_TOKEN": "<CONTITEXT_MCP_TOKEN>",
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}
[mcp_servers.contitext]
command = "uvx"
args = ["--python", "3.12", "contitext", "mcp"]
env = { DATABASE_URL = "<DATABASE_URL>", CONTITEXT_MCP_TOKEN = "<CONTITEXT_MCP_TOKEN>" }
{
"mcpServers": {
"contitext": {
"command": "uvx",
"args": [
"--python",
"3.12",
"contitext",
"mcp"
],
"env": {
"CONTITEXT_MCP_TOKEN": "<CONTITEXT_MCP_TOKEN>",
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}
{
"servers": {
"contitext": {
"type": "stdio",
"command": "uvx",
"args": [
"--python",
"3.12",
"contitext",
"mcp"
],
"env": {
"CONTITEXT_MCP_TOKEN": "<CONTITEXT_MCP_TOKEN>",
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}
Put your own values in place of
<DATABASE_URL> (SQLAlchemy postgresql+psycopg:// URL for your migrated PostgreSQL 16+ database. See setup instructions), <CONTITEXT_MCP_TOKEN> (This client credential, valid in the selected authentication mode. Membership and project ACLs are required).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
CONTITEXT_AUTH_TOKENS (Required only in config authentication mode: protected token-to-principal JSON mapping), CONTITEXT_AUTH_MODE (config (default) or database. Database mode accepts managed credentials only), CONTITEXT_COMPATIBILITY_WORKSPACE (Optional explicit workspace for short project IDs. Without it use workspace/project. Never selects a conversation project).
We read the source, 2 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
process = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
child = spawn(command[0], command.slice(1), { stdio: ['pipe', 'pipe', 'ignore'] });
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
MCP server for a project's context (AGENTS.md), memory, and identity — base or drop-in extension.
Self-hosted operating layer for AI agents: knowledge, continuity, coordination, and governance.
Persistent decision memory for AI agents: rationale, rejected approaches, and entity history.
Self-hosted decision memory for AI coding agents; warns before re-proposing a rejected approach.
Local deterministic project memory for AI agents with context packs, gates and checkpoints.
Snap decisions for coding agents: local or hosted classify/check/score/rank via MCP.
Your project's decision history for agents: decisions, dead-ends, constraints - queryable, local.
Context integrity for AI agents: evaluate freshness, confidence, provenance, and decision readiness.
Answers built from our own checks of this server.