senior-copilot-mcp-rag-assignment
Click on "Deploy 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., "@senior-copilot-mcp-rag-assignmentInvestigate alarm A-104 on compressor C-202 and suggest next steps."
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.
Alarm Investigation and Procedure Guidance Copilot
This repository implements an evidence-backed alarm investigation workflow using:
a FastAPI-based Alarm Management API simulator
a candidate-developed MCP server exposing alarm operations as typed tools
a Streamlit GUI that discovers and invokes MCP tools
a document RAG workflow over alarm procedures and troubleshooting guides
Main capabilities
Natural-language alarm investigation requests
MCP tool discovery and invocation for asset search, metadata lookup, alarm retrieval, summaries, priority scoring, and recommendations
RAG-backed evidence using operating procedures and maintenance documents
Tool trace and raw response inspection in the UI
Related MCP server: OpsLens AI MCP Server
Technology stack
Python 3.11+
FastAPI
Streamlit
scikit-learn for TF-IDF retrieval
pytest
MCP server
The MCP server is implemented under apps/mcp_server and exposes the following tools:
asset_searchasset_metadataalarm_retrievalalarm_summarypriority_scoreoperator_recommendations
Start the MCP server independently:
uvicorn apps.mcp_server.main:app --host 0.0.0.0 --port 9000Alarm API backend
Start the backend simulator:
uvicorn apps.backend.main:app --host 0.0.0.0 --port 8000Streamlit UI
Start the GUI:
streamlit run apps/frontend/app.pyRAG workflow
Documents are stored under rag/documents and ingested through the existing TF-IDF index in apps/backend/rag.py.
Tests
python -m pytest -qConfiguration
Copy .env.example and adjust values as needed.
Architecture summary
This server cannot be deployed
Maintenance
Related MCP Connectors
Protocol-native energy infrastructure orchestration for AI data centers. Provides 46 MCP tools across 8 grid protocols (IEC-61850, DNP3, Modbus, OCPP, OpenADR, IEEE 2030.5, IEC 60870-5-104, ICCP) with 5 core API primitives: connect, dispatch, settle, comply, and intel. Enables AI agents to programmatically interact with substations, grid interfaces, and energy assets for real-time workload-grid coordination.
MCP-Native LLM Orchestration Agent
Enrich, search, assess, and manage threat intelligence through 80+ typed MCP tools.
Salesforce-grounded retrieval, diagnoses, and a vetted-Force marketplace for MCP clients.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to monitor and analyze industrial process data from DCS/SCADA systems via MCP protocol, with domain expert knowledge for anomaly detection and recommendations.-
- FlicenseNot gradedqualityBmaintenanceProvides MCP tools to search engineering runbooks and historical incidents using semantic retrieval, supporting evidence-grounded incident investigation.-
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to investigate production incidents by exposing service health, logs, and deployment data through MCP tools.5 npm-
- AlicenseNot gradedqualityBmaintenanceEnables plant operators to query alarm data, asset information, trends, correlations, and operator recommendations through 14 tools, forming a core part of a multi-MCP enterprise operations copilot.MIT