Skip to content

MCP

Connectors. PiCode writes the files the MCP adapter package reads.

  • Where: Agent CLIs → Pi → Connectors.
  • Not this: Pi does not speak MCP itself. Without the adapter, Connectors is one line and Open packages — it does not write files.

Canonical: pi-mcp-adapter (install as npm:pi-mcp-adapter).

  1. Agent CLIs → Pi → Packages → This machine → install npm:pi-mcp-adapter.
  2. Agent CLIs → Pi → ConnectorsMarketplace. Search the catalog, set Save to (machine, workspace or agent), and press Add. Docs on a card opens that connector's own page (PiCode's cookbook for the seed; the vendor site or repository for the rest). PiCode's own connectors sit at the top; the rest is a curated slice of the official MCP Registry. Custom server… takes a command or URL by hand.
  3. Every agent CLI has the same Connectors pane — Agent CLIs → <cli> → Connectors writes that CLI's own config file.
  4. A row shows Live or Failed while an agent is running; with the agent stopped the pane says so once instead of guessing. Sign in appears on the row until the login exists; ••• holds Sign out and Remove (the confirmation names the file it deletes from).
  5. Sign in opens the server's login page as soon as you Add or turn it On (hidden once you are signed in). Approve there — the tab returns to PiCode on its own, same as Claude/Codex. You do not need to run an agent first. One login is reused by every agent on this machine. Sign out forgets that login on this machine.

Clicking an agent in the sidebar leaves this page and opens that agent.

TargetFile
This machine~/.pi/agent/mcp.json
This workspace<folder>/.mcp.json
This agentonly if the agent has its own work folder (<work>/.pi/mcp.json)
pi TUIPiCode
Adapterpi install npm:pi-mcp-adapterPackages
Serversedit JSONAgent CLIs → Connectors
Import Cursor/Claude/Codexadapter CLIthe CLI has its own Connectors pane — add the same service there

No adapter → Connectors is one line and Open packages. It does not write files. The page works with a terminal selected; it does not need an agent open.

Cookbook

The connectors PiCode ships a path for. Each page is install, sign-in if any, and how to revoke. Anything else: Custom server… in Marketplace.

ConnectorWhat it is
GmailRead, draft and send mail. Credentials stay in ~/.gmail-mcp/, not in PiCode.
DeepWikiPublic GitHub documentation. No account.
PiCode · Computer, PiCode · BrowserPiCode's own tools for Claude Code, Codex and the other CLIs. No account; the switch is in Settings.

Webhooks are not MCP: Integrations.