kicad-mcp-pro / integrations
AGENTS.md117 starsChanged 5 months agoMITView on GitHub
These instructions apply to integrations/** and supplement the repository root AGENTS.md. More specific instructions may exist for an individual runtime. This subtree contains runtime-specific MCP configuration examples, installers, validation helpers, and optional client plugins. It adapts KiCad MCP Pro to external agent/IDE configuration formats; it must not invent a second MCP capability or security model. Keep these surfaces aligned when they describe the same behavior: Do not assume different runtimes share the same config schema. Preserve each client's native format…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- src-tauri/AGENTS.mdAGENTS.md
- docs/llms.txtllms.txt
- code-reviewSkill
- drc-checkSkill
- fabrication-outputSkill
- kicad-design-reviewSkill
- pcb-designSkill
- schematic-reviewSkill
- visual-excellenceSkill
- wired-subcircuit-designSkill
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 1 is common, 9 are distinctive, and 2 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Keep these surfaces aligned when they describe the same behavior:
- Distinctive: line 27
Do not assume different runtimes share the same config schema.
- Distinctive: line 31
Default examples should remain read-only/least-privileged unless the runtime-specific documentation explicitly explains a stronger mode.
- Distinctive: line 32
Never embed real API tokens, bearer tokens, customer paths, or private project data in examples.
- Common: line 33
Use environment-variable references for remote credentials where supported.
- Very specific: line 34
Do not enable mutation/destructive/manufacturing capabilities merely for setup convenience.
- Distinctive: line 35
Keep profile and operating-mode concepts distinct: profile controls discovery.
- Distinctive: line 37
Do not hard-code expert catalog sizes in prose.
- Distinctive: line 44
Do not overwrite unrelated client settings.
- Distinctive: line 46
Use argv-based process execution for external CLIs.
- Very specific: line 53
Do not make an experimental plugin a hidden requirement for the base MCP configuration.
- Distinctive: line 66
Use the runtime's own validator/doctor when the change is specific to a client.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Runtime Integration Instructions
These instructions apply to integrations/** and supplement the repository root AGENTS.md. More specific instructions may exist for an individual runtime.
Boundary
This subtree contains runtime-specific MCP configuration examples, installers, validation helpers, and optional client plugins. It adapts KiCad MCP Pro to external agent/IDE configuration formats; it must not invent a second MCP capability or security model.
Read first:
docs/agent-runtime-config.mddocs/agents/index.mddocs/agents/compatibility.mddocs/agents/security.mddocs/agents/progressive-disclosure.md
Configuration source discipline
Keep these surfaces aligned when they describe the same behavior:
- runtime-specific example files under
integrations/<runtime>/; - top-level project examples such as
.mcp.json,.codex/,.vscode/, andopencode.example.jsonc; integrations/common/install-kicad-mcp.mjs;integrations/common/validate-mcp-config.py;- runtime documentation under
docs/agents/anddocs/agent-runtime-config.md.
Do not assume different runtimes share the same config schema. Preserve each client's native format and permission vocabulary.
Safety defaults
- Default examples should remain read-only/least-privileged unless the runtime-specific documentation explicitly explains a stronger mode.
- Never embed real API tokens, bearer tokens, customer paths, or private project data in examples.
- Use environment-variable references for remote credentials where supported.
- Do not enable mutation/destructive/manufacturing capabilities merely for setup convenience.
- Keep profile and operating-mode concepts distinct: profile controls discovery; operating mode controls execution risk.
Do not hard-code expert catalog sizes in prose. Point to generated profile/toolset evidence when counts matter.
Installer behavior
Installer changes affect user configuration and filesystem state.
- Preserve existing user config backup/merge semantics.
- Do not overwrite unrelated client settings.
- Validate scope/path handling before writing.
- Use argv-based process execution for external CLIs; do not introduce shell interpolation around user-controlled values.
- Installation success is not proof the MCP server or live KiCad runtime is healthy; keep doctor/diagnostic verification explicit.
Optional plugins
Client plugins are optional integration layers unless repository policy explicitly promotes them.
Do not make an experimental plugin a hidden requirement for the base MCP configuration. Plugin commands must preserve the same read/write/manufacturing safety model as the server.
Verification
For integration/config changes run the relevant targeted tests plus:
python integrations/common/validate-mcp-config.py
pnpm run profiles:check
pnpm run toolsets:check
task pre-pushUse the runtime's own validator/doctor when the change is specific to a client. Before handoff, run the repository's normal verification appropriate to the changed files.
Definition of done
An integration change is complete only when examples, installer behavior, permission defaults, docs, validation, and server profile/mode semantics remain aligned.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

