midas-bridge-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Midas Bridge MCP
🌉 AI 驱动的桥梁结构分析 —— Claude 直接操控 Midas Civil NX
这是什么
一个 Model Context Protocol (MCP) Server,连接 Claude 和 Midas Civil NX。
Claude 变成一个能直接建模、加载、分析的桥梁工程师——你用自然语言描述结构,Claude 在 Civil NX 里自动执行。
你:"建一条4米箱梁,腹板开3个圆孔,Q345钢,一端铰接一端滑动,施加自重加活载"
↓
Claude + Midas Civil MCP
↓
Midas Civil NX 自动建模 → 分析 → 出计算报告Related MCP server: RSAP MCP
快速开始
1. 安装
git clone https://github.com/WWWeiZhang/midas-bridge-mcp.git
cd midas-bridge-mcp
pip install -e .2. 配置
复制环境变量模板,填入你的 Midas Civil NX 连接信息:
cp .env.example .env
# 编辑 .env,填入你的 MIDAS_BASE_URL 和 MIDAS_MAPI_KEY3. 启动
python -m midas_mcp.server或在 Claude Code 的 .mcp.json 中配置(参考 .mcp.json.example)。
4. 在 Civil NX 中开启 API
Civil NX → Settings → MAPI-Key → 生成一个 Key,填入 .env。
能力总览
模块 | 支持的操作 |
建模 | 节点、梁/桁架/索/板/墙/实体/受压单元 |
材料 | 钢材(数据库+自定义)、混凝土 |
截面 | 标准型钢、矩形、变截面、钢-混组合截面 |
边界 | 支座(fix/pin/roller)、刚性连接(主从)、弹性连接(含支座弹簧) |
荷载 | 自重、节点力/弯矩、梁均布荷载、移动荷载(CHINA/AASHTO等) |
组合 | 荷载组合(含混凝土/钢材分类) |
组 | 结构组、边界组、荷载组(幂等追加) |
施工阶段 | 阶段定义、组合截面、徐变系数、时间荷载、预拱度 |
索 | 索特性、索布置、预应力张拉 |
分析 | 静力分析、特征值、屈曲、Pushover、P-Delta、非线性 |
结果 | 节点位移、支座反力、梁内力 |
架构
tools/ ← MCP 工具层: @mcp.tool() 包装, docstring 是 Claude 的"说明书"
domain/ ← 业务逻辑层: Python 函数把 Midas JSON 封装好
core/ ← 连接层: HTTP + MAPI-Key 鉴权分层铁律:tools 不直接发 HTTP,domain 不知道 MCP 协议,core 不包含业务判断。
项目结构
midas-bridge-mcp/
├── src/midas_mcp/
│ ├── server.py # MCP 入口
│ ├── core/ # HTTP 客户端 + 配置
│ ├── domain/ # 业务逻辑(15 个模块)
│ └── tools/ # MCP 工具(15 个模块, ~70 个 tool)
├── pyproject.toml
├── .env.example # 环境变量模板
└── .mcp.json.example # MCP 配置模板许可
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Structural FEM for AI agents, also as a Claude skill and plugin: frames, buckling, Eurocode checks.
- AutoMEPDeprecatedapp.automep
Edit AutoCAD and Revit MEP drawings from Claude or ChatGPT in plain English.
Render and edit design images in Claude, then create interactive pages and PDF decks.
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables users to control CSI ETABS structural engineering software through Claude, allowing model creation, status checks, and engineering checks via COM automation.MIT
- AlicenseAqualityCmaintenanceEnables Claude to control Autodesk Robot Structural Analysis Professional via COM API for modeling, loads, analysis, and results retrieval.352MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to interact with bridge structural analysis software for modeling, construction stages, and code checking.1526 PyPI1Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables Claude to work inside Autodesk Civil 3D 2027 through natural language, reading and drawing geometry, modeling roads with alignments, profiles, assemblies, corridors and superelevation, computing earthwork volumes and mass haul, and managing styles, label sets, blocks and hatches.1MIT