HH

heypcb/heypcb-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

32 stars 5 forks 品質 87 トレンド 32MIT

AIエージェントのHeaPCB:Claudeコード、コーデックス、カーソル、claude.ai PCBエンジニアを与えるMCPサーバー。 @heypcb/mcp からのツイート

概要

AI エージェント向け HeyPCB HeyPCBをClaudeコード、Codex、Cursor、Claudeデスクトップに追加し、あなたのエージェントから本物のKicadボードを設計:HeyPCBのサーバーは、エンジニアリング(Inkyのデザインエージェント、部品、配置、ルーティング、DRC / ERC、ファブチェック)を行い、あなたのエージェントは、build board、get board、check board、およびエクスポートなどのいくつかの高レベルのツールを呼び出します。 または、エージェントは、HeyPCBの部品ライブラリ、実証済みの回路ブロックとチェックを使用してボード自体を設計します。search parts、get parts、add block、connect、get netlist、および部品と回路ツールの残りの部分は、set board outline、set board rules、 move parts、add ground pour、get board layout でレイアウトし、それをrefixed board board retails で確認します.

概要(AI 翻訳)

AI エージェント向け HeyPCB HeyPCBをクロードコード、コーデックス、カーソルまたはクロードに追加 デスクトップとあなたのエージェントから実際の KiCad ボードの設計: HeyPCB のサーバーは 工学(Inkyの設計代理店、部品、配置、ルーティング、DRC/ERC、 fab チェック) とエージェントは、以下のようないくつかの高レベルのツールを呼び出します。 build_board, get_board, [check_board], [[export]]. またはあなたの代理店 HeyPCBの部品ライブラリ、実績のある回路ブロックでボード自体を設計 search_parts, get_part, [add_parts], [add_block]], [[connect]], [[[get_part]]], [[[add_parts]]]], [[[[[add_block]]]]], [[connect]]]], [[[[connect]]]]], [[[[[[[[get_part]]]]], [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[add_parts]]]]]]]]]]]]]]、[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ get_netlistと部品と回路ツールの残りの部分は、それをレイアウトします [set_board_outline, set_board_rules, [move_part], [[lock_parts]], [add_ground_pour と get_board_layout] で、fab-ready に 次の[check_board:それを修正するすべての名前を見つける ([fixWith)). [preview_boardで作ったものを見る(コゼンレイヤー、 網および部品、開いた関係を強調しましたり、それをと測定します [inspect_net, inspect_part, [check_placement]], [[check_placement]]], [[[[check_placement]]]]], [[[[check_placement]]]]]], [[[[[[[check_placement]]]]]]]], [[[[[[[[[[[check_placement]]]]]]]]]])], [[[[[[[[[[[[[[[[[[[[[[[[[[[check_placement]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]、[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] set_placement_rules, rip_up_net], [add_pour]で銅を制御, [add_keepoutとstitch_vias]は、ボードの履歴をバックに行きます

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

@heypcb/mcp

HeyPCB for AI agents. Add HeyPCB to Claude Code, Codex, Cursor or Claude Desktop and design real KiCad boards from your agent: HeyPCB’s server does the engineering (Inky’s design agent, parts, placement, routing, DRC/ERC, fab checks), and your agent calls a few high-level tools such as build_board, get_board, check_board and export. Or your agent designs the board itself with HeyPCB’s parts library, proven circuit blocks and checks: search_parts, get_part, add_parts, add_block, connect, get_netlist and the rest of the parts and circuit tools, then lays it out with set_board_outline, set_board_rules, move_part, lock_parts, add_ground_pour and get_board_layout, and takes it to fab-ready by following check_board: every finding names the call that fixes it (fixWith). It sees what it built with preview_board (chosen layers, highlighted nets and parts, open connections), measures it with inspect_net, inspect_part and check_placement, says where parts go with set_placement_rules, controls copper with rip_up_net, add_pour, add_keepout and stitch_vias, goes back through the board’s history with list_history, restore_board and redo, and reads the playbook with get_guide.

Two ways to design

You say Your agent calls
Let HeyPCB design it “Build a USB-C powered board for …” build_board, get_board, check_board, export. HeyPCB’s server does the engineering: Inky’s design agent, parts, placement, routing, DRC/ERC and fab checks.
Let your agent design it “Add an LDO and wire it to the MCU” Parts and blocks: search_parts, get_part, add_parts, add_block, connect, get_netlist. Layout: set_board_outline, set_board_rules, move_part, lock_parts, add_ground_pour, get_board_layout. Then check_board until the board is fab-ready. Each finding names the call that fixes it (fixWith).

Quick start

HeyPCB runs the MCP server for you at https://api.heypcb.ai/mcp (Streamable HTTP, OAuth sign-in in your browser). Nothing to install:

claude mcp add --transport http heypcb https://api.heypcb.ai/mcp

claude.ai (as a custom connector) takes the same URL. Codex cannot sign in to the remote server (since codex-cli 0.165 it refuses an approve page on another origin than the issuer), so give Codex the local server below. One paste adds it and signs it in with a code:

codex mcp add heypcb -- npx -y @heypcb/mcp && npx -y @heypcb/mcp login

Which one do I need?

Remote server Local server (this package)
Install nothing Node.js 18+
All HeyPCB tools ✅ ✅
Work on a KiCad project in its own folder, edits synced back ❌ ✅ open_kicad_project
GitHub で README 全文を見る

インストール

npx -y @heypcb/mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "heypcb": { "command": "npx", "args": ["-y", "@heypcb/mcp"] } } }