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 Platform Bridge (MCP) 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 AutoCAD.
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.
This is what turns AI from a chatbot into an execution engine for BIM.
Open PowerShell and run:
irm https://raw.githubusercontent.com/rafa2403nunez-droid/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 Navisworks 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 scripting with PyNET:
irm https://raw.githubusercontent.com/rafa2403nunez-droid/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.
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:
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 | rafa2403nunez-droid/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 | rafa2403nunez-droid/PyNetLibrary | Script reference library and AI context |
This project is licensed under the MIT License.
mcp-name: io.github.rafa2403nunez-droid/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.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"pynet-bridge": {
"command": "npx",
"args": []
}
}
}