
Archicad MCP 服务器实现
概览
Archicad-MCP 是一个 。它允许 AI 客户端读取并修改一个开放的 Archicad 项目。 它使用插件及其 JSON 命令。每个 Tapir 命令都集成一个工具,自动由 Tapir 命令定义构建。每个命令都不是手工编写的。 - Archicad 25 至 29 - Tapir Archicad 插件 - uv,一个运行 Python 程序的小型工具 请从Tapir发布页面下载你Archicad版本的插件,并按照说明操作。本仓库提供Tapir的定义。 按照UV安装指南操作。只需一个命令,无需其他设置。 在文本编辑器中打开Claude Desktop配置文件: - Windows:%APPDATA%\Claude\claude_desktop_config.json- macOS:~/Library/Application Support/Claude/claude_desktop_config.json 没有什么可下载的。把这个块粘贴到配置文件里。UVX自带UV。第一次启动时它会获取服务器和所需信息,可能需要一分钟。
概述(AI 翻译)
archicad-mcp 是 Graphisoft Archicad 的 MCP 服务器**。它允许像 Claude Desktop 这样的 AI 客户端读取并更改一个开放的 Archicad 项目。
它使用Tapir插件及其JSON命令。每个Tapir命令都变成一个工具,自动由Tapir命令定义构建。每个命令都不是手工编写的。
要求
- Archicad 25至29
- 貘Archicad附加组件
- uv,一个运行 Python 程序的小型工具
安装
1.安装貘
从Tapir发布页面下载你Archicad版本的插件,并按照说明操作。本仓库提供Tapir 1.5.9的定义。
2.安装UV
按照UV安装指南操作。只需一个命令,无需其他设置。
3.将 archicad-mcp 添加到 Claude Desktop
在文本编辑器中打开Claude Desktop配置文件:
- 窗口:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
请选择以下两个选项中的一个。
选项A:快速安装
没什么可下载的。把这个块粘贴到配置文件里。uvx 自带 UV。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
archicad-mcp
archicad-mcp is an MCP server for Graphisoft Archicad. It lets AI clients like Claude Desktop read and change an open Archicad project.
It uses the Tapir add-on and its JSON commands. Every Tapir command becomes one tool, built automatically from the Tapir command definitions. Nothing is written by hand per command.
Requirements
- Archicad 25 to 29
- The Tapir Archicad Add-On
- uv, a small tool that runs Python programs
Installation
1. Install Tapir
Download the add-on for your Archicad version from the Tapir releases page and follow the instructions there. This repository ships the definitions of Tapir 1.5.9.
2. Install uv
Follow the uv installation guide. One command, no other setup.
3. Add archicad-mcp to Claude Desktop
Open the Claude Desktop config file in a text editor:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Pick one of the two options below.
Option A: Quick install
Nothing to download. Paste this block into the config file. uvx comes with uv. On the first start it fetches the server and everything it needs, which can take a minute.
{
"mcpServers": {
"archicad-mcp": {
"command": "uvx",
"args": ["--from", "git+https://github.com/lgradisar/archicad-mcp", "archicad-mcp"]
}
}
}
Option B: From source
Use this if you want to read or change the code.
git clone https://github.com/lgradisar/archicad-mcp.git
cd archicad-mcp
uv sync
Then paste this block, with YOUR_DIRECTORY replaced by the full path to the archicad-mcp folder. On Windows write the path with forward slashes, for example C:/Users/you/archicad-mcp:
{
"mcpServers": {
"archicad-mcp": {
"command": "uv",
"args": ["run", "--directory", "YOUR_DIRECTORY", "archicad-mcp"]
}
}
}
If Claude Desktop says it cannot find uvx or uv, write the full path to the program as command. Find it with where uvx on Windows or which uvx on macOS.
To update a quick install later, run uv cache clean archicad-mcp and restart Claude Desktop. To update a source install, run git pull and uv sync in the folder.
4. Restart Claude Desktop
Open a project in Archicad, then ask Claude to run TestConnection. It answers with the Archicad and Tapir versions. The tools are listed behind the tools icon in the chat box of Claude Desktop.
Settings
Settings are optional. They go into an "env" block in the config entry:
"env": { "ARCHICAD_MCP_MODE": "safe", "ARCHICAD_MCP_GROUPS": "project,element,property,navigator" }
| Setting | Default | What it does |
|---|
安装
uvx --from git+https://github.com/lgradisar/archicad-mcp archicad-mcp配置
{
"mcpServers": {
"archicad-mcp": {
"command": "uvx",
"args": ["--from", "git+https://github.com/lgradisar/archicad-mcp", "archicad-mcp"]
}
}
}