loading…
Search for a command to run...
loading…
PyNet Bridge MCP implementation to connect IAs with PyNet Platform.
PyNet Bridge MCP implementation to connect IAs with PyNet Platform.
PyNet Bridge is the execution layer that allows AI models to control Autodesk tools in real-time.
It connects Natural Language → Python → Autodesk desktop tools (Navisworks, Revit, AutoCAD), enabling AI to generate, execute, and refine BIM workflows autonomously.
Available integrations include Navisworks Manage, Revit, and Civil 3D.
This bridge acts as the connective tissue between AI logic and Autodesk desktop APIs, allowing for dynamic UI creation, script execution, and BIM process automation using natural language.
See PyNet Bridge in action — these recordings show the full natural-language → BIM-action workflow inside live Autodesk models.
| Demo | Description | Video |
|---|---|---|
| ⭐ Autonomous BIM Coordination (Revit + Navisworks) | Claude Code drives Revit and Navisworks simultaneously to audit models, resolve clashes by tolerance rules, generate geometry, and self-correct API errors in real time. | 🎬 Watch here |
| PyNET + Codex Integration | How to configure PyNet Bridge with Codex and query into Navisworks. | 🎬 Watch here |
In this technical demo, Claude Code connects to Navisworks and Revit at the same time to run a full coordination workflow end-to-end:
PYNET_Classification) before coordinating.This is what turns AI from a chatbot into an execution engine for BIM.
Open PowerShell and run:
irm https://raw.githubusercontent.com/Rafael-NunezDeArenas/PyNetBridge/main/install.ps1 | iex
This will automatically:
pynet-mcp-bridge from PyPI (via uv or pip)~/.codex/config.toml)The pynet-mcp-bridge package includes:
| Package | Purpose |
|---|---|
| pynet-mcp-bridge | MCP server that connects AI models with Autodesk tools via PyNET |
| mcp[cli] | Model Context Protocol SDK and CLI tools |
| fastmcp | High-level MCP server framework |
| psutil | System process detection (finds running Autodesk instances) |
Restart your AI client(s) after installation to apply changes.
Install the recommended Python libraries for Navisworks, Revit and Civil 3D scripting with PyNET:
irm https://raw.githubusercontent.com/Rafael-NunezDeArenas/PyNetBridge/main/install-libraries.ps1 | iex
This installs:
| Library | Purpose |
|---|---|
| pandas | Data analysis and manipulation |
| plotly | Interactive charts and visualizations |
| matplotlib | Static plots and graphs |
| dash | Web dashboards from Python |
These are the third-party libraries listed under Allowed Python Imports. Standard library modules (
json,sys,re, etc.) are already included with Python.
⚠️ Python 3.14 is not yet supported. The
pythonnetruntime currently supports Python 3.7 through 3.13. If you encounter aSystem.NotSupportedExceptionmentioning an unsupported ABI version, install Python 3.12 or 3.13 and configure PyNet to use it.
.mcpb) launches the server with uvx pynet-mcp-bridge, so uv must be installed and on your PATH. Install it with winget install astral-sh.uv. Without uv, the extension will fail to start.1. Install the package:
uv tool install pynet-mcp-bridge
Or with pip:
pip install pynet-mcp-bridge
2. Configure Claude Desktop:
Add the following to your claude_desktop_config.json:
%APPDATA%\Claude\claude_desktop_config.json%LOCALAPPDATA%\Packages\Claude_*\LocalCache\Roaming\Claude\claude_desktop_config.json{
"mcpServers": {
"pynet-bridge": {
"command": "pynet-bridge",
"args": []
}
}
}
3. Configure Claude Code (VS Code extension):
Add to %USERPROFILE%\.claude.json:
{
"mcpServers": {
"pynet-bridge": {
"type": "stdio",
"command": "pynet-bridge",
"args": []
}
}
}
4. Configure Cline:
Add to %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json:
{
"mcpServers": {
"pynet-bridge": {
"type": "stdio",
"command": "pynet-bridge",
"args": []
}
}
}
5. Configure Roo Code:
Add to %APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\mcp_settings.json:
{
"mcpServers": {
"pynet-bridge": {
"type": "stdio",
"command": "pynet-bridge",
"args": []
}
}
}
6. Configure Codex CLI:
Add to %USERPROFILE%\.codex\config.toml:
[mcp_servers.pynet-bridge]
command = "C:/Users/<user>/.local/bin/pynet-bridge.exe"
args = []
These tools allow AI to fully control the PyNet environment, from UI creation to script execution and system monitoring. Once connected, the AI will have access to the full suite of PyNet tools:
These are realistic prompts you can give your AI client once PyNet Bridge is connected.
Prompt: "Connect to my open Navisworks model and tell me how many items are in the current selection."
The AI calls list_active_instances to find the running Navisworks process (e.g. Navisworks (PID 12345)), then calls send_command with a short Python script that reads the active document's selection. Expected output: a message like Current selection contains 42 items.
Prompt: "Give me a summary of clash test results in the open model and export the counts as a table."
The AI calls list_active_instances, then send_command with a script that iterates the DocumentClash results using the whitelisted Autodesk.Navisworks.Clash assembly and returns counts per test. Expected output: a table such as Test 'Structure vs MEP': 17 active, 3 resolved.
Prompt: "Create a new ribbon tab called 'QA' and add a button that runs my hide-empty-layers script."
The AI calls create_pynet_module (returns a new module ID), then deploy_script_button with the button name, script path, icon and tooltip. Expected output: Button 'Hide Empty Layers' deployed to module QA. — visible immediately in the Autodesk ribbon.
ℹ️ Every script sent via
send_command/send_command_by_pathis first validated by the built-in static analyzer (see Safe AI Execution). Scripts that violate the import/call whitelist are rejected before reaching Autodesk.
PyNet Bridge includes a built-in validation layer that ensures all AI-generated scripts are safe and controlled before execution.
✔ Prevents unsafe operations
✔ Blocks unauthorized system access
✔ Guarantees controlled interaction with BIM models
AI remains powerful, but within safe boundaries
Starting from v1.1.1, the MCP server includes a built-in static analyzer that validates every script before it reaches the Autodesk host. All scripts are parsed and inspected at the bridge level — rejected scripts never leave the MCP server.
Only these .NET references are permitted via clr.AddReference:
System, System.Windows.Forms, System.Drawing, System.Collections.GenericAutodesk.Navisworks.Api, .ComApi, .Interop.ComApi, .ClashRevitAPI, RevitAPIUIAcMgd, AcCoreMgd, AcDbMgd, AecBaseMgd, AecPropDataMgd, AeccDbMgdRaen.Core.Pynet.*, Raen.{Product}.Pynet.* (any version — e.g. Raen.Core.Pynet.Resources, Raen.Navisworks.Pynet.2024, Raen.Civil3D.Pynet.2026)clr, sys, json, re, time, datetime, pathlib, typing, threading, collections, xml, math, pandas, plotly, matplotlib, dash, webbrowser, psutil, functools
Some modules are allowed at the submodule level only, preventing access to dangerous siblings:
| Allowed | Blocked | Reason |
|---|---|---|
http.server |
http.client, http.cookiejar |
Allow local HTTP serving, block outbound requests |
os, subprocess, shutil, socket, ctypes, pickle, importlib, urllib, signal, multiprocessing, tempfile, glob, inspect, code, codeop
eval, exec, compile, __import__, getattr, setattr, delattr, globals, locals, vars, breakpoint, open
__builtins__, __subclasses__, __globals__, __code__
Any script that violates these rules is immediately rejected with a descriptive error message, without ever being sent to the plugin.
Start building autonomous BIM workflows in minutes.
Install the bridge, connect your AI client, and turn natural language into real actions inside your models.
Have questions about installation, configuration, or usage? Check the full FAQ page:
This MCP is part of a modular system designed to enable AI-driven BIM automation across Autodesk tools.
This repository is designed to work alongside:
Together, these components enable:
Natural Language → AI → Python Script → PyNet → Autodesk → BIM Action
| Component | Repository | Purpose |
|---|---|---|
| PyNet Platform | PyNet | Navisworks, Revit & Civil 3D plugin — hosts the Python.NET engine |
| PyNet Bridge (MCP) | This repo | MCP server - connects AI models to PyNET with including secure scripts validation |
| PyNet Library | PyNetLibrary | Script reference library and AI context |
PyNet Bridge runs entirely on your local machine. It does not collect, store, or transmit any personal data, telemetry, or analytics.
Full privacy policy: https://privacy.raendt.com/
PyNet Bridge is Windows-only. It depends on Windows named pipes for IPC and on Autodesk desktop applications (Navisworks, Revit, Civil 3D), which are Windows products. macOS and Linux are not supported.
This project is licensed under the MIT License.
mcp-name: io.github.Rafael-NunezDeArenas/pynet-mcp-bridge
© 2026 RAEN Digital Tools. Todos los derechos reservados. Obra inscrita en el Registro de la Propiedad Intelectual de la Comunidad de Madrid.
Run in your terminal:
claude mcp add pynet-bridge -- npx CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Security
Low riskAutomated heuristic from public metadata — not a security guarantee.