Contitext
Self-hosted project continuity for AI agents: state, decisions, checkpoints, and handoffs.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
contitextclaude mcp add contitext -e 'DATABASE_URL=<your database_url>' -e 'CONTITEXT_AUTH_TOKENS=<your contitext_auth_tokens>' -e 'CONTITEXT_MCP_TOKEN=<your contitext_mcp_token>' -e 'CONTITEXT_AUTH_MODE=<CONTITEXT_AUTH_MODE>' -e 'CONTITEXT_COMPATIBILITY_WORKSPACE=<CONTITEXT_COMPATIBILITY_WORKSPACE>' -- uvx contitext==0.10.0 mcp
{
"mcpServers": {
"contitext": {
"command": "uvx",
"args": [
"contitext==0.10.0",
"mcp"
],
"env": {
"DATABASE_URL": "<your database_url>",
"CONTITEXT_AUTH_TOKENS": "<your contitext_auth_tokens>",
"CONTITEXT_MCP_TOKEN": "<your contitext_mcp_token>",
"CONTITEXT_AUTH_MODE": "<CONTITEXT_AUTH_MODE>",
"CONTITEXT_COMPATIBILITY_WORKSPACE": "<CONTITEXT_COMPATIBILITY_WORKSPACE>"
}
}
}
}
Environment variables
DATABASE_URLrequired secret SQLAlchemy postgresql+psycopg:// URL for your migrated PostgreSQL 16+ database. See setup instructions.CONTITEXT_AUTH_TOKENSsecret Required only in config authentication mode: protected token-to-principal JSON mapping.CONTITEXT_MCP_TOKENrequired secret This client credential, valid in the selected authentication mode. Membership and project ACLs are required.CONTITEXT_AUTH_MODEconfig (default) or database. Database mode accepts managed credentials only.CONTITEXT_COMPATIBILITY_WORKSPACEOptional explicit workspace for short project IDs. Without it use workspace/project. Never selects a conversation project.
Frequently asked questions
What is Contitext?
Self-hosted project continuity for AI agents: state, decisions, checkpoints, and handoffs.
How do I install Contitext?
It runs on your machine. In Claude Code: claude mcp add contitext -e 'DATABASE_URL=<your database_url>' -e 'CONTITEXT_AUTH_TOKENS=<your contitext_auth_tokens>' -e 'CONTITEXT_MCP_TOKEN=<your contitext_mcp_token>' -e 'CONTITEXT_AUTH_MODE=<CONTITEXT_AUTH_MODE>' -e 'CONTITEXT_COMPATIBILITY_WORKSPACE=<CONTITEXT_COMPATIBILITY_WORKSPACE>' -- uvx contitext==0.10.0 mcp. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Contitext need an API key?
Yes. It expects DATABASE_URL, CONTITEXT_AUTH_TOKENS, CONTITEXT_MCP_TOKEN, which you set in its configuration.
Is Contitext open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains Contitext?
It is published by contitext. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.