Altium MCP工具 是 AI Skill Hub 本期精选MCP工具之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
Altium MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Altium MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/embedded-society/altium-designer-mcp
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"altium-mcp--": {
"command": "npx",
"args": ["-y", "altium-designer-mcp"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Altium MCP工具 执行以下任务... Claude: [自动调用 Altium MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"altium_mcp__": {
"command": "npx",
"args": ["-y", "altium-designer-mcp"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
Let an AI build your Altium libraries — it does the engineering, this tool writes the files.
An MCP server that gives AI assistants (Claude Code, Claude Desktop, Cursor, Antigravity, VS Code Copilot — any MCP client) file I/O and primitive-placement tools for Altium Designer .PcbLib (footprint) and .SchLib (symbol) libraries — so the AI can create and maintain any component, not just pre-programmed packages.
---
Prebuilt binaries for Linux (x86_64), macOS (aarch64) and Windows (x86_64) are on the Releases page — each archive bundles a setup README plus docs/CLIENT_SETUP.md, which wires the server into every MCP client we know of.
Claude Desktop users need no archive at all: install the one-click extension altium-designer-mcp.mcpb from the same page (older builds: the identical altium-designer-mcp.dxt) via Settings → Extensions → Advanced settings → Install Extension… — see CLIENT_SETUP.md § Claude Desktop.
In a container — for a Linux box, a NAS or a CI job that generates libraries into a mounted folder (Altium itself never needs to be inside): the repository's Dockerfile produces the same --locked release build as the published binaries.
docker build -t altium-designer-mcp .
docker run -i --rm -v /path/to/libraries:/libraries altium-designer-mcp
The mounted /libraries folder is the container's whole allow-list. In a client's configuration that is "command": "docker" with "args": ["run", "-i", "--rm", "-v", "/path/to/libraries:/libraries", "altium-designer-mcp"].
To build from source instead, see CONTRIBUTING.md § Development Setup; an optimised binary comes from cargo build --release and lands at target/release/altium-designer-mcp.
Client Setup — verified configuration for Claude Code, Claude Desktop, Google Antigravity, Cursor, VS Code, GitHub Copilot CLI, Windsurf, Cline, Roo Code, Kiro, JetBrains, Zed, Gemini CLI, Codex CLI, Continue, Goose, OpenCode and any other stdio MCP client, plus troubleshooting — on Windows, Linux, and macOS. Using the server — what to ask for once it is connected: example workflows, prompts and tips, identical for every client.
---
altium-designer-mcp [OPTIONS] [CONFIG_FILE]
| Option | Description |
|---|---|
CONFIG_FILE | Path to configuration file (optional, uses default location if omitted) |
--allow <DIR>... | Grant access to library folders directly (repeatable). Adds to the config file's allowed_paths, and works with no config file at all — the other settings then take their defaults |
-v, --verbose | Increase logging verbosity (-v info, -vv debug, -vvv trace) |
-q, --quiet | Decrease logging verbosity (only show errors) |
-h, --help | Print help information |
-V, --version | Print version information |
Altium-authored sample libraries are committed under scripts/samples/ as golden fixtures: the reader tests (tests/samples_pcblib.rs, tests/samples_schlib.rs) parse them in CI as ground truth. The PowerShell/DelphiScript tooling that (re)generates them needs a real Altium installation and is manual-only.
See scripts/README.md for details on the sample files and the on-site tooling.
---
The server reads one JSON file — or none: altium-designer-mcp --allow <DIR> grants folders on the command line and runs on defaults for everything else, which is how the Claude Desktop extension starts it. Configuration file location:
~/.altium-designer-mcp/config.json%USERPROFILE%\.altium-designer-mcp\config.json{
"allowed_paths": [
"/path/to/your/altium/libraries",
"/another/library/path"
],
"logging": {
"level": "warn"
}
}
| Option | Description |
|---|---|
allowed_paths | Array of directory paths where library files can be accessed; --allow adds to it (default when neither grants anything: the current working directory) |
logging.level | Log level: trace, debug, info, warn, error (default: warn) |
logging.audit_log_path | Path to an append-only JSON-lines audit log of destructive operations (default: null — no audit log is written) |
rate_limit.max_burst | Maximum burst of mutating operations before throttling; read-only tools are never rate limited (default: 120) |
rate_limit.refill_per_sec | Token-bucket refill rate for mutating operations, in tokens per second (default: 30.0) |
---
| Tool | Purpose |
|---|---|
[delete_component](docs/TOOLS.md#delete_component) | Delete one or more components. |
[copy_component](docs/TOOLS.md#copy_component) | Duplicate a component within a library. |
[rename_component](docs/TOOLS.md#rename_component) | Rename a component (atomic). |
[copy_component_cross_library](docs/TOOLS.md#copy_component_cross_library) | Copy a component to another library. |
[bulk_rename](docs/TOOLS.md#bulk_rename) | Pattern-based multi-rename. |
STEP models are attached, not generated. The tool links existing STEP files to footprints.
{
"step_model": {
"filepath": "./3d-models/0603.step",
"x_offset": 0,
"y_offset": 0,
"z_offset": 0,
"rotation": 0
}
}
Component names longer than 31 characters are supported. The OLE Compound File format limits storage names to 31 characters, so longer names are automatically truncated internally while the full name is preserved in component parameters. This is handled transparently — you can use any length component name and it will be preserved on read/write roundtrips.
---
| Tool | Purpose |
|---|---|
[diff_libraries](docs/TOOLS.md#diff_libraries) | Compare two library files. |
[compare_components](docs/TOOLS.md#compare_components) | Diff two specific components. |
Altium supports two ways to reference 3D models:
| Type | Storage | Portability |
|---|---|---|
| **Embedded** | STEP data stored inside the .PcbLib file | Fully portable — the model travels with the library |
| **External** | File path reference to a .step file on disk | Not portable — requires the file to exist at the referenced path |
When copying or merging components between libraries:
- Embedded models travel with the component — copy_component_cross_library and merge_libraries both copy the referenced model streams into the target (a model shared by several footprints is copied once), so the bodies still resolve after the move. - External model references: copy_component_cross_library removes them with a warning by default, since a path relative to the source library rarely resolves elsewhere — pass preserve_external_paths=true to keep them. merge_libraries carries them unchanged.
Embedding a model in the source library is the reliable way to keep 3D data through any copy.
高质量的开源MCP工具,AI辅助组件库管理
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
⚠️ GPL 3.0 — 强 Copyleft,衍生作品须开源,含专利保护条款,不可闭源使用。
经综合评估,Altium MCP工具 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | altium-designer-mcp |
| 原始描述 | 开源MCP工具:MCP server for AI-assisted Altium Designer component libraries management。⭐21 · Rust |
| Topics | mcpaialtiumrust |
| GitHub | https://github.com/embedded-society/altium-designer-mcp |
| License | GPL-3.0 |
| 语言 | Rust |
收录时间:2026-06-18 · 更新时间:2026-06-20 · License:GPL-3.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端