BOM-MCP
BOM-MCP
用于 AI 助手的电动潜水泵 (ESP) 零件和物料清单 (BOM) 数据库及 MCP 服务器。
功能特性
包含 ESP 零件、装配体和单元的 SQLite 数据库
用于 AI 助手的 MCP 服务器 (SSE 传输)
MCP Apps UI - 在 Claude Desktop/Claude.ai 中渲染的交互式视图
命令行界面
REST API 服务器(可选)
Related MCP server: @splice-cad/mcp
安装
# Python dependencies
pip install -r requirements.txt
# Node.js dependencies for MCP Apps UI
cd mcp_app && npm install使用方法
架构
该系统由两部分组成:
Python MCP 服务器 - 核心数据库和工具
Node.js MCP 应用服务器 - 包装 Python 服务器的 UI 层
全栈(推荐)
# Terminal 1: Start Python MCP server on port 3001
python run_mcp.py --port 3001
# Terminal 2: Start MCP App UI server on port 8080
cd mcp_app && npm run serve
# Or with custom port: PORT=8081 npm run serve仅 Python MCP 服务器(CLI/REST)
# SSE transport (default for MCP)
python run_mcp.py --port 8080
# REST API (optional)
python api.py [port] # Default port: 5000CLI 命令
python cli.py esp list
python cli.py esp get ESP-001
python cli.py esp bom ESP-001
python cli.py parts get ESP-MTR-001
python cli.py assemblies get ASM-MTR-001MCP Apps UI 视图
MCP Apps 层提供了 5 个可在 Claude Desktop/Claude.ai 中渲染的交互式视图:
视图 | 工具 | 描述 |
仪表板 |
| 统计磁贴、关键零件警报、系列摘要 |
ESP 目录 |
| 带有筛选、创建、删除功能的 ESP 卡片 |
BOM 查看器 |
| 带有排序、导出 CSV 功能的 BOM 表 |
零件管理器 |
| 带有搜索、筛选、CRUD 功能的零件表 |
装配管理器 |
| 带有零件管理功能的装配卡片 |
使用视图
通过询问 Claude 来触发视图:
"Show me the ESP dashboard"
"Show ESP catalogue"
"Show BOM for ESP-001"
"Manage parts"
"Manage assemblies"
MCP 工具
ESP 工具
工具 | 描述 |
| 列出所有 ESP 泵模型 |
| 获取包含装配体和零件的完整 ESP |
| 获取 ESP 的扁平化 BOM 零件列表 |
| 获取 BOM 摘要(重量、数量、关键性) |
| 按系列筛选 ESP |
| ESP CRUD 操作 |
零件工具
工具 | 描述 |
| 列出所有零件 |
| 获取零件详情 |
| 按查询搜索零件 |
| 按类别筛选 |
| 列出关键零件 |
| 零件 CRUD |
装配工具
工具 | 描述 |
| 列出所有装配体 |
| 获取包含零件的装配体 |
| 查找使用该装配体的 ESP |
| 管理装配零件 |
| 更新零件数量 |
系统工具
工具 | 描述 |
| 数据库统计信息 |
| 服务器信息 |
MCP 资源
技能资源 (skill://)
迁移说明:技能 markdown 文件现在位于 .skills/ 而不是 skills/ 中。
每个 .skills/*.md 文件都会被自动发现并作为 skill://<filename> 公开。
使用 skill://index 查看实时目录和发现诊断信息。
资源 URI | 名称 | 描述 |
| 技能索引 | 已发现技能的聚合列表,包含描述和刷新状态 |
| ESP 选择与 BOM 就绪评估 | 指导代理对 ESP 候选者进行排名,并使用现有 MCP 工具生成 BOM 就绪/采购警报的指令资源 |
触发短语示例:
"Assess ESP selection and BOM readiness"
数据模型
零件 (Parts):单个组件 (part_number, name, category, material, weight_kg, is_critical, uom)
装配体 (Assemblies):零件组
ESP 单元 (ESP Units):连接装配体的顶层泵
Docker
本地开发
# Build and run both services
docker-compose up --build
# Python MCP server: http://localhost:3001
# MCP App UI: http://localhost:8080Google Cloud Run 部署
# Deploy Python MCP server
gcloud run deploy bom-mcp-server \
--source . \
--platform managed \
--region us-central1 \
--allow-unauthenticated许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Discover, plan and run tools across your connected business systems through one OAuth MCP endpoint
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
Related MCP Servers
- AlicenseBqualityBmaintenanceMCP server that gives LLMs access to petroleum engineering data and tools. Parse well logs, query production data, fit decline curves, calculate EUR, and run nodal analysis -- all through natural language with any MCP-compatible AI assistant.831MIT

@splice-cad/mcpofficial
AlicenseAqualityCmaintenanceMCP server for Splice CAD cable assembly and wiring harness design tool. Enables AI agents to search parts, build harness plans, create components with specs, and generate manufacturing documentation.2819 npm1MIT- AlicenseNot gradedqualityCmaintenanceExposes industrial motor telemetry data to AI agents via MCP and REST, enabling natural-language queries about motor status, health, and alerts. Provides a single tool and resource for retrieving real-time motor metrics and escalating critical conditions.MIT
- AlicenseNot gradedqualityCmaintenanceEnables LLMs to read and modify the EPLAN Electric P8 data model through MCP, including listing pages, reading devices and parts, copying circuits, renaming tags, and fixing texts.MIT