# easyeda-agent MCP Local stdio MCP adapter over the existing `easyeda` CLI/daemon. It exposes 11 tools: connection health, action discovery, one tool for each of the seven safe action domains, circuit blocks, and the guarded workflow state machine. The arbitrary-JavaScript debug domain is deliberately not exposed. ```bash npm ci --ignore-scripts EASYEDA_BIN=/absolute/path/to/easyeda npm test EASYEDA_BIN=/absolute/path/to/easyeda npm start ``` Codex registration: ```bash codex mcp add easyeda-agent \ --env EASYEDA_BIN=/absolute/path/to/easyeda \ -- node /absolute/path/to/mcp/src/server.mjs ``` The MCP process does not access EasyEDA directly. Mutations still pass through the Go daemon, connector, workflow gates, audit log, and official `eda.*` API. Mutating typed actions require both `project` and `doc`; use `easyeda_actions` before calling a domain tool to inspect its typed payload. Workflow operations use structured MCP fields instead of accepting arbitrary CLI options. After registration, restart the MCP client so it discovers the new server. Run `easyeda_health` first, then use `easyeda_actions` to select the exact typed action. The Skill's inspect-before-mutate, save, reload, DRC, and workflow-gate rules continue to apply to MCP calls. ## DeepSeek Harness (DSH) 集成 DSH 原生支持 skill 与 MCP client 两种形态,本仓库两者都已具备,接入是配置级 工作:详见 [`docs/dsh-integration.md`](../docs/dsh-integration.md)。要点:skill 软链到 `~/.dsh/skills/` 即被发现;MCP 在 profile 的 `cordis.patch.yml` 加一个 `@deepseek-ai/dsh-mcp-client` 实例(`serverName: easyeda`,指向本目录 `src/server.mjs`)即可,工具以 `mcp__easyeda__easyeda_*` 命名。注意 in-box 插件无需 pnpm 安装(fallback 从 dsh 安装目录解析),profile 里误装旧版会遮蔽 fallback。