MCP Server Studio

Ctxfile MCP server

Local-first MCP server that snapshots your project's working state into one context object.

Registry name: dev.ctxfile/ctxfile

Publisher
ctxfile.dev
Runs
Runs locally
Package
npm
Version
0.6.0
Category
Other
Updated
2026-09-26

Source code on GitHub

Set up Ctxfile (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ctxfile": {
      "command": "npx",
      "args": [
        "-y",
        "ctxfile@0.6.0"
      ],
      "env": {
        "NOTION_TOKEN": "<NOTION_TOKEN>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add ctxfile -e NOTION_TOKEN='<NOTION_TOKEN>' -- npx -y ctxfile@0.6.0

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "ctxfile": {
      "command": "npx",
      "args": [
        "-y",
        "ctxfile@0.6.0"
      ],
      "env": {
        "NOTION_TOKEN": "<NOTION_TOKEN>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "ctxfile": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ctxfile@0.6.0"
      ],
      "env": {
        "NOTION_TOKEN": "<NOTION_TOKEN>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "ctxfile": {
      "command": "npx",
      "args": [
        "-y",
        "ctxfile@0.6.0"
      ],
      "env": {
        "NOTION_TOKEN": "<NOTION_TOKEN>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
NOTION_TOKENNoOptional Notion internal integration token (enables the Notion connector)

More other MCP servers