Archicad MCP
Provides tools for interacting with Archicad through the Tapir add-on, enabling reading project data such as walls, slabs, zones, properties, and stories; finding and selecting elements; creating walls, slabs, and zones; editing properties; deleting elements; and running additional Tapir commands with configurable safety modes.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Archicad MCP show me all the walls on the ground floor and their thickness"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Archicad MCP
MCP-сервер для Archicad через аддон Tapir. Даёт модели проектные данные (стены, плиты, зоны, свойства, этажи) и умеет строить и править модель, не заваливая её контекст семьюстами схемами.
Что нужно
Archicad 25–30 (поддерживается установленным Tapir).
Аддон Tapir 2.0 внутри Archicad: ставится инсталлятором с релиз-страницы, после установки аддон нужно один раз включить в
Options → Add-On Manager: строка «Tapir Additional JSON Commands», галочка слева. Сам файл лежит вProgram Files\Graphisoft\Archicad NN\Add-Ons\Tapir\TapirAddOn_ACNN_Win.apx.Python 3.11+ для самого сервера.
Tapir слушает 127.0.0.1:19723–19743 — первый запущенный Archicad занимает 19723, следующий
свободный. Сервер сам находит живой порт при первом вызове.
Related MCP server: archicad-mcp
Установка
python -m venv .venv
.venv\Scripts\python.exe -m pip install -e .Проверка, что пакет жив (Archicad не нужен):
.venv\Scripts\archicad-mcp.exe --list-toolsПодключение
{
"mcpServers": {
"archicad": {
"command": "D:\\path\\to\\Archicad MCP\\.venv\\Scripts\\archicad-mcp.exe",
"env": { "ARCHICAD_MCP_MODE": "safe" }
}
}
}Переменные окружения:
Переменная | По умолчанию | Что делает |
|
|
|
| — | прибить один порт вместо перебора |
|
| адрес |
|
| таймаут одного вызова, секунды |
|
| сколько символов ответа отдавать целиком |
Режимы
Режим | Чтение | Изменения | Разрушающее (Delete*, Quit, Close) |
| да | отказ | отказ |
| да | да | только dry-run, применение — по |
| да | да | как есть |
Интерактивные команды (GetPointFromUser, диалоги, ScriptUI) блокируются везде, кроме full:
они останавливаются и ждут клика в Archicad, то есть подвешивают вызов.
Инструменты
Чтение и состояние: archicad_status, project_info, stories, find_elements,
selected_elements, element_details.
Свойства: search_properties, get_property_values, set_property_values, resolve_names.
Свойства задаются именами — сервер сам достаёт id через SearchProperties.
Имена свойств Tapir отдаёт внутренние, без пробелов: ElementID, Home Story, Type, группа
GeneralElemProperties. С пробелом тоже можно: Element ID найдётся, сервер сравнивает имена
без пробелов и знаков.
Создание и правка: create_walls, create_slabs, create_zones, select_elements,
delete_elements.
Остальные ~770 команд Tapir (публикация, IFC, сметы, навигатор, MEP, отделки):
search_commands("publish pdf")— найти (у каждой находки естьkind: read / write / destructive / interactive);describe_command("PublishPublisherSet")— прочитать аргументы, форму ответа и строкуPolicy:о том, что текущий режим сделает с этой командой;run_command("PublishPublisherSet", {...})— вызвать.
Большие ответы обрезаются до бюджета, в них остаётся блок _truncated с resultId, total и
showing. Дальше read_result(result_id, offset, limit) — постраничное чтение.
Аргументы проверяются до отправки: если у команды нет такого аргумента, ответ будет
CreateWalls does not take dryRun. Accepted arguments: wallsData. вместо ответа Archicad
о нарушении правила JSON-схемы. Важная деталь: dryRun поддерживают не все команды — у
CreateWalls его нет, у DeleteElements и SetPropertyValuesOfElements есть.
find_elements и selected_elements отдают готовые guid-строки, их можно сразу передавать в
element_details, get_property_values, select_elements, delete_elements.
Как это устроено
defs.py— читает вендоренные определения Tapir (src/archicad_mcp/tapir/*.js, 789 команд), разворачивает$ref, печатает сигнатуры.client.py— HTTP к Archicad: обёрткаAPI.ExecuteAddOnCommand, поиск порта, человеческие ошибки (NotRunning,AddOnMissing,TimedOut,PortNotTapir,CommandFailed).classify.py— политика режимов.compact.py— обрезка ответов и хранилище полных версий.search.py— BM25 по именам и описаниям команд.tools.py— сами инструменты,server.py— регистрация в MCP.
Тесты
.venv\Scripts\python.exe -m pytest -qАрхикада в тестах нет: FakeTransport из tests/conftest.py отвечает вместо него, поэтому
проверяется логика сервера, а не живой Archicad. Живой прогон — первый запуск через MCP-клиент.
Проверено на живом Archicad
Archicad 26.0.0 R1 (build 5002) + Tapir 2.0.0, на настоящем рабочем проекте:
python scripts\live_check.py{"port": 19723, "tapirAddOn": "2.0.0", "archicad": 26, "archicadBuild": 5002,
"language": "RUS", "mode": "safe", "connected": true, "commandsAvailable": 789}Что это дало по фактам, а не по документации:
Язык приходит полем
languageCode, а неlanguage.GetElementsByTypeв пустом проекте честно отдаёт пусто; в реальном — столько, сколько есть объектов нужного типа.GetPropertyValuesOfElementsотвечает без id свойств, значения идут в том же порядке, в котором их спросили, — сервер раскладывает их по именам сам.Имена свойств внутренние:
ElementID,Type, группаGeneralElemProperties.CreateWallsне принимаетdryRun, поэтому превью создания стены невозможно: проверка только через аргументы и ответ Archicad.ChangeSelectionOfElementsиGetSelectedElementsработают:{"action":"added","requested":3,"done":3}, затем{"count":4,...}— четвёртый элемент уже был выделен до вызова.DeleteElementsсdryRunотвечает{"requested":1,"done":1}и строкойNote: … was previewed only: dryRun was switched on. Nothing changed.CreateWallsработает: две стены (0,0)→(5,0) и (0,0)→(0,5) сfloorIndex: 0,height: 3,thickness: 0.2,structureType: "Basic"появились в проекте, получили idСТН-003иСТН-004и читаются обратно черезelement_details(..., ["details"])теми же координатами.Геометрия лежит не в отдельном поле, а внутри
details:fieldsпринимает толькоelementId,type,id,floorIndex,layerIndex,drawIndex,details,floorPlanPolygons,hotlinkId. Просьбаfields: ["begCoordinate"]теперь ловится до отправки и перечисляет допустимые значения.
Когда Archicad занят
Пока в Archicad открыт модальный диалог, аддон отвечает на всё одной и той же ошибкой:
{"succeeded": false, "error": {"code": 4001,
"message": "Invalid program status (there is an open modal dialog: Параметры Объекта по Умолчанию)"}}Падает даже проба GetAddOnVersion, поэтому раньше сервер честно врал «аддон не установлен».
Теперь он различает эти случаи и пишет:
{"error": "Archicad has a dialog open (Параметры Объекта по Умолчанию), so it cannot run commands.",
"hint": "Close the dialog in Archicad, then call again. Nothing was changed."}Повтора нет: пока диалог открыт, любой вызов упрётся в то же самое. Для чтения сервер делает один
тихий повтор на случай, когда Archicad занят предыдущей командой; для изменения — никогда, потому
что повторный DeleteElements может удалить уже другое.
Ограничения
Tapir 1.x не поддерживается: используются команды, появившиеся в 2.0.
На живом Archicad 26 проверены состояние, проект, этажи, поиск элементов, выделение, детали, свойства,
resolve_names, превью удаления, создание стен и люкrun_command.create_slabsиcreate_zonesпроверены только схемой и фейком: для плиты нужен полигон с уровнем, для зоны — категория и геометрия, и проверять их лучше на черновом проекте.create_wallsпринимает данные Tapir как есть (метры,begCoordinate/endCoordinate), без разбора PDF или DWG.
Available Tools
19 toolsarchicad_statusA
Check the connection to Archicad: port, Tapir add-on version, Archicad version and this server's mode. Call this first.
Inputs: no named parameters.
create_slabsC
Create slabs from a level and a polygon of at least three points.
Inputs: slabs (required).
create_wallsC
Create walls from Tapir wall data: start/end points, height, thickness or a favourite. Coordinates in metres.
Inputs: walls (required).
create_zonesC
Create zones (rooms) with a name, category and geometry.
Inputs: zones (required).
delete_elementsB
Delete elements. Previews with a dry run unless confirm=true.
Inputs: elements (required), confirm.
describe_commandA
The arguments, types and answer shape of one command -- read this before run_command. verbose=true prints the whole input schema.
Inputs: name (required), verbose.
element_detailsB
Details of given elements: type, floor, layer, geometry. Fields are one of elementId, type, id, floorIndex, layerIndex, drawIndex, details, floorPlanPolygons, hotlinkId; geometry (begCoordinate, height, thickness) lives inside 'details'. Leave fields empty for everything, which is slow.
Inputs: elements (required), fields.
find_elementsB
Find elements of one type (Wall, Slab, Zone, Door, ...) and get their ids. Optional filters such as IsVisibleIn3D.
Inputs: element_type (required), filters.
get_property_valuesA
Read property values for elements as a table. Pass property NAMES, not ids; si_units=true gives locale-independent numbers.
Inputs: elements (required), properties (required), si_units.
project_infoB
The open project: name, path, location, untitled/Teamwork flags.
Inputs: no named parameters.
read_resultA
Page through a big answer that was trimmed: pass the resultId from its _truncated block and an offset.
Inputs: result_id (required), limit, offset.
resolve_namesC
Look up what a name means in this project (story, layer, property, element type, classification, surface...). Use instead of guessing names.
Inputs: names (required).
run_commandB
Run any Tapir command by name with a JSON object of arguments. Destructive commands are previewed unless confirm=true.
Inputs: name (required), confirm, arguments.
search_commandsB
Find any of the 789 Tapir commands by what you want to do, e.g. 'publish pdf' or 'renovation filter'. The entry point for everything not covered above.
Inputs: query (required), group, limit.
search_propertiesA
Find property definitions by name or group; returns the ids used by the property tools. Example: query='fire rating'.
Inputs: group, limit, query.
selected_elementsC
The elements currently selected in Archicad.
Inputs: no named parameters.
select_elementsC
Add elements to (or remove them from) the Archicad selection.
Inputs: elements (required), add.
set_property_valuesA
Write property values on many elements at once from {property name: value}. Dry run by default -- pass dry_run=false to apply.
Inputs: values (required), elements (required), dry_run.
storiesB
The project's stories (levels): indices, levels, heights.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools have clearly distinct purposes: discovery (find_elements), detail retrieval (element_details), and modification (set_property_values, create_*) are separable. The generic search_commands/describe_command/run_command trio intentionally overlaps with all specialized tools, but descriptions position it as the fallback for uncovered operations.
Most tools use a predictable verb_noun pattern (find_elements, create_walls, set_property_values), while read-only context tools use noun phrases (project_info, stories, element_details). This split is mostly coherent, though some names like selected_elements and element_details are less formulaic.
19 tools is on the higher side but justified for a complex CAD domain with both specialized helpers and a generic Tapir command escape hatch. Each tool covers a meaningful slice, and the generic command tools prevent the need for dozens of narrowly scoped wrappers.
The surface covers connection status, project context, element discovery/details, property read/write, selection, deletion, and creation for walls, slabs, and zones. Additional operations such as moving or editing geometry beyond properties are not explicit, but search_commands plus run_command provide a broad fallback for the remaining Tapir API.
Maintenance
Related MCP Connectors
Connect your AI assistant to Blender for 3D modeling, Geometry Nodes, materials, lighting, animation, rendering and export. Inspect real scenes and viewport images, refine the result and restore checkpoints. OAuth connects your chat to Blender Bridge Desktop on an online Windows 10/11 x64 computer running Blender 4.2+. The chat can run on another device. Requires an active Blender Bridge account; 7-day trial available. AI model access is separate.
Design buildings as IFC4 BIM models from a brief: an AI architect that plans, builds and edits.
Build, check, and export parametric CAD models in your ForgeCAD Projects from your AI agent.
Connect AI assistants to your Mac and Linux computers with scoped access to local files and tools.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients like Claude to interact with Graphisoft Archicad through the Tapir add-on's JSON commands. Supports automated Archicad operations and custom tool integration for architectural design workflows.41MIT
- AlicenseAqualityBmaintenanceMCP server for Archicad automation, enabling AI assistants to run Python scripts against running Archicad instances via the Tapir JSON API for complex workflows.4269 PyPI8MIT
- AlicenseAqualityAmaintenanceA bridge allowing AI agents to control Archicad projects via dynamically generated tools from the Tapir and official Archicad JSON APIs.52,352 PyPI144MIT
- FlicenseAqualityBmaintenanceRead-only MCP bridge for Archicad using the Tapir Add-On, enabling discovery, context binding, and safe read operations on Archicad projects.8-