Skip to main content
Glama

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

使用方法

架构

该系统由两部分组成:

  1. Python MCP 服务器 - 核心数据库和工具

  2. 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: 5000

CLI 命令

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-001

MCP Apps UI 视图

MCP Apps 层提供了 5 个可在 Claude Desktop/Claude.ai 中渲染的交互式视图:

视图

工具

描述

仪表板

view_dashboard

统计磁贴、关键零件警报、系列摘要

ESP 目录

view_esp_catalogue

带有筛选、创建、删除功能的 ESP 卡片

BOM 查看器

view_esp_bom

带有排序、导出 CSV 功能的 BOM 表

零件管理器

manage_parts

带有搜索、筛选、CRUD 功能的零件表

装配管理器

manage_assemblies

带有零件管理功能的装配卡片

使用视图

通过询问 Claude 来触发视图:

  • "Show me the ESP dashboard"

  • "Show ESP catalogue"

  • "Show BOM for ESP-001"

  • "Manage parts"

  • "Manage assemblies"

MCP 工具

ESP 工具

工具

描述

list_esps

列出所有 ESP 泵模型

get_esp

获取包含装配体和零件的完整 ESP

get_esp_bom

获取 ESP 的扁平化 BOM 零件列表

get_bom_summary

获取 BOM 摘要(重量、数量、关键性)

get_esps_by_series

按系列筛选 ESP

create_esp, update_esp, delete_esp

ESP CRUD 操作

零件工具

工具

描述

list_parts

列出所有零件

get_part

获取零件详情

search_parts

按查询搜索零件

get_parts_by_category

按类别筛选

get_critical_parts

列出关键零件

create_part, update_part, delete_part

零件 CRUD

装配工具

工具

描述

list_assemblies

列出所有装配体

get_assembly

获取包含零件的装配体

get_assembly_esps

查找使用该装配体的 ESP

add_part_to_assembly, remove_part_from_assembly

管理装配零件

update_assembly_part_quantity

更新零件数量

系统工具

工具

描述

get_stats

数据库统计信息

get_server_info

服务器信息

MCP 资源

技能资源 (skill://)

迁移说明:技能 markdown 文件现在位于 .skills/ 而不是 skills/ 中。 每个 .skills/*.md 文件都会被自动发现并作为 skill://<filename> 公开。 使用 skill://index 查看实时目录和发现诊断信息。

资源 URI

名称

描述

skill://index

技能索引

已发现技能的聚合列表,包含描述和刷新状态

skill://esp_selection_bom_readiness

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:8080

Google Cloud Run 部署

# Deploy Python MCP server
gcloud run deploy bom-mcp-server \
  --source . \
  --platform managed \
  --region us-central1 \
  --allow-unauthenticated

许可证

MIT

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
<1hResponse time
Release cycle
Releases (12mo)
Commit activity
Issues opened vs closed

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    he 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 ca
    50
    8
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    MCP 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.
    83
    1
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    MCP 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.
    100
    1
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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