Configuring Claude to Use the MCP Server for Revit - Python

  • Go to Settings → Developer → Edit Config and add the following inside mcpServers:
    1. json

    2. The developer provided this json code:
    3. "Revit Connector": {  
      	"command": "uv",  
      	"args": [
      		"run", "--frozen", 
      		"mcp", "run",           
      		"C:\\Tools\\mcp-server-for-revit-python.extension\\main.py"
      	]
      }
    4. The developer code didn’t work for me, so I used this slightly modified version:
    5. "Revit Connector": {
      	"command": "uv",
      	"args": [
      		"run", "--frozen",
      		"--directory", 
      		"C:\\Tools\\mcp-server-for-revit-python.extension",
      		"python", "main.py"
      	]
      }
  • Restart Claude Desktop. The Revit tools should then appear.
  • If using Claude Code:
  • powershell

    claude mcp add -s user "Revit-Connector" -- uv run --frozen mcp run C:\Tools\mcp-server-for-revit-python.extension\main.py