Model MCP
v3.0.0Revit MCP server. Agent install: https://sharafutdinovdi.github.io/revit-model-mcp/agent-install/
Values you need
| Variable | What it is | |
|---|---|---|
REVIT_MCP_HOST | required | Revit host: local PowerShell, ssh:<alias>, or an http://host:port or https://host:port endpoint. Default: local |
REVIT_MCP_REDACT_PATHS | optional | Set to 1 to replace document and nested model paths with file names. Disabled by default. Default: 0 |
REVIT_MCP_TOOLSETS | optional | Comma-separated toolsets whose tools are listed: all, core, read, actions, documents, views-sheets, family, links, cad-mep, export, batch, code. core is always included. Limits visibility only. Default all. Default: all |
REVIT_MCP_TOKEN | optional secret | HTTP bearer token from the workstation settings.json. Required only for http:// or https:// hosts; leave unset for local and SSH. |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add revit-model-mcp -e REVIT_MCP_HOST=local -- uvx revit-model-mcp==3.0.0Add to
claude_desktop_config.json{
"mcpServers": {
"revit-model-mcp": {
"args": [
"revit-model-mcp==3.0.0"
],
"command": "uvx",
"env": {
"REVIT_MCP_HOST": "local"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"revit-model-mcp": {
"args": [
"revit-model-mcp==3.0.0"
],
"command": "uvx",
"env": {
"REVIT_MCP_HOST": "local"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "REVIT_MCP_HOST",
"id": "revit-mcp-host",
"password": true,
"type": "promptString"
}
],
"servers": {
"revit-model-mcp": {
"args": [
"revit-model-mcp==3.0.0"
],
"command": "uvx",
"env": {
"REVIT_MCP_HOST": "${input:revit-mcp-host}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.revit-model-mcp]
command = "uvx"
args = ["revit-model-mcp==3.0.0"]
env = { "REVIT_MCP_HOST" = "local" }For AI agents
- Ask the user for: REVIT_MCP_HOST. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: revit_jobs, revit_compare_link_datums, revit_ping, revit_nwc_settings_check, revit_document_info, revit_documents, revit_ui_state, revit_api_lookup, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json