Skip to content
MCP server

Model MCP

Ask questions about, audit and edit a live Autodesk Revit model through MCP

Runs locally

Model MCP is a free MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Free
Platforms
Windows, CLI
Runs
Locally
What it can do
Can change data (3 tools)
Version
2.1.0

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add revit-model-mcp --env REVIT_MCP_HOST='<REVIT_MCP_HOST>' --env REVIT_MCP_TOKEN='<REVIT_MCP_TOKEN>' -- uvx revit-model-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "revit-model-mcp": {
      "command": "uvx",
      "args": [
        "revit-model-mcp"
      ],
      "env": {
        "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
        "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "revit-model-mcp": {
      "command": "uvx",
      "args": [
        "revit-model-mcp"
      ],
      "env": {
        "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
        "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "revit-model-mcp": {
      "command": "uvx",
      "args": [
        "revit-model-mcp"
      ],
      "env": {
        "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
        "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "revit-model-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "revit-model-mcp"
      ],
      "env": {
        "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
        "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add revit-model-mcp --env REVIT_MCP_HOST='<REVIT_MCP_HOST>' --env REVIT_MCP_TOKEN='<REVIT_MCP_TOKEN>' -- uvx revit-model-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.revit-model-mcp]
command = "uvx"
args = ["revit-model-mcp"]
env = { REVIT_MCP_HOST = "<REVIT_MCP_HOST>", REVIT_MCP_TOKEN = "<REVIT_MCP_TOKEN>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "revit-model-mcp": {
      "command": "uvx",
      "args": [
        "revit-model-mcp"
      ],
      "env": {
        "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
        "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "revit-model-mcp": {
          "command": "uvx",
          "args": [
            "revit-model-mcp"
          ],
          "env": {
            "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
            "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e REVIT_MCP_HOST='<REVIT_MCP_HOST>' -e REVIT_MCP_TOKEN='<REVIT_MCP_TOKEN>' revit-model-mcp uvx -- revit-model-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "revit-model-mcp": {
          "command": "uvx",
          "args": [
            "revit-model-mcp"
          ],
          "env": {
            "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
            "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "revit-model-mcp": {
          "command": "uvx",
          "args": [
            "revit-model-mcp"
          ],
          "env": {
            "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
            "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "revit-model-mcp": {
          "command": "uvx",
          "args": [
            "revit-model-mcp"
          ],
          "env": {
            "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
            "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "revit-model-mcp": {
          "command": "uvx",
          "args": [
            "revit-model-mcp"
          ],
          "env": {
            "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
            "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "revit-model-mcp": {
          "command": "uvx",
          "args": [
            "revit-model-mcp"
          ],
          "env": {
            "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
            "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "revit-model-mcp": {
          "command": "uvx",
          "args": [
            "revit-model-mcp"
          ],
          "env": {
            "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
            "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "revit-model-mcp": {
          "command": "uvx",
          "args": [
            "revit-model-mcp"
          ],
          "env": {
            "REVIT_MCP_HOST": "<REVIT_MCP_HOST>",
            "REVIT_MCP_TOKEN": "<REVIT_MCP_TOKEN>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • REVIT_MCP_HOSTRevit host: local PowerShell, ssh:<alias>, or an http://host:port or https://host:port endpoint.Required
  • REVIT_MCP_REDACT_PATHSSet to 1 to replace document and nested model paths with file names. Disabled by default.
  • REVIT_MCP_TOOLSETSComma-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.
  • REVIT_MCP_TOKENHTTP bearer token from the workstation settings.json. Required only for http:// or https:// hosts; leave unset for local and SSH.

About Model MCP

Model MCP connects an MCP client that starts a stdio server to a Revit project that is open on a Windows workstation. It has two parts: an add-in installed in Revit with an MSI, and a Python server (or bundled executable) beside the client. Mac and Linux users reach the Windows machine over SSH, so no port opens, and an HTTP host with a bearer token is also possible.

Tools use a revit_ prefix. The README names revit_ping to confirm the link, revit_document_info, revit_list_catalog, revit_aggregate_elements and revit_list_warnings for review, revit_model_health, revit_model_audit (YAML, JSON, inline or builtin rule packs) with revit_audit_report producing XLSX and HTML, revit_list_sheets, revit_api_lookup for the live Revit API, and revit_execute_code and revit_run_tool for C# with grouped transactions.

Safety is a theme. Committed edits create one named Undo entry, saving and syncing wait for explicit approval, and a workstation read-only lock, toggled from the Revit ribbon or revit_set_read_only, disables actions across clients. REVIT_MCP_TOOLSETS can limit which tools are listed. Release builds are not code-signed yet.

Tools this server provides (13)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 3 of 13 tools change data; 6 names don't say.

From the server's own tool labels and tool names; not verified by us.

revit_ping
Confirms the connection and names the open model.
revit_document_info
Basic information about the open document.
revit_list_catalogName suggests: reads
Lists catalog entries in the model.
revit_aggregate_elements
Aggregates element counts by category.
revit_list_warningsName suggests: reads
Lists model warnings.
revit_model_health
Runs a health check on the model.
revit_model_audit
Audits a model against rules.
revit_audit_report
Produces XLSX and HTML audit reports.
revit_list_sheetsName suggests: reads
Reads sheets, title blocks, revisions and views.
revit_api_lookupName suggests: reads
Reads public Revit API types and members.
revit_execute_codeName suggests: changes
Runs C# code in Revit.
revit_run_toolName suggests: changes
Runs C# procedures, with optional grouped transactions.
revit_set_read_onlyName suggests: changes
Sets the workstation read-only lock.

What it does

Live model queries
Reads levels, element counts, links, warnings and sheets from the open model.
Rule-based audits
Checks a model against YAML, JSON, inline or builtin rules and exports XLSX and HTML reports.
Undoable edits
Each committed edit creates one named Undo entry in Revit.
Read-only lock
A workstation switch disables edit actions across clients.
C# execution
Runs C# with optional grouped transactions after looking up the Revit API.
SSH access from Mac
Runs over SSH to the Windows workstation, so no port opens.

Good for

  • Run a health check before issuing a model
  • Audit parameter rules and export an Excel report
  • List sheets, revisions and unplaced views
  • Make bulk changes with a single Undo step

Pricing

Free

Free; license shown but not named in the README

Model MCP FAQ

What does Model MCP need?

Revit on Windows with the add-in, plus the stdio server next to your MCP client.

Can Model MCP edit the model?

Yes by default, but a workstation read-only lock turns actions off, and saving or syncing waits for your approval.

Does Model MCP work from a Mac?

Yes, over SSH to the Windows workstation.

Is the add-in signed?

Not yet; Revit asks whether to load it because release builds are not code-signed.

Is Model MCP free?

Yes. Model MCP is free to use.

How do I add Model MCP to Claude Code?

Run this command in your terminal: claude mcp add revit-model-mcp --env REVIT_MCP_HOST='<REVIT_MCP_HOST>' --env REVIT_MCP_TOKEN='<REVIT_MCP_TOKEN>' -- uvx revit-model-mcp

What are the best alternatives to Model MCP?

The closest alternatives to Model MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers