horizun-revit-mcp
AGENTS.md45 starsChanged 4 months agoApache-2.0View on GitHub
English · Español You are in the repository of Horizun Revit MCP: the MCP bridge between a client (Claude Code, Codex, any MCP client) and an Autodesk Revit running on this machine. Part of the Horizun Hub ecosystem. Estás en el repositorio de Horizun Revit MCP: el puente MCP entre un cliente (Claude Code, Codex, cualquier cliente MCP) y un Autodesk Revit corriendo en esta máquina. Parte del ecosistema Horizun Hub. The name is written Horizun — capital H, the…
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.
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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 31
If the user asked you to install it, this is the whole procedure.
- Distinctive: line 49
If it fails, preserve the error and installation log.
- Very specific: line 91
Do not retype it with %LOCALAPPDATA%: cmd.exe expands that variable and
- Very specific: line 151
Run scripts/chatgpt-tunnel.ps1 -Status.
- Distinctive: line 186
tools/list schemas are abridged, never incomplete: Every argument, kind and operation is there, but per-variant text is folded to keep the …
- Distinctive: line 207
The contract: no command reports work it did not verify.
- Distinctive: line 215
Typed first, Python as the fallback — never "not supported": Prefer a typed command whenever one fully covers the operation.
- Distinctive: line 311
No se descarga ningún ejecutable.
≈ “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
Horizun Revit MCP — guide for agents / guía para agentes
English · Español
You are in the repository of Horizun Revit MCP: the MCP bridge between a client (Claude Code, Codex, any MCP client) and an Autodesk Revit running on this machine. Part of the Horizun Hub ecosystem.
Estás en el repositorio de Horizun Revit MCP: el puente MCP entre un cliente (Claude Code, Codex, cualquier cliente MCP) y un Autodesk Revit corriendo en esta máquina. Parte del ecosistema Horizun Hub.
The name is written
Horizun— capital H, the rest lower case — every time it appears to a user, in any language. NeverHORIZUN, neverhorizunas a word. It is a brand, not an acronym and not shouting. The only upper-case forms that exist are the tool names (horizun_*, always lower case) and the environment-variable prefix (HORIZUN_REVIT_YEARand friends) — those are code identifiers, never how you refer to the product in prose.El nombre se escribe
Horizun— H mayúscula, el resto en minúscula — cada vez que aparece ante un usuario, en cualquier idioma. NuncaHORIZUN, nuncahorizuncomo palabra. Es una marca, no una sigla ni un grito. Las únicas formas en mayúscula que existen son los nombres de las herramientas (horizun_*, siempre en minúscula) y el prefijo de variables de entorno (HORIZUN_REVIT_YEARy demás) — esos son identificadores de código, no cómo te refieres al producto.
English
If the user asked you to install it, this is the whole procedure.
Install the published release (default)
For “install this repo” or “install everything necessary”, use the published installer. It includes the MCP server runtime and the add-ins; Git and the .NET SDK are not required. Check Windows, an installed Revit 2023–2027, and that Revit is closed first. Read the unsigned-release disclosure in README.md before using the explicit acknowledgement below.
powershell -ExecutionPolicy Bypass -File .\install-release.ps1 -AllowUnsignedThe bootstrap downloads the installer from the latest stable GitHub release, verifies its SHA-256 against that same release, installs it and schedules safe client registration. Report the durable installation status, including any pending client restart or first Revit start; exit code zero alone is insufficient. If it fails, preserve the error and installation log. Do not silently switch to source compilation or install a development SDK to work around a release failure.
Build from source (development or explicitly requested)
Everything is compiled from this tree, against the Revit already installed on this machine. No executable is downloaded.
Prerequisites — check them first; the script checks them too:
- Windows with at least one Revit 2023–2027 installed
(
C:\Program Files\Autodesk\Revit <year>\RevitAPI.dllexists). - The exact .NET SDK 10.0.400 on PATH (
dotnet --versionanswers), fixed byglobal.jsonso release bytes do not depend on the latest installed patch. Revit ≤ 2024 still builds against .NET Framework 4.8 — the SDK-style projects restore the reference assemblies from NuGet, so the Visual Studio targeting pack is NOT required when NuGet restore is available. Verified on a machine without the pack: 2024 compiled with zero warnings. Only a fully offline machine needs the pack itself. - Revit closed. The script refuses to run with Revit open and changes nothing when it refuses.
The command:
powershell -ExecutionPolicy Bypass -File .\install.ps1It detects the Revit years present, compiles the add-in for each against its own API, compiles the MCP server, installs everything, and verifies by reading every installed binary back (stamped commit + SHA-256 against what was staged). A build failure changes nothing; a later failure rolls back through its undo ledger and reports the exact state.
Resulting paths:
- Add-in:
%APPDATA%\Autodesk\Revit\Addins\<year>\Horizun\ - Server:
%LOCALAPPDATA%\Programs\Horizun\MCP\server\horizun-mcp.exe
Configure the MCP client
Use the EXACT path the installer printed, already expanded for this machine.
Do not retype it with %LOCALAPPDATA%: cmd.exe expands that variable and
PowerShell does not, so a config written that way points somewhere that does
not exist and the client shows no tools without saying why.
Installation and registration are two internal phases but one user action. Do not
rewrite the configuration of the Claude/Codex process that is currently running:
it may overwrite the edit when it exits. The installer runs
complete-install.ps1, which waits for active clients to close, registers beside
existing MCP entries, verifies the configuration, and completes
horizun_health after Revit's first start. Report the durable state from
%LOCALAPPDATA%\Horizun\install-status.json. The commands below are manual
recovery only.
# Claude Code — user scope makes it available across projects
claude mcp add --scope user horizun-revit -- "C:\Users\<you>\AppData\Local\Programs\Horizun\MCP\server\horizun-mcp.exe"
# Codex
codex mcp add horizun-revit -- "C:\Users\<you>\AppData\Local\Programs\Horizun\MCP\server\horizun-mcp.exe"# Codex timeout settings — %USERPROFILE%\.codex\config.toml
[mcp_servers.horizun-revit]
command = 'C:\Users\<you>\AppData\Local\Programs\Horizun\MCP\server\horizun-mcp.exe'
args = []
startup_timeout_sec = 120
tool_timeout_sec = 600// Cursor, Cline, Windsurf and other MCP clients
{
"mcpServers": {
"horizun-revit": {
"command": "C:\\Users\\<you>\\AppData\\Local\\Programs\\Horizun\\MCP\\server\\horizun-mcp.exe"
}
}
}Claude Desktop has its own route and does not need Claude Code. The Windows Setup is the universal installation path: it registers Codex and Claude Code when their configuration exists, and delivers the Claude Desktop extension to Documents\Horizun-Revit-MCP. The commands below are for a source checkout; installed recovery paths are in docs/CLIENTS.md:
pwsh -File scripts/install-claude-desktop-extension.ps1 -Extension # the .mcpb extension
pwsh -File scripts/diagnose-integrations.ps1 # all supported clients, one screenClaude Desktop installs a real Desktop Extension that names the same installed
stdio server as Codex and Claude Code. Its final Install Extension click is
inside Claude Desktop; the helper stages and validates the exact .mcpb and
records that pending action. docs/CLIENTS.md documents the universal installer,
every client-specific last step, and where an MSIX install really keeps
claude_desktop_config.json.
ChatGPT Work uses OpenAI's Secure MCP Tunnel and does not need either CLI.
Run scripts/chatgpt-tunnel.ps1 -Status; the helper names each remaining step,
protects the API key with Windows DPAPI and launches the same installed server.
TOML literal strings (single quotes) take Windows paths as written; JSON needs
every backslash doubled. Raise the tool timeout if your client has one: a
model_scan or a batch open holds Revit's UI thread for minutes, and a
60-second default abandons work that is still running — the bridge looks broken
when it is merely busy.
First Revit start — tell the user about this
- Without an already trusted local signing certificate, Revit will show a Security dialog. Choose Always Load after verifying the build. A source install reuses an explicitly created trusted self-signing certificate when one exists; that is local trust, not a public publisher identity. The dialog can open on another monitor — a Revit that has been "starting" for minutes with the CPU idle is often this dialog hiding.
- With a document open, a Horizun Hub tab appears in the ribbon. Its Connection status button (Estado de conexión on a Spanish Revit - every label follows Revit's own language) answers "is this working, and which version?" without leaving Revit. Advanced options opens one menu with the owner-local controls (BIM mode, action history, pause MCP, central protection), each shown with its current state.
Verify
With Revit open and the client restarted, call horizun_health. It must answer
status: healthy with the version and commit of the tree you compiled. A
"contract hash mismatch" error means one half is on an older build: close Revit
and run install.ps1 again.
How to work with the bridge
horizun_healthfirst, always. The commands act on the active document, and health is what tells you which one that is.- tools/list schemas are abridged, never incomplete. Every argument, kind and
operation is there, but per-variant text is folded to keep the list small. The exact
schema of one tool or one variant is the resource
horizun://contract/tools/{tool}/horizun://contract/tools/{tool}/{variant}, and a call that breaks the contract names the failing path and that URI. - Understand the objective before the first write, and say it back. A model is somebody's deliverable. Before the first typed write of a task you must know three things: WHAT outcome is wanted in the model, WHICH elements it applies to, and HOW the result will be recognised as correct. If any of the three is missing or reads two ways, ask — with options and their trade-offs, not an open question. Do not treat a missing instruction as permission to choose. One round of questions is cheap; a committed batch aimed at the wrong elements is not. Where the bridge itself cannot tell two readings apart it refuses rather than guesses; hold yourself to the same standard one level up. And when nobody is at the keyboard — a scheduled audit, a batch, the verification harness — state the ambiguity and do nothing, because a run that stops to ask has failed as surely as one that guessed.
- One command executes at a time, but concurrent calls are queued. Up to 16
requests wait in bounded FIFO order; the next receives explicit backpressure.
Cancelling removes work only before it starts. Use
horizun_submit_jobplushorizun_job_statusfor work that should outlive the MCP request. - The contract: no command reports work it did not verify. Every typed write
is re-read from the model after the commit.
horizun_execute_pythondoes not provide that guarantee at all, which is why scripts run through it verify their own work in the structured__output__and why what comes back is labelled self-reported: the states areself_reported_verified,completed_unverified,partial,failed. There is noverifiedon the Python path andhost_verifiedis always false — report it to the user as the script's testimony, not as the bridge's finding. - Typed first, Python as the fallback — never "not supported". Prefer a typed
command whenever one fully covers the operation. When none exists, or a failed
typed call returns
fallback.allowed: true— its machine-readable signal that no typed capability covers the request and nothing was written — generate minimal Revit Python and run it throughhorizun_execute_python(optionallypreflight=truefirst, then execute in the same task). Decide on that block, never on the wording of an error: no block, orallowed: false, means do not fall back. It arrives on the first, ordinary call —dry_rundefaults to true and the rehearsal publishes the verdict instructuredContentbeside its own payload, so a successful reply with invalid rows still carries it; you never need to senddry_run: falseto find out.write_started: truenever accompaniesallowed: true, because a typed write that failed mid-operation may have partially written and a Python retry would be a second write. A mixed batch never grants the fallback: if one action is uncovered and another has bad arguments,allowedis false and you getcapability_gapsnaming the uncovered indices — fix the invalid entries and resend the typed call first.target_documentplus the active-document check apply to Python exactly as to every typed write. - When a script opens models, read
dialogsbefore you report a failure. The bridge CANCELS every modal dialog raised during a script — nobody is at the keyboard — so all Revit tells the script isOpening was canceled, which is not a diagnosis. The reply carriesdialogsandfailuresbeside__output__, andrevit_raised(since)reads the same records from INSIDE the script, windowed to one call:len(revit_raised())before the open, the same number after it. Send long scripts ascode_pathrather than an inline string. To let ONE call continue past its dialog:with dialog_answer('dismiss'):— around that call only, never a whole run, because Revit reads OK on a close-with-changes dialog as Save. A model that will not open unattended remains a finding either way. horizun_execute_pythonis disabled by default. A fresh install usessafe_write: typed in-model writes are available, but arbitrary code is not. A client may callhorizun_request_python_accessto show the question in Revit, but only the machine owner can approve it. The Python ON/OFF button grants persistent access until that same user revokes it; the admin scriptscripts/enable-execute-python.ps1provides the same durable opt-in and-Disablerevokes it. Never edit settings to reverse the owner's choice. Compatible MCP clients refresh tools/list automatically after a change; restart once only when the client does not implement list-change notifications.- This bridge is organisation-neutral by design: no company's standards or catalogues are compiled in. Where a command needs one, it is passed as an argument. The delivery workflows built on top live in Horizun Hub.
- ISO 19650 is a standard, not an organisation's rule set, so its concepts are
modelled directly. On a new project, before the first write, offer the MCP prompt
project-intake:horizun_project_contextasks for what is missing (role, stage, EIR, BEP, MIDP/TIDP, CDE folders and approvers, naming, classification, IDS, georeference, delivery) and writes oneproject-context.json.horizun_information_containernames, seals and promotes containers across WIP/Shared/Published/Archived folders;horizun_deliver_ifcexports an IFC and proves it against IDS, a Pset mapping and its georeference. See docs/INFORMATION-MANAGEMENT.md.
Update
git pullClose Revit and run install.ps1 again. The server and the add-in share a
contract hash and are updated together; there is no partial deployment.
Uninstall
Close Revit and the MCP client, then uninstall Horizun Revit MCP from Windows
Installed apps. Before uninstalling, the installed server/client-tools/uninstall-cleanup.ps1
helper can remove only the named horizun-revit entries from Claude and Codex. State in %USERPROFILE%\.horizun\ and signing trust are preserved by
default; the helper purges either only when the user explicitly selects it.
Español
Si el usuario te pidió "instálalo", este documento es el procedimiento completo.
Instalar la versión publicada (opción habitual)
Ante «instala este repo» o «instala todo lo necesario», usa el instalador publicado. Incluye el runtime del servidor MCP y los add-ins; no necesita Git ni el SDK de .NET. Comprueba primero Windows, Revit 2023–2027 instalado y Revit cerrado. Lee el aviso sobre las releases sin firma en README.md antes de usar la aceptación explícita del siguiente comando.
powershell -ExecutionPolicy Bypass -File .\install-release.ps1 -AllowUnsignedEl bootstrap descarga el instalador de la última release estable de GitHub, comprueba su SHA-256 contra esa misma release, instala y programa el registro seguro de los clientes. Reporta el estado durable, incluido cualquier reinicio del cliente o primer arranque de Revit pendiente; un código de salida cero no basta. Si falla, conserva el error y el log. No cambies silenciosamente a compilación desde fuente ni instales un SDK de desarrollo para ocultar un fallo de la instalación publicada.
Compilar desde fuente (desarrollo o petición explícita)
Todo se compila desde este árbol, contra el Revit ya instalado en la máquina. No se descarga ningún ejecutable.
Requisitos — compruébalos antes; el script también lo hace:
- Windows con al menos un Revit 2023–2027 instalado
(
C:\Program Files\Autodesk\Revit <año>\RevitAPI.dllexiste). - El SDK exacto .NET 10.0.400 en el PATH (
dotnet --versionresponde), fijado porglobal.jsonpara que los bytes no dependan del último parche instalado. Revit ≤ 2024 sigue compilando contra .NET Framework 4.8 — los proyectos SDK-style restauran los reference assemblies desde NuGet, así que el targeting pack de Visual Studio NO hace falta cuando hay restauración de NuGet disponible. Verificado en una máquina sin el pack: 2024 compiló sin una sola advertencia. Solo una máquina totalmente offline necesita el pack como tal. - Revit cerrado. El script se niega a correr con Revit abierto y no cambia nada cuando se niega.
El comando:
powershell -ExecutionPolicy Bypass -File .\install.ps1Detecta los años de Revit presentes, compila el add-in para cada uno contra su propia API, compila el servidor MCP, lo instala todo, y verifica leyendo de vuelta cada binario instalado (commit estampado + SHA-256 contra lo stageado). Un fallo de compilación no cambia nada; un fallo posterior revierte con su libro de deshacer y reporta el estado exacto.
Rutas resultantes:
- Add-in:
%APPDATA%\Autodesk\Revit\Addins\<año>\Horizun\ - Servidor:
%LOCALAPPDATA%\Programs\Horizun\MCP\server\horizun-mcp.exe
Configurar el cliente MCP
Usa la ruta EXACTA que imprimió el instalador, ya expandida para esta
máquina. No la reescribas con %LOCALAPPDATA%: cmd.exe expande esa variable y
PowerShell no, así que una config escrita así apunta a un sitio que no
existe y el cliente no muestra herramientas sin decir por qué.
La instalación y el registro son dos fases internas pero una sola acción del
usuario. No reescribas la configuración del proceso de Claude/Codex que está
corriendo: puede pisar el cambio al cerrarse. El instalador ejecuta
complete-install.ps1, que espera a que cierren los clientes activos, registra
sin eliminar otros MCP, verifica la configuración y completa horizun_health
después del primer arranque de Revit. Reporta el estado durable de
%LOCALAPPDATA%\Horizun\install-status.json. Los comandos siguientes quedan
solo como recuperación manual.
# Claude Code — el scope user lo deja disponible en todos los proyectos
claude mcp add --scope user horizun-revit -- "C:\Users\<usuario>\AppData\Local\Programs\Horizun\MCP\server\horizun-mcp.exe"
# Codex
codex mcp add horizun-revit -- "C:\Users\<usuario>\AppData\Local\Programs\Horizun\MCP\server\horizun-mcp.exe"# Ajustes de timeout de Codex — %USERPROFILE%\.codex\config.toml
[mcp_servers.horizun-revit]
command = 'C:\Users\<usuario>\AppData\Local\Programs\Horizun\MCP\server\horizun-mcp.exe'
args = []
startup_timeout_sec = 120
tool_timeout_sec = 600// Cursor, Cline, Windsurf y otros clientes MCP
{
"mcpServers": {
"horizun-revit": {
"command": "C:\\Users\\<usuario>\\AppData\\Local\\Programs\\Horizun\\MCP\\server\\horizun-mcp.exe"
}
}
}Claude Desktop tiene su propia ruta y no necesita Claude Code. El Setup de Windows es la instalación universal: registra Codex y Claude Code cuando existe su configuración, y entrega la extensión de Claude Desktop en Documentos\Horizun-Revit-MCP. Estos comandos son para un checkout del código; las rutas de recuperación instaladas están en docs/CLIENTS.md:
pwsh -File scripts/install-claude-desktop-extension.ps1 -Extension # la extension .mcpb
pwsh -File scripts/diagnose-integrations.ps1 # todos los clientes soportadosClaude Desktop instala una extensión real que apunta al mismo servidor stdio
instalado que usan Codex y Claude Code. El último clic, Install Extension, se
hace dentro de Claude Desktop; el asistente prepara y valida el .mcpb exacto y
registra esa acción pendiente. docs/CLIENTS.md documenta el instalador universal,
el último paso de cada cliente y dónde guarda realmente
claude_desktop_config.json una instalación MSIX.
ChatGPT Work usa Secure MCP Tunnel de OpenAI y no necesita ninguno de los dos
CLI. Ejecuta scripts/chatgpt-tunnel.ps1 -Status; el asistente indica cada
paso pendiente, protege la clave API con Windows DPAPI y lanza el mismo servidor.
Comillas simples en TOML (cadena literal: las barras van tal cual); en JSON hay
que doblar cada barra. Sube el tool timeout si el cliente tiene uno: un
model_scan o una apertura por lote ocupa el hilo de UI de Revit durante
minutos, y un timeout de 60 s por defecto abandona trabajo que sigue corriendo
— el puente parece roto cuando solo está ocupado.
Primer arranque de Revit — avisa al usuario de esto
- Sin un certificado local de firma ya confiable, Revit mostrará un diálogo de Security. Tras verificar el build, hay que elegir Always Load. Una instalación desde fuente reutiliza el certificado autofirmado que el usuario haya creado y confiado explícitamente; eso no es identidad pública. El diálogo puede abrirse en otro monitor — un Revit que lleva minutos "arrancando" con la CPU quieta suele tener este diálogo escondido.
- Con un documento abierto aparece la pestaña Horizun Hub en la cinta. Su botón Estado de conexión (en un Revit en inglés, Connection status: todos los rótulos siguen el idioma del propio Revit) responde "¿está funcionando y qué versión?" sin salir de Revit. Opciones avanzadas abre un solo menú con los controles locales del dueño (modo BIM, historial de acciones, pausar MCP, protección central), cada uno con su estado actual.
Verificar
Con Revit abierto y el cliente reiniciado, llama a horizun_health. Debe
responder status: healthy con la versión y el commit del árbol que compilaste.
Un error de "contract hash mismatch" significa que una mitad quedó en un build
anterior: cierra Revit y vuelve a correr install.ps1.
Cómo trabajar con el puente
horizun_healthprimero, siempre. Los comandos actúan sobre el documento activo, y health es lo que te dice cuál es.- Los esquemas de tools/list están abreviados, nunca incompletos. Están todos los
argumentos, tipos y operaciones, pero el texto de cada variante se pliega para que la
lista sea corta. El esquema exacto de una herramienta o de una variante es el recurso
horizun://contract/tools/{tool}/horizun://contract/tools/{tool}/{variant}, y una llamada que rompe el contrato nombra la ruta que falla y esa URI. - Entiende el objetivo antes de la primera escritura, y devuélvelo dicho. Un modelo es el entregable de alguien. Antes de la primera escritura tipada de una tarea tienes que saber tres cosas: QUÉ resultado se quiere en el modelo, A QUÉ elementos aplica, y CÓMO se reconocerá que quedó bien. Si falta alguna de las tres o se lee de dos maneras, pregunta — con opciones y su contrapartida, no con una pregunta abierta. Que falte una instrucción no es permiso para elegir. Una ronda de preguntas es barata; un lote commiteado sobre los elementos equivocados no. Donde el puente mismo no puede distinguir dos lecturas, se niega en vez de adivinar; sostén ese mismo estándar un nivel más arriba. Y cuando no hay nadie al teclado — una auditoría programada, un lote, el harness de verificación — enuncia la ambigüedad y no hagas nada: una corrida que se detiene a preguntar ha fallado igual que una que adivinó.
- Se ejecuta un comando a la vez, pero las llamadas concurrentes se encolan.
Hasta 16 esperan en FIFO acotada; la siguiente recibe backpressure explícito.
La cancelación solo elimina trabajo antes de empezar. Usa
horizun_submit_jobyhorizun_job_statuspara trabajos largos. - El contrato: ningún comando reporta trabajo que no verificó. Toda escritura
tipada se relee del modelo tras el commit.
horizun_execute_pythonno ofrece esa garantía en absoluto, y por eso los scripts verifican su propio trabajo en el__output__estructurado y lo que vuelve se etiqueta como autorreportado: los estados sonself_reported_verified,completed_unverified,partial,failed. En la ruta Python no existeverifiedyhost_verifiedsiempre es false — repórtalo al usuario como testimonio del script, no como hallazgo del puente. - Tipado primero, Python como respaldo — nunca "no soportado". Prefiere un
comando tipado cuando cubra la operación completa. Cuando no exista, o una
llamada tipada fallida devuelva
fallback.allowed: true— su señal legible por máquina de que ninguna capacidad tipada cubre lo pedido y no se escribió nada — genera el Python de Revit mínimo y córrelo conhorizun_execute_python(si quieres,preflight=trueprimero y ejecuta en la misma tarea). Decide por ese bloque, nunca por cómo esté redactado un error: sin bloque, o conallowed: false, no caigas a Python. Llega en la primera llamada normal —dry_runviene en true y el ensayo publica el veredicto enstructuredContentjunto a su propio payload, así que una respuesta exitosa con filas inválidas también lo trae; nunca hace falta mandardry_run: falsepara enterarte.write_started: truenunca acompaña aallowed: true, porque una escritura tipada que falló a mitad pudo escribir parcialmente y un reintento en Python sería una segunda escritura. Un lote mixto nunca concede el fallback: si una acción no está cubierta y otra trae argumentos malos,allowedes false y llegancapability_gapscon los índices no cubiertos — corrige primero las entradas inválidas y reenvía la llamada tipada.target_documentmás el control de documento activo aplican a Python igual que a toda escritura tipada. - Cuando un script abre modelos, lee
dialogsantes de reportar un fallo. El puente CANCELA todo diálogo modal levantado durante un script —no hay nadie al teclado—, así que lo único que Revit le dice al script esOpening was canceled, que no es un diagnóstico. La respuesta traedialogsyfailuresjunto a__output__, yrevit_raised(since)lee los mismos registros DESDE DENTRO del script, acotados a una llamada:len(revit_raised())antes de abrir, ese mismo número después. Manda los scripts largos comocode_pathen vez de una cadena inline. Para dejar que UNA llamada continúe pese a su diálogo:with dialog_answer('dismiss'):— alrededor de esa llamada y nada más, nunca de una corrida entera, porque Revit lee OK en el diálogo de cerrar-con-cambios como Guardar. Un modelo que no abre desatendido sigue siendo un hallazgo igual. horizun_execute_pythonviene deshabilitado por defecto. Un cliente puede llamarhorizun_request_python_accesspara mostrar la solicitud en Revit, pero solo el dueño de la máquina puede aprobarla. El botón Python ON/OFF concede acceso persistente hasta que ese mismo usuario lo revoque; el scriptscripts/enable-execute-python.ps1ofrece el mismo opt-in durable y-Disablerevoca ambas rutas. Unenable_execute_python=falseexplícito o un perfil por debajo deunsafe_codesiempre se respeta, y no debes editarsettings.jsonpara revertirlo. Los clientes compatibles refrescan la lista automáticamente; reinicia solo si el cliente no implementa la notificación de cambio.- Este puente es neutral por diseño: no lleva estándares ni catálogos de ninguna organización compilados dentro. Donde un comando necesita uno, se pasa como argumento. Los flujos de entrega construidos encima viven en Horizun Hub.
- ISO 19650 es una norma, no las reglas de una organización, así que sus
conceptos se modelan directamente. En un proyecto nuevo, antes de la primera
escritura, ofrece el prompt MCP
project-intake:horizun_project_contextpregunta lo que falta (rol, fase, EIR, BEP, MIDP/TIDP, carpetas del CDE y quién aprueba, nomenclatura, clasificación, IDS, georreferencia, entrega) y escribe un únicoproject-context.json.horizun_information_containernombra, sella y promueve contenedores entre WIP/Compartido/Publicado/Archivado;horizun_deliver_ifcexporta un IFC y lo demuestra contra IDS, un mapeo de Psets y su georreferencia. Ver docs/INFORMATION-MANAGEMENT.md.
Actualizar
git pullCierra Revit y vuelve a correr install.ps1. El servidor y el add-in comparten
un hash de contrato y se actualizan juntos; no hay despliegue parcial.
Desinstalar
Cierra Revit y el cliente MCP, y desinstala Horizun Revit MCP desde
Aplicaciones instaladas de Windows. Antes, el asistente instalado server/client-tools/uninstall-cleanup.ps1
puede quitar únicamente las entradas horizun-revit de Claude y Codex. El estado en %USERPROFILE%\.horizun\ y la
confianza de firma se conservan por defecto; el helper solo purga cada uno si el
usuario lo selecciona explícitamente.
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.

