MCP Directory

How to add MCP Servers for Revit to Windsurf

Drive Autodesk Revit from AI: query, create, modify, and delete BIM elements via a TypeScript server and C# add-in. Paste the config into ~/.codeium/windsurf/mcp_config.json and restart Windsurf.

Last updated June 14, 2026 · 227 · stdio · no auth

Windsurf config for MCP Servers for Revit

claude mcp add mcp-server-for-revit -- cmd /c npx -y mcp-server-for-revit
{
  "mcpServers": {
    "mcp-servers-for-revit": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "mcp-server-for-revit"
      ]
    }
  }
}

Setup steps

  1. 1Open Windsurf → Cascade → the hammer/MCP icon → Configure (or edit ~/.codeium/windsurf/mcp_config.json).
  2. 2Paste the MCP Servers for Revit config below.
  3. 3Fill in placeholder secrets, then save.
  4. 4Click Refresh in the MCP panel.
  5. 5MCP Servers for Revit's tools become available to Cascade.

Before you start

  • Windows with Autodesk Revit 2020–2026 installed and licensed
  • Node.js 18+ for the npx-run MCP server
  • The release ZIP matching your Revit version, extracted into %AppData%\Autodesk\Revit\Addins\<version>\

What MCP Servers for Revit can do in Windsurf

get_current_view_info

Get current active view info.

get_current_view_elements

Get elements from the current active view.

get_available_family_types

Get available family types in the current project.

get_selected_elements

Get currently selected elements.

get_material_quantities

Calculate material quantities and takeoffs.

ai_element_filter

Intelligent element querying tool for AI assistants.

analyze_model_statistics

Analyze model complexity with element counts.

create_point_based_element

Create point-based elements (door, window, furniture).

Security

send_code_to_revit executes arbitrary C# inside Revit, and the create/modify/delete tools change your model directly — work on copies and review calls before approving. Traffic between server and add-in runs over a local WebSocket with no auth, and you control exposure by enabling only the commands you need in the Revit ribbon's Settings panel.

MCP Servers for Revit + Windsurf FAQ

Where is the Windsurf config file?

Windsurf reads MCP servers from ~/.codeium/windsurf/mcp_config.json. Paste the MCP Servers for Revit config there under the "mcpServers" key and restart the client.

Is MCP Servers for Revit safe to use with Windsurf?

send_code_to_revit executes arbitrary C# inside Revit, and the create/modify/delete tools change your model directly — work on copies and review calls before approving. Traffic between server and add-in runs over a local WebSocket with no auth, and you control exposure by enabling only the commands you need in the Revit ribbon's Settings panel.

Is it safe to let an AI modify my Revit model?

Only with guardrails: the tools genuinely create, modify, and delete elements, and send_code_to_revit runs arbitrary C# in the session. Work on a copy or rely on Revit's undo, enable only needed commands in the ribbon Settings panel, and review each call — especially anything generated for send_code_to_revit.

Is this an official Autodesk product?

No. It is a community fork (MIT-licensed) of the revit-mcp project with additional tools; Autodesk is not involved. The add-in is unsigned, so Revit asks about loading it on first start.

Which Revit versions work?

Revit 2020 through 2026, with per-version release ZIPs (builds target .NET Framework 4.8 for 2020–2024 and .NET 8 for 2025–2026). The command-set DLL must match your Revit year, so grab the right ZIP and re-download when you upgrade Revit.

View repo Full MCP Servers for Revit page