Alarm-CMMS-MCP

Alarm-CMMS-MCP

This MCP server exposes industrial maintenance and work-order intelligence tools, allowing users to search assets, retrieve and correlate alarm events, and query CMMS work orders through a standardized protocol.

Category
访问服务器

README

⚙️ Maintenance & Work-Order Intelligence Copilot

An enterprise-grade, AI-driven Maintenance and Work-Order Intelligence Copilot built for platform architecture.

This copilot empowers reliability engineers and plant operators to investigate recurring alarm storms, query structured CMMS work orders, and extract grounded troubleshooting procedures from technical manuals through a unified natural-language interface.


  • Architecture Overview:
flowchart TD
    subgraph PRESENTATION["Presentation Layer"]
        GUI["Streamlit Web GUI<br/>• Interactive Chat Panel<br/>• Alarm & Work Order Tables<br/>• Document Citations<br/>• MCP Execution Trace Timeline"]
    end

    subgraph COPILOT["Copilot Orchestration Layer"]
        ORCH["LangGraph Copilot Orchestrator<br/>(Query Decomposition & Agent Logic)"]
        CLIENT["MCP Client Manager<br/>• Tool Discovery & Validation<br/>• Trace Propagation (X-Trace-ID)<br/>• Error & Timeout Handling"]
        RAG_ENG["Document RAG Engine<br/>• Vector Search & Grounding<br/>• Prompt Injection Guardrails<br/>• Citation Metadata Formatter"]
    end

    subgraph MCP_LAYER["Standardized Protocol Layer"]
        SERVER["FastMCP Server<br/>(Alarm-CMMS-MCP)<br/>Port: 9000"]
    end

    subgraph DATA_SOURCES["Data Sources & Core Backend"]
        SIMULATOR["Alarm API Simulator<br/>(FastAPI - Postman Spec Compliant)<br/>Port: 8000"]
        CMMS["CMMS Work-Order DB<br/>(SQLite Database)"]
        VECTOR_DB[("ChromaDB Vector Store<br/>(Equipment Manuals & SOPs)")]
    end

    GUI -->|HTTP / REST| ORCH
    ORCH --> CLIENT
    ORCH --> RAG_ENG

    CLIENT -->|JSON-RPC| SERVER
    RAG_ENG -->|Semantic Vector Search| VECTOR_DB

    SERVER -->|HTTP REST APIs| SIMULATOR
    SERVER -->|SQL Queries| CMMS

🎯 Selected Use Case

Maintenance and Work-Order Intelligence Copilot

🎯 Selected Use Case

Maintenance and Work-Order Intelligence Copilot

  • Business Scenario: Industrial reliability teams need to combine telemetry alarm behavior, CMMS maintenance history, and equipment manuals to identify assets requiring immediate intervention.
  • Core Value: Reconciles structured alarm and CMMS data with unstructured operating manuals using canonical asset identifiers (BFP-101), eliminating manual cross-referencing during alarm floods.

✨ Main Capabilities

  1. Natural-Language Query Understanding: Decomposes complex plant queries into structured intent and multi-step tool execution plans.
  2. Standardized Model Context Protocol (MCP) Integration: Exposes Alarm Management APIs and CMMS databases as standardized, typed tools using FastMCP.
  3. Document RAG with Security Guardrails: Vector search over equipment manuals using ChromaDB and SentenceTransformers, equipped with prompt-injection defenses and strict similarity thresholds.
  4. End-to-End Traceability & Observability: Live execution timeline showing tool invocations, inputs, trace headers (X-Trace-ID), and document confidence scores directly in the UI.
  5. Zero-Cost Offline Execution: Includes an offline rule-based mock engine that allows running all automated tests and UI demos without requiring paid external LLM API keys.

🛠️ Technology Stack

Component Technology
User Interface Streamlit
Copilot Orchestration LangGraph / Python Async Engine
MCP Server & Client FastMCP / Model Context Protocol SDK
Backend & Simulator FastAPI, Uvicorn, SQLite
Vector Store & Embeddings ChromaDB, sentence-transformers/all-MiniLM-L6-v2
Testing & Quality PyTest, PyTest-Asyncio, Ruff
Packaging & CI Docker, Docker Compose, GitHub Actions

🔌 MCP Server Description & Tool Catalog

The candidate-developed MCP server exposes backend source-system capabilities over standard JSON-RPC interface contracts.

Registered MCP Tools

Tool Name Description Source System Operation
search_assets Resolves asset names/keywords into canonical Asset IDs GET /assets/search
get_alarms Fetches active or historical alarm events for an asset GET /alarms
get_alarm_summary Calculates aggregated KPIs, recurring rates, and trends POST /alarms/summary
get_alarm_correlation Advanced Operation: Performs cross-asset event correlation POST /alarms/correlation
get_cmms_work_orders Queries structured maintenance work orders and costs GET /api/v1/cmms/work_orders

For complete input/output JSON schemas, trace header propagation details, and error mapping, see docs/mcp-tool-catalog.md.

Independent MCP Server Launch Command

$env:PYTHONPATH="."
python -m mcp_servers.alarm_management.server


推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选