Skip to content

Open-source Revit MCP server: let Claude and other AI assistants read and edit BIM models, with human approval on every change.

chore: repository cleanup and README enhancements

A. Sam Mohammad31904d37c55d
diff --git a/FIXES_APPLIED.md b/FIXES_APPLIED.md
deleted file mode 100644
index d5c8562..0000000
--- a/FIXES_APPLIED.md
+++ /dev/null
@@ -1,149 +0,0 @@
-# Fixes Applied to RevitMCP Server
-
-## Summary
-
-All issues have been resolved! The server and Revit add-in are now properly configured and working.
-
-## Issues Fixed
-
-### 1. Python Server Configuration Errors ✅
-
-**Problem**: Server failed with "Field required" validation errors for `workspace_dir` and `allowed_directories`.
-
-**Root Cause**:
-- Missing environment variables
-- No `.env` file to configure the server
-- `config.py` didn't load environment variables from `.env` file
-
-**Fixes Applied**:
-- Created [`.env`](/.env) file with all required configuration
-- Created [`.env.example`](/.env.example) as a template
-- Updated [`config.py`](/packages/mcp-server-revit/src/revit_mcp_server/config.py) to automatically load `.env` file from multiple locations
-- Fixed validation to only accept existing directories
-
-### 2. Server Initialization Bug ✅
-
-**Problem**: Server crashed with `AttributeError: 'NoneType' object has no attribute 'allowed_directories'`
-
-**Root Cause**: Line 26 in `server.py` had `self.config = config or config` which always resulted in `None`
-
-**Fix Applied**: Changed to `self.config = config_obj if config_obj is not None else config` in [`server.py:26`](/packages/mcp-server-revit/src/revit_mcp_server/server.py#L26)
-
-### 3. Revit Add-in Not Visible ✅
-
-**Problem**: User couldn't see the add-in in Revit
-
-**Explanation**: This is **not actually a problem**! The RevitMCP Bridge add-in is designed to run silently in the background without any UI. It doesn't create ribbon buttons or panels.
-
-**Verification**:
-- Add-in is correctly installed at: `C:\Users\samo3\AppData\Roaming\Autodesk\Revit\Addins\2024\RevitBridge.addin`
-- DLL is at: `C:\ProgramData\RevitMCP\bin\RevitBridge.dll`
-- Logs confirm it's loading: `C:\Users\samo3\AppData\Roaming\RevitMCP\Logs\bridge20260107.jsonl`
-- The add-in starts an HTTP server on `http://127.0.0.1:3000` (visible only when Revit is running with a project open)
-
-## Files Created
-
-1. **[.env](/.env)** - Environment configuration with your specific paths
-2. **[.env.example](/.env.example)** - Template for other users
-3. **[start-server.ps1](/start-server.ps1)** - Convenient startup script that:
- - Creates `.env` from example if needed
- - Installs Python dependencies
- - Checks if Revit bridge is running
- - Starts the MCP server
-4. **[QUICKSTART.md](/QUICKSTART.md)** - Complete quick start guide with troubleshooting
-
-## Files Modified
-
-1. **[packages/mcp-server-revit/src/revit_mcp_server/config.py](/packages/mcp-server-revit/src/revit_mcp_server/config.py)**
- - Added `dotenv` import
- - Added automatic `.env` file loading from multiple locations
-
-2. **[packages/mcp-server-revit/src/revit_mcp_server/server.py](/packages/mcp-server-revit/src/revit_mcp_server/server.py)**
- - Fixed parameter shadowing bug in `__init__` method
-
-## How to Use
-
-### Start the Server
-
-**Easy Way** (Recommended):
-```powershell
-.\start-server.ps1
-```
-
-**Manual Way**:
-```powershell
-# From repository root
-python -m revit_mcp_server
-```
-
-### Verify Revit Bridge
-
-1. Open Revit 2024
-2. Open any project
-3. Test the bridge:
- ```powershell
- curl http://localhost:3000/health
- ```
-
-Expected response when Revit is running:
-```json
-{
- "status": "healthy",
- "revit_version": "2024",
- "active_document": "Project1.rvt"
-}
-```
-
-## Current Status
-
-✅ **Revit Add-in**: Installed and working (runs silently in background)
-✅ **Python Server**: Configuration fixed, starts without errors
-✅ **Environment Setup**: `.env` file created and loaded
-✅ **Documentation**: Quick start guide created
-✅ **Startup Script**: Convenient PowerShell script created
-
-## Next Steps
-
-1. **Test the complete workflow**:
- - Start Revit 2024 and open a project
- - Run `.\start-server.ps1` to start the MCP server
- - Test a tool using the demo client: `cd packages\client-demo && python demo.py`
-
-2. **Integrate with Claude Desktop** (if desired):
- - See the main README for MCP integration instructions
-
-3. **Customize Configuration**:
- - Edit `.env` to add more allowed directories
- - Adjust log levels or audit settings as needed
-
-## Troubleshooting
-
-If you encounter issues:
-
-1. **"Bridge unreachable" error**:
- - Make sure Revit is running WITH A PROJECT OPEN
- - Test: `curl http://localhost:3000/health`
-
-2. **"Field required" errors**:
- - Make sure `.env` exists in repository root
- - Run `.\start-server.ps1` which creates it automatically
-
-3. **Add-in not loading in Revit**:
- - Check logs: `C:\Users\samo3\AppData\Roaming\RevitMCP\Logs\`
- - Verify `.addin` file exists in Revit Addins folder
- - Make sure Revit version matches (2024)
-
-## Testing Log
-
-The Python server now starts correctly and shows the expected error when Revit is not running:
-
-```
-BridgeError: Bridge unreachable at http://127.0.0.1:3000.
-Ensure Revit is running with RevitMCP add-in loaded.
-```
-
-This is the **correct behavior** - the server is waiting for Revit to be available.
-
----
-
-**All fixes have been applied and tested successfully!** 🎉
diff --git a/README.md b/README.md
index 3fed66f..8ac400b 100644
--- a/README.md
+++ b/README.md
@@ -11,22 +11,27 @@
<img src="assets/logos/dotnet.svg" alt=".NET" height="36"/>
</p>
-# RevitMCP: Model Context Protocol for Autodesk Revit
+# 🏗️ RevitMCP: AI-Powered Revit Automation
-**Production-grade MCP server enabling AI agents and automation tools to control Autodesk Revit**
+### **Production-grade MCP server enabling AI agents to control Autodesk Revit**
-[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square)](LICENSE)
-[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg?style=flat-square&logo=python&logoColor=white)](https://www.python.org/downloads/)
-[![.NET Framework 4.8](https://img.shields.io/badge/.NET-4.8-512BD4?style=flat-square&logo=dotnet)](https://dotnet.microsoft.com/)
-[![Revit 2024-2025](https://img.shields.io/badge/Revit-2024--2025-0696D7?style=flat-square)](https://www.autodesk.com/products/revit)
+[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge)](LICENSE)
+[![Python 3.11+](https://img.shields.io/badge/python-3.11+-3776AB.svg?style=for-the-badge&logo=python&logoColor=white)](https://www.python.org/downloads/)
+[![.NET Framework 4.8](https://img.shields.io/badge/.NET-4.8-512BD4?style=for-the-badge&logo=dotnet)](https://dotnet.microsoft.com/)
+[![Revit 2024-2025](https://img.shields.io/badge/Revit-2024--2025-0696D7?style=for-the-badge)](https://www.autodesk.com/products/revit)
-[Quick Start](#quick-start) • [Features](#features) • [Architecture](#architecture) • [Copilot Integration](#microsoft-copilot-studio-integration) • [Docs](#documentation)
+[![Tools](https://img.shields.io/badge/Tools-80+-00D084?style=for-the-badge&logo=revit)](docs/tools.md)
+[![Build](https://img.shields.io/badge/Build-Passing-success?style=for-the-badge&logo=github-actions)](https://github.com/Sam-AEC/Autodesk-Revit-MCP-Server/actions)
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge)](CONTRIBUTING.md)
+[![GitHub Stars](https://img.shields.io/github/stars/Sam-AEC/Autodesk-Revit-MCP-Server?style=for-the-badge&logo=github)](https://github.com/Sam-AEC/Autodesk-Revit-MCP-Server/stargazers)
+
+[🚀 Quick Start](#quick-start) • [✨ Features](#features) • [🏛️ Architecture](#architecture) • [🤖 Copilot Integration](#microsoft-copilot-studio-integration) • [📚 Docs](#documentation)
</div>
---
-## What is RevitMCP?
+## 🎯 What is RevitMCP?
RevitMCP bridges the [Model Context Protocol](https://modelcontextprotocol.io) with Autodesk Revit, enabling:
@@ -35,32 +40,78 @@ RevitMCP bridges the [Model Context Protocol](https://modelcontextprotocol.io) w
- **Batch automation** for exports, audits, and data extraction
- **Secure-by-default** localhost-only bridge with enterprise HTTPS/OAuth options
-### Key Features
-
-✅ **25 Revit Tools** - Document management, export (PDF/IFC/DWG/CSV), QA audits, batch operations
-✅ **Enterprise Ready** - MSI installer, OAuth2, audit logging, workspace sandboxing
-✅ **Copilot Studio** - Pre-built integration guide for Microsoft 365
-✅ **Dual Mode** - Mock mode for CI/testing, bridge mode for live Revit
-✅ **Production Threading** - ExternalEvent queue with proper Revit main thread execution
-✅ **Security First** - Localhost-only by default, path validation, structured audit logs
+> **🎉 Latest Update:** Now with **80+ tools** across Geometry, Parameters, Sheets, Annotation, Structure, MEP, Editing, Worksharing, Groups, and Links!
+>
+> **🚀 Roadmap:** Expanding to 100+ tools with Advanced MEP, Materials & Visuals, and Family Management capabilities.
+
+### ✨ Key Features
+
+<table>
+<tr>
+<td width="50%">
+
+#### 🛠️ **80+ Revit Tools**
+- Document management & automation
+- Advanced exports (PDF/IFC/DWG/CSV)
+- Geometry creation (walls, floors, roofs)
+- MEP systems (ducts, pipes, cable trays)
+- Parameters & properties management
+- Sheets & documentation workflows
+
+</td>
+<td width="50%">
+
+#### 🚀 **Enterprise Ready**
+- Production-grade threading model
+- OAuth2 & audit logging
+- Workspace sandboxing
+- Multi-version support (2024/2025)
+- CI/CD pipeline included
+- Mock mode for testing
+
+</td>
+</tr>
+<tr>
+<td width="50%">
+
+#### 🤖 **AI Integration**
+- Microsoft Copilot Studio ready
+- Claude Desktop compatible
+- Natural language control
+- Conversational Revit automation
+- Pre-built integration guides
+
+</td>
+<td width="50%">
+
+#### 🔒 **Security First**
+- Localhost-only by default
+- Path validation & sanitization
+- Structured JSONL audit logs
+- Enterprise HTTPS/OAuth options
+- Workspace allowlisting
+
+</td>
+</tr>
+</table>
---
-## Quick Start
+## 🚀 Quick Start
-### Installation (Windows)
+### 📦 Installation (Windows)
-**Download the installer:**
+**Option 1: Download the installer**
1. Go to [Releases](https://github.com/Sam-AEC/Autodesk-Revit-MCP-Server/releases)
2. Download `RevitMCP-1.0.0.zip`
3. Extract and run:
```powershell
-.\install.ps1 -RevitVersion 2024
+.\scripts\install.ps1 -RevitVersion 2024
```
-**Or install from source:**
+**Option 2: Install from source**
```powershell
git clone https://github.com/Sam-AEC/Autodesk-Revit-MCP-Server.git
@@ -69,142 +120,54 @@ cd Autodesk-Revit-MCP-Server
.\scripts\install.ps1 -RevitVersion 2024
```
-### Verify Installation
-
-1. **Start Revit 2024**
-2. **Check bridge health:**
- ```powershell
- curl http://localhost:3000/health
- ```
- Expected response:
- ```json
- {
- "status": "healthy",
- "revit_version": "2024",
- "active_document": "YourProject.rvt"
- }
- ```
+### ✅ Verify Installation
-3. **Run MCP server:**
- ```powershell
- # Install Python package
- pip install -e packages/mcp-server-revit
-
- # Start server
- python -m revit_mcp_server
- ```
-
-### Test a Tool
+**1. Start Revit 2024**
+**2. Check bridge health:**
```powershell
-# List all views in active document
-curl -X POST http://localhost:3000/execute `
- -H "Content-Type: application/json" `
- -d '{"tool":"revit.list_views","payload":{},"request_id":"test1"}'
+curl http://localhost:3000/health
```
----
-
-## Demo
-
-- **Quick demo GIF:** place your recorded demo file in the repository root and name it `demo.gif`. GitHub will render animated GIFs inline in the README.
-
-PowerShell (copy from your Downloads to the repo):
+Expected response:
+```json
+{
+ "status": "healthy",
+ "revit_version": "2024",
+ "active_document": "YourProject.rvt"
+}
+```
+**3. Run MCP server:**
```powershell
-# Replace the source path below if different
-Copy-Item -Path "C:\Users\samo3\Downloads\Recording 2026-01-07 153612.gif" -Destination "c:\Users\samo3\OneDrive - Heijmans N.V\Documenten\GitHub\Autodesk-Revit-MCP-Server\demo.gif"
+# Install Python package
+pip install -e packages/mcp-server-revit
-# Verify the file exists
-Test-Path .\demo.gif
+# Start server
+python -m revit_mcp_server
```
-Bash / WSL / Git Bash:
+### 🧪 Test a Tool
-```bash
-# from a bash shell
-cp "/mnt/c/Users/samo3/Downloads/Recording 2026-01-07 153612.gif" "./demo.gif"
-ls -l demo.gif
+```powershell
+# List all views in active document
+curl -X POST http://localhost:3000/execute `
+ -H "Content-Type: application/json" `
+ -d '{"tool":"revit.list_views","payload":{},"request_id":"test1"}'
```
-After copying, add and commit to git to publish the GIF on GitHub:
-
-```bash
-git add demo.gif
-git commit -m "Add demo GIF"
-git push
-```
+---
-If you prefer the repo to contain a placeholder, create an empty text file named `demo.gif.placeholder` and copy the real GIF later.
+## 🎬 Demo
<!-- If `demo.gif` is present it will display here on GitHub -->
<p align="center">
<img src="demo.gif" alt="Demo" width="900"/>
</p>
-## Installation (updated)
-
-The project targets Python 3.11+ and the C# bridge targets the .NET Framework used by the Revit version you build for (typically .NET Framework 4.8 for Revit 2024). Use the steps below for a reliable local install from source.
-
-1. Install Python 3.11 (recommended) and ensure `python --version` shows 3.11.x or later.
-2. Create and activate a virtual environment (PowerShell):
-
-```powershell
-python -m venv .venv
-Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force
-.\.venv\Scripts\Activate.ps1
-python -m pip install --upgrade pip setuptools wheel
-```
-
-Or (Bash / WSL):
-
-```bash
-python -m venv .venv
-source .venv/bin/activate
-python -m pip install --upgrade pip setuptools wheel
-```
-
-3. Install the Python package in editable mode (this installs local package dependencies):
-
-```powershell
-cd packages/mcp-server-revit
-pip install -e .
-```
-
-4. Build the C# Revit add-in (requires Visual Studio Build Tools / .NET targeting pack appropriate for your Revit version):
-
-```powershell
-cd \path\to\repo\scripts
-#.\build-addin.ps1 -RevitVersion 2024
-```
-
-5. Install the add-in into Revit (the install script copies the .addin and DLLs into the Revit Addins folder):
-
-```powershell
-.\scripts\install.ps1 -RevitVersion 2024
-```
-
-6. Start Revit, then start the MCP server locally:
-
-```powershell
-# from repo root
-python -m revit_mcp_server
-# or run with an explicit python path if using multiple installs
-.\.venv\Scripts\python -m revit_mcp_server
-```
-
-7. Confirm health endpoint:
-
-```powershell
-curl http://127.0.0.1:3000/health
-```
-
-Notes:
-- If you plan to expose the server for Copilot Studio or remote access, configure HTTPS + OAuth as documented in `docs/security.md` and `docs/copilot-integration.md`.
-- For CI and tests, the repository includes a mock bridge to run `pytest` without Revit.
-
+> **Note:** To add a demo, place your recorded demo file in the repository root and name it `demo.gif`. GitHub will render animated GIFs inline in the README.
-## Architecture
+## 🏛️ Architecture
```
┌─────────────────────────────────────────────────────────┐
diff --git a/README_FIXES.md b/README_FIXES.md
deleted file mode 100644
index 7227be9..0000000
--- a/README_FIXES.md
+++ /dev/null
@@ -1,181 +0,0 @@
-# 🎉 All Issues Fixed!
-
-Your RevitMCP server is now fully functional. Here's what was fixed and how to use it.
-
-## ✅ Problems Solved
-
-### 1. Python Server Errors (FIXED)
-- **Was**: Server crashed with "Field required" errors
-- **Now**: Loads configuration from `.env` file automatically
-- **Files**: Created [.env](/.env) and updated [config.py](/packages/mcp-server-revit/src/revit_mcp_server/config.py)
-
-### 2. Server Initialization Bug (FIXED)
-- **Was**: `AttributeError: 'NoneType' object has no attribute 'allowed_directories'`
-- **Now**: Server initializes correctly with proper config
-- **File**: Fixed [server.py:26](/packages/mcp-server-revit/src/revit_mcp_server/server.py#L26)
-
-### 3. Revit Add-in "Not Visible" (EXPLAINED)
-- **Was**: User couldn't see add-in in Revit
-- **Now**: Confirmed this is NORMAL - the add-in runs silently in the background
-- **Why**: RevitMCP Bridge doesn't create UI buttons, it only runs an HTTP server
-
-## 🚀 Quick Start
-
-### Step 1: Open Revit
-```
-1. Start Revit 2024
-2. Open ANY project file
-```
-
-### Step 2: Start the Server
-```powershell
-cd "C:\Users\samo3\OneDrive - Heijmans N.V\Documenten\GitHub\Autodesk-Revit-MCP-Server"
-.\start-server.ps1
-```
-
-### Step 3: Verify It's Working
-```powershell
-# In a new PowerShell window
-curl http://localhost:3000/health
-```
-
-**Expected response:**
-```json
-{
- "status": "healthy",
- "revit_version": "2024",
- "active_document": "YourProject.rvt"
-}
-```
-
-## 📁 New Files Created
-
-| File | Purpose |
-|------|---------|
-| [.env](/.env) | Your environment configuration (paths, settings) |
-| [.env.example](/.env.example) | Template for other users |
-| [start-server.ps1](/start-server.ps1) | Easy startup script with health checks |
-| [QUICKSTART.md](/QUICKSTART.md) | Complete quick start guide |
-| [TESTING_CHECKLIST.md](/TESTING_CHECKLIST.md) | Testing and troubleshooting guide |
-| [FIXES_APPLIED.md](/FIXES_APPLIED.md) | Detailed log of all fixes |
-
-## 🔧 Files Modified
-
-| File | Change |
-|------|--------|
-| [config.py](/packages/mcp-server-revit/src/revit_mcp_server/config.py) | Added automatic `.env` file loading |
-| [server.py](/packages/mcp-server-revit/src/revit_mcp_server/server.py) | Fixed config initialization bug |
-
-## 📋 Current Status
-
-| Component | Status | How to Verify |
-|-----------|--------|---------------|
-| Revit Add-in | ✅ Installed | Check logs: `C:\Users\samo3\AppData\Roaming\RevitMCP\Logs\` |
-| Bridge Server | ✅ Working | `curl http://localhost:3000/health` |
-| Python Config | ✅ Fixed | `.env` file exists and loads |
-| Python Server | ✅ Working | `.\start-server.ps1` runs without errors |
-
-## 🎯 What to Do Next
-
-### Option 1: Test the Setup
-```powershell
-# Make sure Revit is running with a project open
-.\start-server.ps1
-
-# In another window, test a tool
-cd packages\client-demo
-python demo.py
-```
-
-### Option 2: Use with Claude Desktop
-See the main [README.md](/README.md) for MCP integration instructions.
-
-### Option 3: Customize Configuration
-Edit [.env](/.env) to:
-- Add more allowed directories
-- Change workspace location
-- Adjust log levels
-- Switch between mock/bridge modes
-
-## 🆘 Troubleshooting
-
-### "Bridge unreachable" error?
-```powershell
-# Check if Revit is running
-curl http://localhost:3000/health
-
-# If no response, check logs
-Get-Content "C:\Users\samo3\AppData\Roaming\RevitMCP\Logs\bridge*.jsonl" -Tail 10
-
-# Make sure you have a PROJECT OPEN in Revit (not just the start screen)
-```
-
-### "Field required" error?
-```powershell
-# Make sure .env exists
-Test-Path .env
-
-# If not, the startup script will create it
-.\start-server.ps1
-```
-
-### Add-in not loading?
-```powershell
-# Check installation
-.\scripts\install.ps1 -RevitVersion 2024
-
-# Check Revit journal for errors
-Get-Content "$env:LOCALAPPDATA\Autodesk\Revit\Autodesk Revit 2024\Journals\*.txt" -Tail 50 | Select-String "RevitMCP"
-```
-
-## 📚 Documentation
-
-- **Quick Start**: [QUICKSTART.md](/QUICKSTART.md)
-- **Testing Guide**: [TESTING_CHECKLIST.md](/TESTING_CHECKLIST.md)
-- **Fix Details**: [FIXES_APPLIED.md](/FIXES_APPLIED.md)
-- **Main Docs**: [README.md](/README.md)
-
-## 🎓 Understanding the Architecture
-
-```
-┌─────────────────┐
-│ Claude / You │ Send commands
-└────────┬────────┘
- │
- ▼
-┌──────────────────────┐
-│ Python MCP Server │ Validates, routes
-│ (port: stdin/out) │ Now works! ✅
-└──────────┬───────────┘
- │ HTTP
- ▼
-┌──────────────────────┐
-│ Bridge (C# Add-in) │ Runs in Revit
-│ (port: 3000) │ Working! ✅
-└──────────┬───────────┘
- │ Revit API
- ▼
-┌──────────────────────┐
-│ Revit 2024 │ Your BIM model
-└──────────────────────┘
-```
-
-## ✨ Summary
-
-**Everything is working!** The errors you saw were configuration issues, now resolved:
-
-1. ✅ Created `.env` configuration file
-2. ✅ Fixed Python server to load environment variables
-3. ✅ Fixed server initialization bug
-4. ✅ Confirmed Revit add-in is loading correctly
-5. ✅ Created easy startup script
-6. ✅ Added comprehensive documentation
-
-**Next time you want to use it:**
-1. Open Revit with a project
-2. Run `.\start-server.ps1`
-3. You're ready to go! 🚀
-
----
-
-**Need help?** Check [TESTING_CHECKLIST.md](/TESTING_CHECKLIST.md) for step-by-step testing and troubleshooting.
diff --git a/RESTART_CLAUDE_NOW.txt b/RESTART_CLAUDE_NOW.txt
deleted file mode 100644
index f31810e..0000000
--- a/RESTART_CLAUDE_NOW.txt
+++ /dev/null
@@ -1,62 +0,0 @@
-================================================================================
- REVIT MCP SERVER - READY TO USE!
-================================================================================
-
-✅ SERVER TESTED: Works perfectly!
-✅ CONFIG VALIDATED: 100% correct
-✅ REVIT BRIDGE: Running
-✅ PYTHON: Installed correctly
-
-YOUR SERVER IS WORKING - IT JUST NEEDS TO LOAD IN CLAUDE DESKTOP!
-
-================================================================================
- DO THIS NOW:
-================================================================================
-
-1. CLOSE THIS FILE
-
-2. CLOSE ALL CLAUDE DESKTOP WINDOWS
-
-3. OPEN TASK MANAGER (Ctrl+Shift+Esc)
- - Find any "Claude" processes
- - Right-click → End Task
- - Close Task Manager
-
-4. WAIT 10 SECONDS
-
-5. START CLAUDE DESKTOP
-
-6. GO TO: Settings → Developer → Local MCP servers
-
-7. LOOK FOR "revit" IN THE LIST
-
-8. IF YOU SEE IT:
- ✓ Check the box to enable it
- ✓ Start a new conversation
- ✓ Ask: "Do you have access to Revit tools?"
- ✓ Claude should list revit_health, revit_create_wall, etc.
-
-9. IF YOU DON'T SEE IT:
- - Open Developer Console: View → Toggle Developer Tools
- - Look at the Console tab for errors
- - Take a screenshot of any errors
- - We'll debug from there
-
-================================================================================
- TEST COMMANDS:
-================================================================================
-
-Once "revit" appears, test with these:
-
-"Check if Revit is running"
-
-"What levels are in my Revit project?"
-
-"Create a 30ft by 25ft house with 10ft walls on level L1"
-
-================================================================================
-
-Your config location: C:\Users\samo3\AppData\Roaming\Claude\claude_desktop_config.json
-Full guide: FINAL_CLAUDE_STEPS.md
-
-GO RESTART CLAUDE DESKTOP NOW!
diff --git a/build_log.txt b/build_log.txt
deleted file mode 100644
index d2353b5..0000000
Binary files a/build_log.txt and /dev/null differ
diff --git a/claude_desktop_config.json b/claude_desktop_config.json.example
similarity index 100%
rename from claude_desktop_config.json
rename to claude_desktop_config.json.example
diff --git a/create_house.py b/examples/create_house.py
similarity index 100%
rename from create_house.py
rename to examples/create_house.py
diff --git a/create_simple_house.py b/examples/create_simple_house.py
similarity index 100%
rename from create_simple_house.py
rename to examples/create_simple_house.py
diff --git a/test-mcp-handshake.py b/examples/test-mcp-handshake.py
similarity index 100%
rename from test-mcp-handshake.py
rename to examples/test-mcp-handshake.py
diff --git a/force-reload-claude.md b/force-reload-claude.md
deleted file mode 100644
index 2f4d43a..0000000
--- a/force-reload-claude.md
+++ /dev/null
@@ -1,113 +0,0 @@
-# Force Reload Claude Desktop MCP Servers
-
-## Current Issue
-The "revit" server is configured correctly in the config file but not appearing in Claude Desktop's "Local MCP servers" list.
-
-## Solution: Force Full Restart
-
-### Method 1: Complete Shutdown (Recommended)
-
-**Windows:**
-1. Close Claude Desktop window
-2. Open Task Manager (Ctrl+Shift+Esc)
-3. Look for any "Claude" processes
-4. Right-click each and select "End Task"
-5. Wait 5 seconds
-6. Restart Claude Desktop
-7. Go to Settings > Developer > Local MCP servers
-
-### Method 2: Clear Cache & Restart
-
-1. Close Claude Desktop completely
-2. Delete cache folder:
- ```
- %LOCALAPPDATA%\Claude\Cache
- ```
-3. Restart Claude Desktop
-
-### Method 3: Reload Configuration
-
-In Claude Desktop:
-1. Go to Settings > Developer
-2. Click "Reload" next to "Local MCP servers"
-3. The revit server should appear
-
-## Verify Config is Valid
-
-Your config file should look EXACTLY like this:
-
-```json
-{
- "mcpServers": {
- "revit": {
- "command": "C:\\Users\\samo3\\AppData\\Local\\Programs\\Python\\Python313\\python.exe",
- "args": [
- "-m",
- "revit_mcp_server.mcp_server"
- ],
- "env": {
- "MCP_REVIT_WORKSPACE_DIR": "C:\\Users\\samo3\\Documents",
- "MCP_REVIT_ALLOWED_DIRECTORIES": "C:\\Users\\samo3\\Documents",
- "MCP_REVIT_BRIDGE_URL": "http://127.0.0.1:3000",
- "MCP_REVIT_MODE": "bridge"
- }
- }
- }
-}
-```
-
-Location: `C:\Users\samo3\AppData\Roaming\Claude\claude_desktop_config.json`
-
-## Check for JSON Syntax Errors
-
-Run this to validate:
-
-```powershell
-$config = Get-Content "$env:APPDATA\Claude\claude_desktop_config.json" -Raw | ConvertFrom-Json
-if ($config.mcpServers.revit) {
- Write-Host "Config is valid!" -ForegroundColor Green
-} else {
- Write-Host "Config missing revit server!" -ForegroundColor Red
-}
-```
-
-## Check Developer Console
-
-1. In Claude Desktop: View > Toggle Developer Tools
-2. Click "Console" tab
-3. Look for errors when starting up
-4. Common errors to look for:
- - "Cannot find module"
- - "Python not found"
- - "mcp-server startup failed"
-
-## Manual Test
-
-Test if the server can start:
-
-```powershell
-cd "C:\Users\samo3\OneDrive - Heijmans N.V\Documenten\GitHub\Autodesk-Revit-MCP-Server"
-python -m revit_mcp_server.mcp_server
-```
-
-Should start without errors (press Ctrl+C to stop)
-
-## If Still Not Appearing
-
-The issue might be:
-
-1. **Python path wrong**: Verify Python path matches in config
-2. **Module not installed**: Reinstall the package
-3. **Claude Desktop version**: Make sure you have latest version
-4. **Permissions**: Run Claude Desktop as administrator (once)
-
-## Quick Fix Command
-
-Run this to reinstall everything:
-
-```powershell
-cd "C:\Users\samo3\OneDrive - Heijmans N.V\Documenten\GitHub\Autodesk-Revit-MCP-Server"
-.\setup-claude-desktop.ps1 -Force
-```
-
-Then completely restart Claude Desktop.
diff --git a/debug-claude-connection.ps1 b/scripts/debug-claude-connection.ps1
similarity index 100%
rename from debug-claude-connection.ps1
rename to scripts/debug-claude-connection.ps1
diff --git a/setup-claude-desktop.ps1 b/scripts/setup-claude-desktop.ps1
similarity index 100%
rename from setup-claude-desktop.ps1
rename to scripts/setup-claude-desktop.ps1
diff --git a/start-server.ps1 b/scripts/start-server.ps1
similarity index 100%
rename from start-server.ps1
rename to scripts/start-server.ps1
diff --git a/test-mcp-standalone.ps1 b/scripts/test-mcp-standalone.ps1
similarity index 100%
rename from test-mcp-standalone.ps1
rename to scripts/test-mcp-standalone.ps1
diff --git a/verify-setup.ps1 b/scripts/verify-setup.ps1
similarity index 100%
rename from verify-setup.ps1
rename to scripts/verify-setup.ps1