Ctxfile MCP Server
by ctxfiledev.ctxfile/ctxfilev0.6.0
Snapshots a project's working state (files, git, plan, decisions) into one context object so a session can move between agents. Local and read-only.
context tax
queued
security
queued
cold start
queued
freshness
Active14d ago
Install Ctxfile MCP server
Install in Claude Code
claude mcp add ctxfile -e NOTION_TOKEN='<notion-token>' -- npx -y ctxfileInstall in Cursor
{
"mcpServers": {
"ctxfile": {
"command": "npx",
"args": [
"-y",
"ctxfile"
],
"env": {
"NOTION_TOKEN": "<notion-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"ctxfile": {
"command": "npx",
"args": [
"-y",
"ctxfile"
],
"env": {
"NOTION_TOKEN": "<notion-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"ctxfile": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ctxfile"
],
"env": {
"NOTION_TOKEN": "<notion-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"ctxfile": {
"command": "npx",
"args": [
"-y",
"ctxfile"
],
"env": {
"NOTION_TOKEN": "<notion-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| NOTION_TOKEN | — | yes | Optional Notion internal integration token (enables the Notion connector) |
Freshness
Active — last maintenance signal 14d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-26 · 14d ago · GitHub
Latest release
2026-09-26 · 14d ago · GitHub · v0.6.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-26 · 14d ago · official registry · v0.6.0
FAQ
›How do I install the Ctxfile MCP server in Claude Code?
Run: claude mcp add ctxfile -e NOTION_TOKEN='<notion-token>' -- npx -y ctxfile. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Ctxfile require an API key?
Yes. It expects NOTION_TOKEN, of which 1 is a secret.
›Can I use Ctxfile as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Ctxfile in the official MCP registry?
Yes, as dev.ctxfile/ctxfile.
Alternatives to Ctxfile
Other version control MCP servers.