power_defect_analysis_mcp
Provides tools for querying, summarizing, and analyzing thermal power plant defects and work orders stored in MySQL, including defect search, defect detail, work order summarization, and failure analysis.
Click on "Install 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., "@power_defect_analysis_mcpSummarize defects from the last week for unit 2 boiler"
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.
火电运维问数 MCP
该服务把生产工作流里的自由 SQL 查询替换为 8 个核心工具、2 个业务扩展工具和固定支持工具。Apache Ossie 模型是字段、维度、指标、状态和工具目录的唯一语义源;MCP 只消费经过验证的生成注册表。所有查询均为固定模板和参数化 SQL,不暴露 sql、where_sql、order_by_sql 等自由输入。
团队协作入口
Related MCP server: Common Database MCP Server
工具
核心工具:
search_equipmentsearch_defectsget_defect_detailsummarize_defectssearch_workordersget_workorder_detailsummarize_workordersanalyze_workorder_failures
扩展工具:analyze_workorder_materials、get_equipment_operation_summary。
此外提供 get_maintenance_dashboard 和 get_service_status 支持工具。前者负责能力导航、数据概况、数据时间边界和澄清消息;后者返回版本、语义指纹和可选数据库就绪状态。业务查询工具仍保持 8+2 的设计。
本地虚拟环境
uv sync --extra test
uv run pytest
uv run python app.py修改 semantic/power_operations.ossie.yaml 后必须重新编译:
uv run python scripts/compile_semantics.py
uv run python scripts/compile_semantics.py --check不要直接编辑 generated/ 下的文件。
本项目统一使用 uv 管理 .venv 和 uv.lock,不要直接运行 pip install 或 python -m venv。
容器启动
先按 database/README.md 部署版本化视图,再复制 .env.example 为 .env,填写只读 MySQL 账号和随机 MCP Token。该账号应只拥有 mcp_schema_version 及以下视图的 SELECT 权限:
vw_qa_defectvw_qa_defect_factvw_qa_work_ordervw_qa_work_order_fact
然后运行:
docker compose -f compose.example.yml up --build默认使用带 Bearer Token、Host/Origin 防护的 Streamable HTTP。Dify 中应配置 <domain>_mcp_auth_token,让意图识别节点输出 tool_name + arguments,不再输出 SQL。
运行端点:
/health/live:进程存活。/health/ready:数据库、Schema 版本及视图字段契约。/metrics:Prometheus 文本指标。
查询层使用有界连接池、并发信号量和 MySQL MAX_EXECUTION_TIME;容量耗尽时快速失败,不创建无限排队。
数据边界
缺陷按
defect_code去重,且没有可靠时间字段。工单按
workorder_code去重;只有计划开始、计划完成时间,没有实际完成时间。“超期”仅指计划完成时间早于查询基准时间,且状态不是已关闭、已取消、已作废。
单次明细或汇总返回上限为 50。
日志只记录工具名、参数数量、耗时和返回条数,不记录密码或结果数据。
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
- AlicenseBqualityCmaintenanceEnables secure database operations on SQL Server instances through a three-tier safety system, supporting schema exploration, query execution, performance analysis, and data export with configurable security levels from read-only to full development access.Last updated16264MIT
- Alicense-qualityDmaintenanceEnables safe exploration and querying of multiple databases (PostgreSQL, MySQL, SQLite, DB2) with read-only defaults, connection pooling, and parameterized queries for SQL injection prevention.Last updated1MIT
- Flicense-qualityDmaintenanceProvides secure, read-only access to Microsoft SQL Server with multi-layer protection, enabling safe query execution, schema discovery, and SQL script analysis through natural language.Last updated1
- Alicense-qualityBmaintenanceEnables read-only querying and diagnostics for dual SQL Server 2019 instances with rate limiting and security controls, accessible via MCP tools over HTTP.Last updatedMIT
Related MCP Connectors
55 tools, 7 Resources, Sigma rules, email SPF/DMARC, MITRE, CVE/KEV, risk_score. No key.
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
One key for 284 tools across 59 US public-data domains. Resale-safe government and open data.
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/gaoshang0408/power_defect_analysis_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server