SynapSynapDocs
Agents

Connect an agent

Give Claude Code, Codex, Cursor, ChatGPT or any MCP client its own governed access to your pod.

For BuildersOpen-source podSynap CloudCLIReviewed 2026-10-20

An agent connects to your pod with its own identity and key. What it writes goes through the pod's governance like any other write, so most of its changes reach your data as proposals you approve, and you can see and revoke each agent separately.

The user CLI, @synap-core/cli, does the wiring for you.

The short path

npx @synap-core/cli init

init finds or creates your pod, approves this computer, and connects the agents it detects on it (Claude Code, Codex, Cursor). See the Cloud quickstart.

Connect one agent

synap connect claude-code
synap connect --list                          # everything that can be connected
synap connect cursor --workspace <id>         # focus on one workspace (default: pod-wide)
synap connect codex --project <id>            # focus on one project

connect creates the agent's identity on your pod, gives it a key, and writes the client's configuration. For clients that read skill folders, it also installs the Synap skills.

TargetClient
claude-codeClaude Code (MCP and skills)
codexOpenAI Codex (MCP and skills)
cursorCursor
claude-desktopClaude Desktop
chatgptChatGPT, with an API-key connector
chatgpt-oauthChatGPT, through Control Plane OAuth (no key to paste)
raycastRaycast. See Raycast.
windsurf, zed, goose, opencode, openwebui, grokThose clients' MCP configuration
vscodeVS Code MCP extensions (Kilo Code, Cline, Continue, Copilot)
aideraider
genericAny other MCP client: prints a URL and key to paste

Clients you configure in a web UI

For ChatGPT, claude.ai and other clients configured in a browser:

synap mcp url --client chatgpt     # a dedicated key plus the URL and ready-to-paste snippets
synap mcp ui-setup cursor          # the exact form fields to fill in for a client
synap mcp connect-claude           # the claude.ai steps: paste a URL, approve in the browser

Your own agent

For an agent you wrote yourself:

synap agents add --name researcher

prints an MCP URL and a key for a new agent identity named researcher. --role admin|editor|viewer sets its workspace role (default editor).

Check the connection

synap mcp verify    # is /mcp reachable, and is the key valid
synap doctor        # does each configured key work, and why or why not
synap whoami        # who the key acts as, and its scopes
synap agents list   # your agents on this pod

What an agent can and cannot do

  • It works through MCP or the Hub REST API, with the scopes and grant of its key. See API keys to limit what it may change.
  • Its writes are proposals unless a rule you set lets that kind of write apply automatically. Deletes, admin actions and scope changes are always proposals.
  • It can never approve a proposal, its own or anyone else's.
  • It cannot create keys for other agents, widen its own approval rules, or give itself vault access.

On this page