# Brainfile MCP server

Brainfile memory layer for Claude Code over MCP: free starter files + weekly freshness feed.

## Facts

- Endpoint: https://brainfile.io/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: B (82/100, scanned 2026-09-03) · report https://gateturbo.com/report/596e4568-274c-49a7-9c97-93250fb650e8
- Tools: 3
- Category: Search & web · source: registry
- Last probed: 2026-09-03 · first listed: 2026-07-09
- Directory page: https://gateturbo.com/mcp/brainfile · this document: https://gateturbo.com/mcp/brainfile.md · JSON: https://gateturbo.com/api/directory/servers/brainfile

## Tools (3)

- `get_starter_file`: Get the REAL Brainfile free-tier starter files — the on-ramp that turns generic Claude into a project that remembers you. Full text, no acco
- `list_pack_contents`: List the full Brainfile pack manifest: the v1 pattern files (Autopilot protocol, never-empty backlog, never-forgets ledger, interview onboar
- `get_freshness_sample`: Get the real Brainfile freshness feed entry that ships in the pack — the weekly 'living system' update (the same improvements we run on our 

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect Brainfile to your gate (https://gateturbo.com/login?next=/discovery?connect=brainfile).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/brainfile/claude · Claude Desktop → https://gateturbo.com/mcp/brainfile/claude-desktop · ChatGPT → https://gateturbo.com/mcp/brainfile/chatgpt · Codex → https://gateturbo.com/mcp/brainfile/codex · Cursor → https://gateturbo.com/mcp/brainfile/cursor · Windsurf → https://gateturbo.com/mcp/brainfile/windsurf · VS Code → https://gateturbo.com/mcp/brainfile/vscode · Gemini CLI → https://gateturbo.com/mcp/brainfile/gemini-cli · OpenClaw → https://gateturbo.com/mcp/brainfile/openclaw · n8n → https://gateturbo.com/mcp/brainfile/n8n · A script or server → https://gateturbo.com/mcp/brainfile/script

### Direct: Claude Code

Add Brainfile to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http brainfile https://brainfile.io/mcp
```

### Direct: Cursor

Add Brainfile to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "brainfile": {
      "url": "https://brainfile.io/mcp"
    }
  }
}
```

### Direct: VS Code

Add Brainfile to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "brainfile": {
      "type": "http",
      "url": "https://brainfile.io/mcp"
    }
  }
}
```

### Direct: Codex

Add Brainfile to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.brainfile]
url = "https://brainfile.io/mcp"
```

### Direct: Claude

Add Brainfile as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "Brainfile" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://brainfile.io/mcp
```

### Direct: ChatGPT

Add Brainfile as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "Brainfile" with the URL below.
3. Set authentication to none.

```
https://brainfile.io/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
