midas-bridge-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@midas-bridge-mcpModel a continuous steel girder bridge with moving load analysis."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: rhino-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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/WWWeiZhang/midas-bridge-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server