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: maximo-mcp-ai-integration
安装
# 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceAllows AI to interact with Autodesk Revit via the MCP protocol, enabling retrieval of project data and automation of tasks like creating, modifying, and deleting elements.1391452MIT
- AlicenseNot gradedqualityDmaintenancehe Maximo MCP Server bridges AI agents (Claude, Cursor, Antigravity) with your IBM Maximo environment. It empowers your AI to autonomously discover Object Structures (APIs), inspect schemas, and query live data via OSLC. Instead of hallucinating field names, the AI validates queries instantly and ca508Apache 2.0
petropt/petro-mcpprivate
AlicenseAqualityBmaintenanceMCP 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- AlicenseCqualityDmaintenanceMCP server enables AI assistants to interact with BOS ERP System via REST API, providing 69 tools for business operations such as health checks, product management, orders, customers, inventory, and more.1001MIT
Related MCP Connectors
Connect MCP clients to 2,000+ AI models without managing provider API keys.
MCP server for AI access to Swagger by SmartBear.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
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/agsinghmac/bom-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server