> Connect Bilinc memory to Claude, ChatGPT, Codex, Cursor, VS Code, Gemini CLI, Devin Desktop, opencode and Hermes-Agent, with where each config goes.

Canonical page: https://bilinc.space/docs/mcp-clients

- [Docs](https://bilinc.space/docs)
- Agent integrations
- MCP clients

# Connect Bilinc to the agent client you already use.

This page shows where to add Bilinc in each MCP client, how to check that it works, and which of the two Bilinc MCP servers each client uses. Every client connected to the same workspace shares one memory.

Search the docs

### All docs pages

Start

- [Overview](https://bilinc.space/docs)
- [Quickstart](https://bilinc.space/docs/quickstart)
- [Cloud quickstart](https://bilinc.space/docs/cloud-quickstart)
- [Quicktest help](https://bilinc.space/docs/quicktest-troubleshooting)
- [v2 migration](https://bilinc.space/docs/migration-v2)

Use Bilinc

- [Python SDK](https://bilinc.space/docs/python-sdk)
- [CLI](https://bilinc.space/docs/cli)
- [Cloud API](https://bilinc.space/docs/api-reference)
- [MCP integration](https://bilinc.space/docs/mcp)
- [Remote MCP for Claude](https://bilinc.space/docs/remote-mcp)
- [MCP tools](https://bilinc.space/docs/mcp-tools)
- [Wiki export](https://bilinc.space/docs/wiki)
- [Dream pass](https://bilinc.space/docs/dream)
- [Agent recipes](https://bilinc.space/docs/agent-recipes)

Agent integrations

- [Codex](https://bilinc.space/docs/codex)
- [Claude Code](https://bilinc.space/docs/claude-code)
- [Cursor](https://bilinc.space/docs/cursor)
- [MCP clients](https://bilinc.space/docs/mcp-clients)

Concepts

- [Memory model](https://bilinc.space/docs/memory-model)
- [Commit and recall](https://bilinc.space/docs/commit-recall)
- [Entitlements](https://bilinc.space/docs/entitlements)
- [Recall profiles](https://bilinc.space/docs/recall-profiles)
- [Evidence-aware recall](https://bilinc.space/docs/evidence-aware-recall)
- [Snapshots and rollback](https://bilinc.space/docs/snapshots-rollback)
- [Audit trail](https://bilinc.space/docs/audit-trail)

Operate

- [Security](https://bilinc.space/docs/security)
- [Production checklist](https://bilinc.space/docs/production-checklist)
- [Operations](https://bilinc.space/docs/operations)
- [Errors](https://bilinc.space/docs/errors)
- [Rate limits](https://bilinc.space/docs/rate-limits)
- [Troubleshooting](https://bilinc.space/docs/troubleshooting)

Reference

- [Environment variables](https://bilinc.space/docs/environment-variables)
- [CLI reference](https://bilinc.space/docs/cli-reference)

Also

- [Pricing](https://bilinc.space/pricing)
- [Changelog](https://bilinc.space/changelog)
- [Connect over MCP](https://bilinc.space/mcp)

Bilinc exposes hosted memory through the Cloud MCP adapter so coding agents can share one state layer.

## Remote server or local adapter.

Bilinc offers two MCP servers, and both reach the same hosted workspace.

The **remote server** runs at `https://mcp.bilinc.space/mcp`. Claude, ChatGPT and Codex connect to that URL, and you sign in to Bilinc in your browser. There is no key to copy. On the approval screen you choose the workspace and whether the connection is read-only or read and write. See the [remote MCP guide](https://bilinc.space/docs/remote-mcp).

The **local adapter**, `python3 -m bilinc.cloud_mcp`, comes with the `bilinc` Python package. Your client starts it as a stdio process, and it signs its calls with the key `bilinc login` saved on your machine. Any client that can start a stdio MCP server can use it. See [MCP integration](https://bilinc.space/docs/mcp).

The two have different tool sets. The [MCP tools reference](https://bilinc.space/docs/mcp-tools) lists both and how they map to each other.

| Client | Server | Where the config goes | Check that it works |
| Claude Code | Remote, or local | `claude mcp add` from the terminal | Ask it to save one decision and recall it |
| Claude Desktop, claude.ai, mobile | Remote | Customize → Connectors → Add custom connector | Ask "Check Bilinc: what did we decide for the billing database?" |
| ChatGPT | Remote | Plugins → Add → Add custom MCP server | Ask for the Bilinc status of the connection |
| Codex | Remote, or local | `codex mcp add`, or `~/.codex/config.toml` | Ask for the Bilinc status of the connection |
| Cursor | Local | `~/.cursor/mcp.json` or `.cursor/mcp.json` | Ask for the Bilinc status of the connection |
| VS Code | Local | `.vscode/mcp.json` | Ask for the Bilinc status of the connection |
| Gemini CLI | Local | `~/.gemini/settings.json` or `.gemini/settings.json` | Run `/mcp` |
| Devin Desktop | Local | `~/.config/devin/mcp_config.json`, or `devin mcp add` | Ask for the Bilinc status of the connection |
| opencode | Local | opencode's MCP settings | Ask for the Bilinc status of the connection |
| Hermes-Agent | Local | `~/.hermes/config.yaml` | Ask for the Bilinc status of the connection |

## Use the Cloud MCP adapter, not the legacy local server path.

**Public package boundary**

The bilinc package on PyPI (2.7.1 and later) ships the Cloud SDK, CLI, and MCP adapter. Run `bilinc mcp install` after `bilinc login` to print this block with your interpreter path. Do not configure bilinc.mcp_server.server_v2 for public Cloud users.

Terminal

```
pip install -U bilinc
bilinc login

# Claude Code: adds Bilinc for every project
eval "$(bilinc mcp install --client claude-code)"

# Claude Desktop: prints the config and where it goes
bilinc mcp install --client claude-desktop

# Any other MCP client: plain mcpServers JSON
bilinc mcp install
```

JSON

```
{
  "mcpServers": {
    "bilinc": {
      "command": "python3",
      "args": ["-m", "bilinc.cloud_mcp"]
    }
  }
}
```

`bilinc mcp install` fills in the absolute path of the Python that has Bilinc, and the adapter reads the key saved by `bilinc login`, so the config carries no key. On a machine without a saved key, add `BILINC_API_KEY` to the server's environment. Before you add the adapter to a client, run `bilinc quicktest`: it makes one hosted commit, recall and status check, so you know the key works.

## Use the same memory contract across clients.

In any client, a quick check is to ask the agent: "Show the Bilinc status for this connection: workspace, plan and whether it can write." The agent calls the `status` tool, which is read-only and never billed.

### Claude Code

Keep durable architecture and debugging context outside one chat session.

Add the remote server for every project with `claude mcp add --transport http --scope user bilinc https://mcp.bilinc.space/mcp`, then run `/mcp`, pick bilinc and choose Authenticate. To use the local adapter instead, run `eval "$(bilinc mcp install --client claude-code)"`. To check it, ask Claude Code to save one decision and read it back. Setup and prompts: [Claude Code](https://bilinc.space/for/claude-code).

### Claude Desktop, claude.ai and mobile

In Claude, open Customize → Connectors → Add custom connector, name it Bilinc and paste the server URL. The connector also works in the browser, and connectors you add on the web or desktop are available in the iOS and Android apps. To check it, turn Bilinc on in a chat and ask "Check Bilinc: what did we decide for the billing database?" For the local adapter, `bilinc mcp install --client claude-desktop` prints the config and the file it goes in. See [Claude Desktop](https://bilinc.space/for/claude-desktop).

### ChatGPT

Open Plugins in the sidebar, choose Add → Add custom MCP server, name it Bilinc and use the same URL. ChatGPT opens bilinc.space to sign you in. To check it, ask ChatGPT for the Bilinc status of the connection. See [ChatGPT](https://bilinc.space/for/chatgpt).

### Codex

Recall project state before edits and commit sprint receipts after verification.

Run `codex mcp add bilinc --url https://mcp.bilinc.space/mcp`, then `codex mcp login bilinc`. To run the local adapter instead, add it under `[mcp_servers.bilinc]` in `~/.codex/config.toml`, with `command = "python3"` and `args = ["-m", "bilinc.cloud_mcp"]`. See [Codex](https://bilinc.space/for/codex).

### Cursor

Give IDE workflows a shared hosted memory layer for repeated work.

Add the `mcpServers` block to `~/.cursor/mcp.json` for every project, or `.cursor/mcp.json` inside one project. See [Cursor](https://bilinc.space/for/cursor).

### VS Code

VS Code keeps a workspace's MCP servers in `.vscode/mcp.json`, under a `servers` object rather than `mcpServers`, and a stdio server names its type. Use the absolute Python path `bilinc mcp install` prints. See [VS Code](https://bilinc.space/for/vscode).

JSON

```
{
  "servers": {
    "bilinc": {
      "type": "stdio",
      "command": "python3",
      "args": ["-m", "bilinc.cloud_mcp"]
    }
  }
}
```

### Gemini CLI

Gemini CLI reads MCP servers from an `mcpServers` object in `~/.gemini/settings.json`, or `.gemini/settings.json` for one project. To check it, start Gemini CLI and run `/mcp`: it lists each server, whether it is connected, and the tools it offers. See [Gemini CLI](https://bilinc.space/for/gemini-cli).

### Devin Desktop

In the Cascade panel's … menu, choose Open MCP config file in the MCPs section. On macOS and Linux the file is `~/.config/devin/mcp_config.json`; add Bilinc under `mcpServers`. From the Devin CLI, `devin mcp add -s user bilinc -- python3 -m bilinc.cloud_mcp` adds it for every project. See [Devin Desktop](https://bilinc.space/for/devin-desktop).

### opencode

opencode connects over the standard MCP stdio transport. Print the server entry with `bilinc mcp install` and add it to opencode's MCP settings; the command and its arguments are the same as in every other client. See [opencode](https://bilinc.space/for/opencode).

### Hermes-Agent

Add the adapter under `mcp_servers` in `~/.hermes/config.yaml`, with the absolute Python path `bilinc mcp install` prints as `command`. Hermes-Agent can also use the Bilinc memory provider from its plugin catalog. See [Hermes-Agent](https://bilinc.space/for/hermes-agent).

## Any MCP-capable runtime can use Bilinc.

If the runtime can spawn a stdio MCP process and pass environment variables, it can call hosted commit and recall through Bilinc. Print the block with `bilinc mcp install` and add it wherever your runtime keeps its MCP servers. See [any MCP client](https://bilinc.space/for/mcp) and [connect over MCP](https://bilinc.space/mcp).

## Frequently asked questions

### Which MCP clients work with Bilinc?

Bilinc documents setups for Claude Code, Claude Desktop and claude.ai, ChatGPT, Codex, Cursor, VS Code, Gemini CLI, Devin Desktop, opencode and Hermes-Agent. Claude, ChatGPT and Codex can use the remote server URL. Any other client that can start a stdio MCP server can run the local adapter.

### Do I need an API key to connect a client?

Not for the remote server: you sign in with OAuth and no key is stored in the client. The local adapter reads the key `bilinc login` saved, so the config itself carries no key. On a machine without a saved key, set `BILINC_API_KEY` in the server's environment.

### Do all my clients share the same memory?

Yes, when they are connected to the same workspace. What ChatGPT saves, Claude and Codex can recall, and each memory records which app wrote it. Take a snapshot before risky work in any client, and [rollback](https://bilinc.space/docs/snapshots-rollback) can restore it.

### Do the remote and local servers have the same tools?

No. The remote server has 13 tools and the local adapter has 15. Only the local adapter has `list_memories`, `history`, `confirm` and `export_wiki`; the remote server writes new memories with `remember`, which never overwrites. The [MCP tools reference](https://bilinc.space/docs/mcp-tools) maps one to the other.

### Why can't my client save memories?

The connection is probably read-only. A read-only connection only sees the four read tools: `recall`, `list_snapshots`, `diff` and `status`. Reconnect Bilinc and choose read and write on the approval screen. If writes fail with `402`, the credits are used up; see [error handling](https://bilinc.space/docs/errors) and [rate limits](https://bilinc.space/docs/rate-limits).

[Commit and recall](https://bilinc.space/docs/commit-recall) · [MCP tools](https://bilinc.space/docs/mcp-tools) · [Remote MCP guide](https://bilinc.space/docs/remote-mcp) · [Connect over MCP](https://bilinc.space/mcp)

[PreviousCursor](https://bilinc.space/docs/cursor)
[NextMemory model](https://bilinc.space/docs/memory-model)

On this page

- Remote server or local adapter.
- Use the Cloud MCP adapter, not the legacy local server path.
- Use the same memory contract across clients.
- Any MCP-capable runtime can use Bilinc.
- Frequently asked questions
