Connect
You need a DeepPCB API key: see Getting your API key. Every call runs as the user who owns the key and sees only that user’s boards.
- Claude Code
- Cursor
- Codex
- Gemini CLI
- VS Code
$DEEPPCB_API_KEY once, when you run the command, and Claude Code stores the key in its own configuration (~/.claude.json).Authorization header works the same way.
Clients that connect only through OAuth sign-in, such as claude.ai and ChatGPT connectors, are not supported yet.
How it behaves
- Boards come in by URL.
create_boardtakes links to your board files and the server downloads them. It cannot read files from your computer, so upload a local file first (see below). Public links and short-lived signed links both work. - Destructive changes ask first. Tools that can remove work (placing a board, routing over existing copper, clearing routing) refuse the first call and report what would change. Your agent calls again with
confirm_destructive_change=trueand theconfirmation_tokenfrom the refusal to go ahead. If the board changed in between, the call is refused again with fresh counts. - Runs are asynchronous.
route_boardandplace_boardstart a run and return straight away. Follow it withget_board_progressand stop it withstop_board. - Every tool is annotated. Read-only, destructive and idempotent hints are set on every tool, so your client can decide what to confirm with you.
- Errors explain themselves. A refused or invalid call says what was wrong and how to fix it.
- Fair use. The endpoint is rate limited. A call refused for rate is safe to retry after a short wait.
Using a board file from your computer
MCP cannot carry a file’s contents, and the hosted server cannot see your disk. Upload the file to DeepPCB first. The upload answers with a signed link, valid for 24 hours, thatcreate_board accepts:
board_name to create_board (for example the local file’s name), or the board is named after the stored copy.
Agents that can run shell commands (Claude Code, Cursor, Codex and similar) do both steps on their own: create_board tells them how. Upload each file of a multi-file design (for example a KiCad .kicad_pcb and its .kicad_pro) separately and pass all the links together.
Accepted file types: .dsn, .dsgf, .ftf, .rulf, .pcbdoc, .json, .kicad_pcb, .kicad_pro. See Supported Formats.
Tools
Your client lists every tool with its full description and input schema. The main groups are:
A few older tools with TitleCase names (
Route, Place, Get_board_progress and others) are kept for existing integrations and are deprecated. Each one’s description names its replacement.