# Revit MCP Server for Python

> Connect language models to local Revit through MCP.

- **URL**: https://followmcp.com/en/servers/mcp-server-for-revit-python
- **Category**: Other
- **Origin**: Community
- **Stars**: 246
- **FMRS Score**: 50/100 (Grade D)
- **Source**: https://github.com/mcp-servers-for-revit/mcp-server-for-revit-python
- **Transports**: stdio (local process), SSE, Streamable HTTP
- **Runtimes**: Python
- **Auth**: No credential needed

## Overview
Revit MCP Server for Python is a pyRevit-oriented MCP implementation. An MCP server works with a Routes REST API running inside the Revit process. Its tools cover model information, view exports, family placement, visualization, document operations, and Revit code execution. The project is being prepared for Autodesk Marketplace review and is not yet certified.

## Best for
- Revit users who want to inspect or operate on a local model through MCP.
- Python developers who want to prototype Revit API and language model integrations.

## Not for
- Teams that require a product or service certified by Autodesk Marketplace.
- Remote VM or LAN HTTP bridge scenarios; the project rejects non-loopback hosts.
- Users who do not intend to review model-change or code-execution requests.

## Required permissions
- Requires Revit and the pyRevit extension to be installed and running, with Routes Server enabled.
- Requires explicit pairing in Revit; pairing creates an encrypted secret for the Windows user and permits local Revit discovery and launch.
- Requests that change models and Python execution display their payload in Revit for review.
- HTTP MCP transports require a paired bearer header; stdio configuration needs no token.

## Risks
- execute_revit_code can run IronPython in the Revit context; review code-execution requests.
- Model-change tools can modify documents; review the request payload shown in Revit before proceeding.
- Do not expose either listener to a network, tunnel, or the internet; the project requires loopback-only bridging.
- Pairing protects only this extension's routes; other pyRevit routes and extensions are outside that protection.
- The pyRevit Routes API is in draft form and may change.

## Client config (JSON)
```json
{"mcpServers":{"Revit Connector":{"command":"uv","args":["run","--frozen","mcp","run","/absolute/path/to/main.py"]}}}
```

## Tools (20)
- `get_revit_status`: Check whether the Revit-MCP API is active and responding.
- `get_revit_model_info`: Get comprehensive information about the current Revit model.
- `list_levels`: List levels with elevation information.
- `get_revit_view`: Export a specified Revit view as an image.
- `list_revit_views`: List exportable views organized by type.
- `place_family`: Place a family instance at a specified location with custom properties.
- `list_families`: List available family types, with filtering.
- `list_family_categories`: List family categories in the model.
- `get_current_view_info`: Get detailed information about the active view.
- `get_current_view_elements`: Get elements visible in the current view.
- `color_splash`: Color elements based on parameter values.
- `clear_colors`: Remove view color overrides.
- `list_category_parameters`: List category parameters and sample values.
- `execute_revit_code`: Execute IronPython code in the Revit context.
- `list_revit_installations`: Discover Revit versions installed on the system.
- `launch_revit`: Launch Revit, optionally with a file, and poll for readiness.
- `open_document`: Open a document in running Revit, with detach and audit options.
- `close_document`: Close the active document.
- `save_document`: Save or save as the active document.
- `sync_with_central`: Synchronize a workshared document with central.
