Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
MCP (Model Context Protocol) server for Autodesk Revit 2023–2027 — 173 tools, typed errors, session state, dynamic tool discovery, IFC reconstruction, Power BI live integration. Works with Claude, Codex, Opencode, Cursor, Gemini, and any MCP-compatible LLM.
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: AI & machine learning.
.prompts, the home to all your AI prompts, everywhere you need them.
Same catalog task: AI & machine learning.
Real MCP server (stdio + @modelcontextprotocol/sdk) that exposes x402-paywalled HTTP endpoints as MCP tools. Drop into Claude Desktop, Cursor, or any MCP client.
Same catalog task: AI & machine learning.
Standalone MCP (Model Context Protocol) server - stdio/http/websocket transports, connection pooling, tool registry
Fetched from the repository for this visit.
MCP (Model Context Protocol) server for Autodesk Revit with 173 tools, typed errors, session state, and dynamic tool discovery. Pure C# — no Node.js required.
RevitCortex lets Claude, GPT, Gemini, or any MCP-compatible LLM (Claude Desktop, Claude Code, Codex CLI, Opencode, Cursor, Continue, Cline, Gemini CLI, …) read, create, modify, and analyze Revit models in real time — from querying elements and parameters to creating views, sheets, schedules, IFC pipelines, Power BI live integration, and full audit workflows.
CortexResult<T> with structured error codes, not raw stringsCortexSession persists data across tool calls within a sessionsend_code_to_revit validates user code against a namespace block-list~/.revitcortex/audit.jsonl| Requirement | Version | Notes |
|---|---|---|
| Autodesk Revit | 2023, 2024, 2025, 2026, or 2027 | Any edition (LT not supported) |
| Windows | 10 or 11 | Revit is Windows-only |
| .NET Desktop Runtime | 8.0+ (R25/R26), 10.0+ (R27) | R23/R24 use the .NET Framework 4.8 bundled with Windows |
| PowerShell | 5.1+ | Bundled with Windows, used by the installer |
| Requirement | Version | Notes |
|---|---|---|
| .NET SDK | 8.0+ | Builds the MCP server and Revit 2025/2026 plugin |
| .NET SDK | 10.0+ | Required only for Revit 2027 builds |
| .NET Framework Targeting Pack | 4.8 | Builds Revit 2023/2024 plugin |
| Git | 2.30+ | Cloning the repository |
| Visual Studio 2022 (optional) | 17.8+ | For C# debugging |
RevitCortex speaks standard MCP stdio. Any MCP-compatible client works:
| Client | Status | Notes |
|---|---|---|
| Claude Desktop | ✅ Recommended | Anthropic desktop app, edit claude_desktop_config.json |
| Claude Code | ✅ Tested | Anthropic CLI for developers |
| Codex CLI | ✅ Tested | OpenAI's local coding CLI (GPT-5) |
| Opencode | ✅ Tested | Open-source TUI (sst/opencode) |
| Cursor | ✅ Supported | IDE — MCP via .cursor/mcp.json |
| Continue | ✅ Supported | VS Code / JetBrains extension |
| Cline | ✅ Supported | VS Code extension (formerly Claude Dev) |
| Gemini CLI | ✅ Supported | Google's official CLI (google-gemini/gemini-cli) |
| LM Studio / Ollama | 🟡 Partial | Only if their MCP bridge is enabled |
| Any other MCP-compatible client | ✅ | Must support stdio transport |
| Package | Version | Purpose |
|---|---|---|
ModelContextProtocol | 1.2.0 | MCP protocol implementation, stdio transport |
Newtonsoft.Json | 13.0.4 | JSON serialization (JSON-RPC bridge to plugin) |
Microsoft.Extensions.Hosting | 10.0.6 | .NET hosting, DI, logging |
| Package | Version | Purpose |
|---|---|---|
Newtonsoft.Json | 13.0.3 | JSON serialization (JSON-RPC, API calls) |
Nice3point.Revit.Api.RevitAPI | auto (per version) | Revit API bindings |
Nice3point.Revit.Api.RevitAPIUI | auto (per version) | Revit UI API bindings |
Nice3point.Revit.Toolkit | auto (per version) | Revit development helpers |
ClosedXML | 0.104.2 | Excel import/export (RevitCortex.Tools only) |
Test dependencies:
| Package | Version | Purpose |
|---|---|---|
xunit | 2.9.3 | Unit testing framework |
xunit.runner.visualstudio | 2.8.2 | Test runner for VS |
Microsoft.NET.Test.Sdk | 17.12.0 | Test SDK |
All NuGet packages are restored automatically from nuget.org during build.
There are two ways to install RevitCortex:
dotnet. Required only for development, debugging, or custom forks.Go to the public releases page: github.com/LuDattilo/revitcortex-releases/releases/latest
Download RevitCortex-vX.Y.Z.zip and extract it anywhere (e.g. Desktop\RevitCortex).
Make sure Revit is closed (the installer cannot replace locked DLLs).
Right-click install.ps1 → Run with PowerShell (or from an admin PowerShell):
powershell -ExecutionPolicy Bypass -File .\install.ps1
The installer:
C:\ProgramData\Autodesk\Revit\Addins\{version}\RevitCortex\%USERPROFILE%\.revitcortex\server\claude_desktop_config.json automaticallyRestart Revit. A RevitCortex ribbon tab appears with two buttons:
| Button | Description |
|---|---|
| Cortex Switch | Start/stop the MCP TCP server (off by default) |
| Settings | Configure port, log level, and tool visibility |
To uninstall: run uninstall.ps1 from the same folder.
git clone https://github.com/LuDattilo/RevitCortex.git
cd RevitCortex
dotnet build src/RevitCortex.Server/RevitCortex.Server.csproj
NuGet packages are restored automatically on first build.
Pick your Revit version. The build configuration format is {Debug|Release} R{version_short}:
dotnet build -c "Debug R23" src/RevitCortex.Plugin/RevitCortex.Plugin.csproj # Revit 2023
dotnet build -c "Debug R24" src/RevitCortex.Plugin/RevitCortex.Plugin.csproj # Revit 2024
dotnet build -c "Debug R25" src/RevitCortex.Plugin/RevitCortex.Plugin.csproj # Revit 2025
dotnet build -c "Debug R26" src/RevitCortex.Plugin/RevitCortex.Plugin.csproj # Revit 2026
dotnet build -c "Debug R27" src/RevitCortex.Plugin/RevitCortex.Plugin.csproj # Revit 2027 (requires .NET SDK 10+)
# Default: Revit 2025, Debug
powershell -ExecutionPolicy Bypass -File deploy.ps1
# Specify version and config
powershell -ExecutionPolicy Bypass -File deploy.ps1 -RevitVersion 2027 -Config Release
The script publishes the plugin, copies DLLs to the Revit add-ins folder, and installs the .addin manifest. Restart Revit afterwards.
After the ZIP installer runs, the standalone MCP server lives at:
%USERPROFILE%\.revitcortex\server\RevitCortex.Server.exe
After a from-source build, use either:
C:\path\to\RevitCortex\src\RevitCortex.Server\bin\Debug\net8.0\RevitCortex.Server.exe
or dotnet run --project <path-to-RevitCortex.Server>.
All examples below assume the installer path. Substitute your own if you built from source.
⚠️ Common gotcha: all paths in MCP configs must be absolute. Tilde (
~) and%USERPROFILE%are not expanded by every client — write the literal path (C:\Users\<you>\.revitcortex\server\RevitCortex.Server.exe).
Edit %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"revitcortex": {
"command": "C:\\Users\\<you>\\.revitcortex\\server\\RevitCortex.Server.exe"
}
}
}
Restart Claude Desktop. The installer can write this entry for you automatically.
One-liner:
claude mcp add revitcortex "C:\Users\<you>\.revitcortex\server\RevitCortex.Server.exe"
Or add to a project's .mcp.json:
{
"mcpServers": {
"revitcortex": {
"command": "C:\\Users\\<you>\\.revitcortex\\server\\RevitCortex.Server.exe"
}
}
}
Edit %USERPROFILE%\.codex\config.toml:
[mcp_servers.revitcortex]
command = "C:\\Users\\<you>\\.revitcortex\\server\\RevitCortex.Server.exe"
Then codex will discover RevitCortex automatically. Verify with /mcp inside Codex.
Edit %USERPROFILE%\.config\opencode\opencode.json (or ~/.opencode/opencode.json):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"revitcortex": {
"type": "local",
"command": ["C:\\Users\\<you>\\.revitcortex\\server\\RevitCortex.Server.exe"],
"enabled": true
}
}
}
Restart Opencode. Run /mcp to verify the 173 tools are registered.
Create .cursor/mcp.json in your project (or %USERPROFILE%\.cursor\mcp.json for global):
{
"mcpServers": {
"revitcortex": {
"command": "C:\\Users\\<you>\\.revitcortex\\server\\RevitCortex.Server.exe"
}
}
}
Reload Cursor → Settings → MCP, you should see RevitCortex listed.
Edit ~\.continue\config.yaml:
mcpServers:
- name: revitcortex
command: C:\Users\<you>\.revitcortex\server\RevitCortex.Server.exe
In the Cline sidebar → MCP Servers → Configure MCP Servers and add:
{
"mcpServers": {
"revitcortex": {
"command": "C:\\Users\\<you>\\.revitcortex\\server\\RevitCortex.Server.exe",
"disabled": false
}
}
}
Edit %USERPROFILE%\.gemini\settings.json:
{
"mcpServers": {
"revitcortex": {
"command": "C:\\Users\\<you>\\.revitcortex\\server\\RevitCortex.Server.exe"
}
}
}
Then in gemini run /mcp list to confirm registration.
Any client that supports MCP stdio works:
command: C:\Users\<you>\.revitcortex\server\RevitCortex.Server.exe
args: [] (none required)
env: (optional) REVITCORTEX_PORT=8080
Before invoking any tool, ensure:
Once configured, your LLM has access to all 173 tools. Examples:
| Request | Tools Used |
|---|---|
| "Show me all walls in the model" | ai_element_filter |
| "What parameters does element 606873 have?" | get_element_parameters |
| "Create a floor plan for each room" | create_views_from_rooms |
| "Export all room data to Excel" | export_to_excel |
| "Run a full model health check" | workflow_model_audit |
| "Link this IFC file into the project" | ifc_validate_request → ifc_link |
| "Analyze which IFC elements can become native Revit" | ifc_analyze_rebuildability |
| "Rebuild all walls from the IFC import" | ifc_rebuild_walls |
| "Delete all unused families" | purge_unused (shows confirmation dialog) |
| "Color all doors red" | color_elements |
| "How much did I use today?" | report_token_usage |
Revit localizes category and parameter names by language. RevitCortex detects the locale automatically:
| Language | Example Parameters |
|---|---|
| English | Level, Comments, Type Name |
| Italiano | Livello, Commenti, Nome del tipo |
| Francais | Niveau, Commentaires, Nom du type |
| Deutsch | Ebene, Kommentare, Typname |
Use OST_* codes (e.g., OST_Walls, OST_Doors) for categories -- these are language-independent and always work.
Tools that modify or delete data show a native Revit confirmation dialog before executing:
delete_element, delete_selection, delete_material, purge_unused, wipe_empty_tags, set_element_parameters, set_compound_structure, batch_rename, override_graphics, set_element_phase, set_element_workset, change_element_type, load_family
Use the dryRun: true parameter (where available) to preview changes without applying them.
| Tool | Description |
|---|---|
ai_element_filter | Query elements by category, parameter filters, and conditions |
get_element_parameters | Get all parameters of specific elements by ID |
set_element_parameters | Modify parameter values on elements |
get_selected_elements | Get currently selected elements |
get_current_view_elements | List elements visible in the active view |
get_linked_elements | Query elements from linked Revit models |
get_elements_in_spatial_volume | Find elements within a 3D bounding box |
delete_element | Delete elements by ID |
delete_selection | Delete all currently selected elements |
operate_element | Select, highlight, or zoom to elements |
change_element_type | Change the family type of elements |
modify_element | Move, rotate, or mirror elements |
copy_elements | Copy elements with offset |
measure_between_elements | Measure distance between two elements |
renumber_elements | Sequentially renumber elements (mark parameter) |
find_untagged_elements | Find elements missing tags in the active view |
find_undimensioned_elements | Find elements missing dimensions |
export_elements_data | Export element data to JSON |
match_element_properties | Copy parameters from source to target elements |
color_elements | Apply color overrides to elements by category |
save_selection | Save current selection with a name |
load_selection | Restore a previously saved selection |
set_element_phase | Change the creation phase of elements |
set_element_workset | Move elements to a different workset |
| Tool | Description |
|---|---|
create_line_based_element | Create walls or other line-based elements |
create_point_based_element | Create columns, furniture, and point-based families |
create_surface_based_element | Create floors, ceilings from boundary points |
create_floor | Create a floor from boundary points |
create_grid | Create grid lines |
create_level | Create levels at specified elevations |
create_room | Create rooms at specified positions |
create_array | Create linear or radial arrays |
create_filled_region | Create filled regions in views |
create_dimensions | Create dimension annotations |
create_text_note | Create text notes in views |
create_color_legend | Create a color fill legend |
create_structural_framing_system | Create structural beam systems |
| Tool | Description |
|---|---|
create_view | Create floor plans, sections, 3D views, elevations |
duplicate_view | Duplicate an existing view |
create_view_filter | Create parameter-based view filters |
override_graphics | Override element graphics in a view |
apply_view_template | Apply a view template |
batch_modify_view_range | Modify view range for multiple views |
section_box_from_selection | Create a 3D section box from selected elements |
manage_unplaced_views | List or delete views not placed on sheets |
manage_view_templates | List, create, or apply view templates |
create_views_from_rooms | Create a plan view for each room |
get_current_view_info | Get info about the active view |
rename_views | Batch rename views with patterns |
lines_per_view_count | Count detail lines per view (performance audit) |
| Tool | Description |
|---|---|
create_sheet | Create a new sheet with a title block |
place_viewport | Place a view on a sheet |
align_viewports | Align viewport positions across sheets |
batch_create_sheets | Create multiple sheets at once |
create_placeholder_sheets | Create placeholder sheets for future content |
duplicate_sheet_with_content | Duplicate a sheet with all annotations |
duplicate_sheet_with_views | Duplicate a sheet and its placed views |
| Tool | Description |
|---|---|
create_schedule | Create a new schedule with custom fields |
create_preset_schedule | Create a schedule from a predefined template |
get_schedule_data | Export schedule data as JSON |
delete_schedule | Delete a schedule |
duplicate_schedule | Duplicate an existing schedule |
modify_schedule | Add/remove fields, change filters and sorting |
list_schedulable_fields | List all available fields for a category |
import_table | Import a CSV/data table into a schedule |
| Tool | Description |
|---|---|
add_shared_parameter | Add a shared parameter to a category |
manage_project_parameters | List, create, delete, modify project parameters; set_group action bulk-reassigns "Group Parameter Under" |
manage_global_parameters | List, create, read, update, or delete global parameters |
add_prefix_suffix | Add prefix/suffix to parameter values |
get_shared_parameters | List all shared parameters in the project |
bulk_modify_parameter_values | Modify parameter values across multiple elements |
clear_parameter_values | Clear parameter values for a category |
transfer_parameters | Copy parameter values between elements |
filter_by_parameter_value | Filter elements by parameter value |
batch_rename | Rename elements using pattern rules |
sync_csv_parameters | Sync parameter values from/to a CSV file |
| Tool | Description |
|---|---|
get_project_info | Get project name, address, author, levels, phases |
get_phases | List all project phases |
get_worksets | List all worksets |
get_warnings | Get all model warnings and errors |
create_revision | Create a new revision |
manage_links | List, reload, or remove linked models |
load_family | Load a family (.rfa) into the project |
rename_families | Batch rename families |
get_available_family_types | List all loaded family types |
list_family_sizes | Show file sizes of loaded families |
get_room_openings | Get doors/windows adjacent to rooms |
tag_rooms | Auto-tag all rooms in a view |
tag_walls | Auto-tag all walls in a view |
duplicate_system_type | Duplicate a wall/floor/roof/ceiling type |
manage_project_units | Get or set project units (length, area, volume, angle, etc.) |
manage_additional_settings | Manage line styles, line weights, line patterns, fill patterns, halftone/underlay |
| Tool | Description |
|---|---|
get_materials | List all project materials |
get_material_properties | Get detailed material properties |
get_material_quantities | Get material quantities by element |
set_material_properties | Modify material properties |
create_material | Create a new material |
duplicate_material | Duplicate an existing material |
delete_material | Delete a material |
get_compound_structure | Get wall/floor/roof layer structure |
set_compound_structure | Modify compound structure layers |
| Tool | Description |
|---|---|
export_room_data | Export all room data (area, volume, level) |
export_schedule | Export a schedule to CSV |
export_families | Export loaded families to .rfa files |
export_shared_parameter_file | Export shared parameter definitions |
batch_export | Export views to PDF, DWG, DWF, NWC, IFC |
export_to_excel | Export element data to Excel (.xlsx) |
import_from_excel | Import parameter values from Excel |
| Tool | Description |
|---|---|
analyze_model_statistics | Element counts by category, type, family, level |
check_model_health | Comprehensive model health score |
audit_families | Audit loaded families (size, usage, naming) |
purge_unused | Identify/remove unused families, types, materials |
cad_link_cleanup | Find and manage CAD imports/links |
clash_detection | Detect geometric clashes between categories |
wipe_empty_tags | Remove tags with no value |
| Tool | Description |
|---|---|
workflow_model_audit | Complete model audit (health + families + purge) |
workflow_room_documentation | Full room documentation (views + tags + schedules) |
workflow_sheet_set | Create a complete sheet set from views |
workflow_clash_review | Run clash detection with categorized report |
workflow_data_roundtrip | Export data, modify externally, re-import |
| Tool | Description |
|---|---|
store_project_data | Save project metadata to local SQLite |
store_room_data | Save room data to local SQLite |
query_stored_data | Query stored projects and rooms |
| Tool | Description |
|---|---|
ifc_get_capabilities | Detect IFC version support and revit-ifc add-in presence |
ifc_validate_request | Validate IFC file path, extension, and schema version |
ifc_link | Link an IFC file into the active document (RevitLinkType) |
ifc_reload_link | Reload an existing IFC link, optionally from a new file |
ifc_open_or_import | Open or import an IFC file using IFCImportOptions |
ifc_export_basic | Export to IFC with basic options (version, quantities, splitting) |
ifc_export_with_configuration | Export using named configurations with overrides |
ifc_list_export_configurations | List available built-in export configurations |
ifc_get_export_configuration | Get full details of a specific export configuration |
ifc_set_family_mapping_file | Set family mapping file for IFC exports (session) |
ifc_analyze_rebuildability | Analyze IFC DirectShapes for native reconstruction feasibility |
ifc_list_rebuild_candidates | List elements above a rebuild confidence threshold |
ifc_rebuild_walls | Rebuild native walls from IFC DirectShapes |
ifc_rebuild_floors | Rebuild native floors from IFC DirectShapes |
ifc_rebuild_roofs | Rebuild native roofs from IFC DirectShapes |
ifc_rebuild_structural_members | Rebuild columns and beams from IFC DirectShapes |
ifc_rebuild_openings | Cut openings in rebuilt walls/floors |
ifc_rebuild_family_instances | Place doors, windows from IFC DirectShapes |
ifc_compare_original_vs_rebuilt | Compare volume/geometry between original and rebuilt |
ifc_tag_unreconstructable_elements | Tag elements that cannot be rebuilt |
| Tool | Description |
|---|---|
analyze_journal | Analyze Revit journal files (works without Revit) |
send_code_to_revit | Execute arbitrary C# code in Revit |
say_hello | Connection test -- shows a dialog in Revit |
Claude / LLM
|
MCP Server (C#) ModelContextProtocol SDK, stdio transport
| (TCP localhost:8080)
SocketService (C#) TCP bridge, JSON-RPC framing
|
CortexRouter (C#) Deserialize request, find tool, manage session
|
ICortexTool (C#) Unified interface every tool implements
|
CortexSession (C#) Shared state, session store, locale, capabilities
|
CortexResult<T> (C#) Typed response envelope with structured error codes
|
DocumentAnalyzer (C#) Scans active document to populate DocumentCapabilities
delete_element, purge_unused show a native Revit TaskDialog before executing. Cancelled operations return a structured Cancelled error code.OST_* BuiltInCategory codes instead of localized display names.IsDynamic = true are only exposed when DocumentCapabilities match (e.g., workset tools hidden in non-workshared files).RevitCortex/
RevitCortex.sln Solution file
nuget.config NuGet package source (nuget.org)
deploy.ps1 Deploy script (Revit 2023-2027)
tool-schemas.txt Compact tool signatures for token optimization
CLAUDE.md AI assistant guide (tool corrections, locale maps)
src/
RevitCortex.Core/ Core types (no Revit dependency)
Discovery/ DocumentCapabilities, IDocumentAnalyzer
Results/ CortexResult<T>, CortexError, CortexErrorCode
Session/ CortexSession, ISessionStore, SessionStore
Tools/ ICortexTool interface
RevitCortex.Plugin/ Revit add-in (ExternalApplication)
Commands/ Ribbon button commands (ToggleConnection, etc.)
Communication/ SocketService, JSON-RPC models
Discovery/ DocumentAnalyzer, LocaleDetector
Tracking/ UsageTracker (API token usage logging)
UI/ CortexPanel, CortexChatClient, Settings
RevitCortexApp.cs Entry point (IExternalApplication)
RevitCortex.addin Revit add-in manifest
RevitCortex.Tools/ Tool implementations (grouped by domain)
Elements/ Element CRUD, filtering, selection
Views/ View creation, templates, overrides
Sheets/ Sheet creation, viewports
Project/ Materials, families, links, system types
Meta/ SayHelloTool
RevitCortex.Tests/ Unit tests (xUnit)
Discovery/ DocumentCapabilitiesTests
Results/ CortexResultTests
Router/ CortexRouterTests
Session/ SessionStoreTests
src/RevitCortex.Server/ C# MCP server (stdio transport)
Program.cs Server entry point (MCP hosting)
Connection/
RevitBridge.cs TCP bridge to Plugin (JSON-RPC)
Tools/ Tool definitions (288 tools across 9 files)
MetaTools.cs say_hello, get_project_info
ElementTools.cs Element CRUD, filtering, selection
ViewTools.cs Views, sheets, schedules
ProjectTools.cs Project info, audit, workflows
CreationTools.cs Element creation, export
MaterialTools.cs Materials, compound structures
ParameterTools.cs Parameter operations
LinkTools.cs Linked file management
IfcTools.cs IFC import/export/reconstruction
docs/
superpowers/
specs/ Design specifications
plans/ Implementation plans
Settings are stored in ~/.revitcortex/settings.json (created on first run):
{
"port": 8080,
"logLevel": "Info",
"disabledTools": []
}
| Setting | Default | Description |
|---|---|---|
port | 8080 | TCP port for MCP server <-> Plugin communication |
logLevel | Info | Log verbosity: Info, Warning, Error |
disabledTools | [] | Array of tool names to hide from the MCP client |
| File | Purpose |
|---|---|
~/.revitcortex/settings.json | User settings |
~/.revitcortex/logs/ | Structured log files |
~/.revitcortex/audit.jsonl | Tool execution audit log |
# C# MCP server
dotnet build src/RevitCortex.Server/RevitCortex.Server.csproj
# C# plugin (pick your Revit version)
dotnet build -c "Debug R25" src/RevitCortex.Plugin/RevitCortex.Plugin.csproj
# Unit tests
dotnet test -c "Debug R25" src/RevitCortex.Tests/RevitCortex.Tests.csproj
dotnet build -c "Debug R23" src/RevitCortex.Plugin/RevitCortex.Plugin.csproj
dotnet build -c "Debug R24" src/RevitCortex.Plugin/RevitCortex.Plugin.csproj
dotnet build -c "Debug R25" src/RevitCortex.Plugin/RevitCortex.Plugin.csproj
dotnet build -c "Debug R26" src/RevitCortex.Plugin/RevitCortex.Plugin.csproj
dotnet build -c "Debug R27" src/RevitCortex.Plugin/RevitCortex.Plugin.csproj # needs .NET SDK 10+
claude_desktop_config.json has the correct absolute path to src/RevitCortex.Serverdotnet build src/RevitCortex.Server/RevitCortex.Server.csproj completed successfullyNETSDK1045 "framework not supported")dotnet restore before building.nuget.config points to https://api.nuget.org/v3/index.json.& "C:\Users\<you>\.revitcortex\server\RevitCortex.Server.exe" — it should print MCP handshake lines.~ / %USERPROFILE% are not always expanded.%APPDATA%\Claude\logs\mcp*.log~/.codex/log/~/.local/share/opencode/log/ (or %LOCALAPPDATA%\opencode\log\ on Windows)~/.revitcortex/logs/mcp-server-revitcortex.log — if you see "No frameworks were found", the publish mode is inconsistent. Re-run the ZIP installer.analyze_model_statistics and purge_unused individually| Version | .NET Target | Conditional Symbols |
|---|---|---|
| 2023 | net48 | REVIT2023_OR_GREATER |
| 2024 | net48 | REVIT2023_OR_GREATER, REVIT2024_OR_GREATER |
| 2025 | net8.0-windows | REVIT2023_OR_GREATER … REVIT2025_OR_GREATER |
| 2026 | net8.0-windows | REVIT2023_OR_GREATER … REVIT2026_OR_GREATER |
| 2027 | net10.0-windows | REVIT2023_OR_GREATER … REVIT2027_OR_GREATER |
API differences (e.g., ElementId.Value vs .IntegerValue) are handled via #if directives.
Building R27 locally requires a .NET SDK ≥ 10.
global.jsonpins to SDK 8 withrollForward: latestMajor, so SDK 11 preview (or any future SDK) is accepted automatically when SDK 10 is absent.
Contributions are welcome — issues, PRs, and ideas.
Debug R23 → Debug R27). See CLAUDE.md for cross-target gotchas (record, init, Range/Index, etc.).dotnet test -c "Debug R25".node server/generate-tool-schemas-csharp.mjs) and any affected docs (README.md, docs/USER_GUIDE.md, WORKFLOWS.md).For deep AI-assistant context (locale mappings, tool-specific corrections, performance notes) see CLAUDE.md and WORKFLOWS.md.
RevitCortex runs fully on-machine. The MCP server ↔ Plugin bridge listens only on localhost and is off by default. See docs/SECURITY.md for the full threat model, including:
CodeSandbox before any send_code_to_revit execution.~/.revitcortex/audit.jsonl.readOnlyMode switch in ~/.revitcortex/settings.json.Found a vulnerability? Email luigi.dattilo@gpapartners.com — please do not open a public issue.
MIT © 2026 Luigi Dattilo
Luigi Dattilo — @LuDattilo
Built at GPA S.r.l. — engineering & BIM.
Loading reviews...
GitHub checked 135h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.