Skip to content
MCP server

Contitext

Self-hosted project continuity for AI agents: state, decisions, checkpoints, and handoffs.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.7.0
Listing updated
today

About Contitext

Contitext is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add contitext --env DATABASE_URL='<DATABASE_URL>' --env CONTITEXT_AUTH_TOKENS='<CONTITEXT_AUTH_TOKENS>' --env CONTITEXT_MCP_TOKEN='<CONTITEXT_MCP_TOKEN>' -- uvx contitext

Add to claude_desktop_config.json

{
  "mcpServers": {
    "contitext": {
      "command": "uvx",
      "args": [
        "contitext"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "CONTITEXT_AUTH_TOKENS": "<CONTITEXT_AUTH_TOKENS>",
        "CONTITEXT_MCP_TOKEN": "<CONTITEXT_MCP_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "contitext": {
      "command": "uvx",
      "args": [
        "contitext"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "CONTITEXT_AUTH_TOKENS": "<CONTITEXT_AUTH_TOKENS>",
        "CONTITEXT_MCP_TOKEN": "<CONTITEXT_MCP_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "contitext": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "contitext"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "CONTITEXT_AUTH_TOKENS": "<CONTITEXT_AUTH_TOKENS>",
        "CONTITEXT_MCP_TOKEN": "<CONTITEXT_MCP_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "contitext": {
      "command": "uvx",
      "args": [
        "contitext"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "CONTITEXT_AUTH_TOKENS": "<CONTITEXT_AUTH_TOKENS>",
        "CONTITEXT_MCP_TOKEN": "<CONTITEXT_MCP_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "contitext": {
      "command": "uvx",
      "args": [
        "contitext"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "CONTITEXT_AUTH_TOKENS": "<CONTITEXT_AUTH_TOKENS>",
        "CONTITEXT_MCP_TOKEN": "<CONTITEXT_MCP_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • DATABASE_URLSQLAlchemy postgresql+psycopg:// URL for your migrated PostgreSQL 16+ database. See setup instructions.Required
  • CONTITEXT_AUTH_TOKENSJSON token store mapping credentials to seeded principal_id and name values. See setup instructions.Required
  • CONTITEXT_MCP_TOKENThis client's credential from CONTITEXT_AUTH_TOKENS; its principal must have explicit project ACLs.Required

Pricing

Open source

Contitext FAQ

Is Contitext free?

Yes. Contitext is open source, so you can use and self-host it for free.

How do I add Contitext to Claude Code?

Run this command in your terminal: claude mcp add contitext --env DATABASE_URL='<DATABASE_URL>' --env CONTITEXT_AUTH_TOKENS='<CONTITEXT_AUTH_TOKENS>' --env CONTITEXT_MCP_TOKEN='<CONTITEXT_MCP_TOKEN>' -- uvx contitext

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers