MeteoControl MCP Server
MeteoControl MCP 服务器
一个用于 MeteoControl VCOM API v2 的模型上下文协议 (MCP) 服务器。此扩展允许您通过 Gemini CLI 使用自然语言监控太阳能阵列、检索能源生产数据并执行系统健康检查。
功能
系统发现: 列出与您的账户关联的所有太阳能系统。
能源监控: 检索历史能源生产数据 (Wh/kWh/MWh)。
资产信息: 获取有关面板、逆变器和站点容量的技术细节。
实时功率: 检查瞬时交流功率输出。
多传输支持: 通过 Stdio 本地运行或通过 SSE 远程托管。
多租户 (BYOC): 在共享环境中支持“自带凭据”。
Related MCP server: Tigo Energy MCP Server
安装
通过 Gemini CLI(推荐)
直接从 GitHub 安装扩展:
gemini extensions add https://github.com/your-org/meteocontrol-mcp手动安装
克隆仓库:
git clone https://github.com/your-org/meteocontrol-mcp.git cd meteocontrol-mcp安装依赖并构建:
npm install npm run build
使用方法
安装完成后,您可以向 Gemini 询问有关您的太阳能系统的问题:
“列出我的太阳能系统。”
“系统 [systemKey] 过去 24 小时的能源产量是多少?”
“向我展示系统 [systemKey] 中 INV1 的技术细节。”
多租户使用 (BYOC)
如果您使用的是共享 MCP 服务器,则可以直接在提示词中提供您自己的凭据,或在本地进行配置。这些工具接受可选的 apiKey、user 和 password 参数。
预配置命令
/health [systemKey]:执行全面的站点健康检查。/yield [systemKey]:检索并汇总能源生产数据。
部署与托管
该服务器支持多种运行模式:
1. 本地模式 (Stdio)
这是 Gemini CLI 使用的默认模式。
命令:
node dist/index.js设置: 在
gemini-extension.json中使用command和args定义。
2. 远程模式 (SSE)
使用此模式可在中央服务器上为多个用户托管 MCP 服务器。
安全性:生成访问令牌
远程模式出于安全考虑需要强制使用 MCP_SERVER_TOKEN。您可以使用以下命令生成安全令牌:
openssl rand -base64 32服务器配置
环境变量:
MCP_TRANSPORT=sseMCP_SERVER_TOKEN=your_generated_token(必需)PORT=3000(可选,默认为 3000)
运行命令:
MCP_TRANSPORT=sse MCP_SERVER_TOKEN=your_token node dist/index.js
3. Docker 模式
您可以将服务器作为容器运行,以便于部署。
用于 Stdio 模式 (CLI 使用):
docker run -i --rm \
-e METEOCONTROL_API_KEY=your_key \
-e METEOCONTROL_USER=your_user \
-e METEOCONTROL_PASSWORD=your_password \
ghcr.io/your-org/meteocontrol-mcp:latest用于 SSE 模式 (托管使用):
docker run -d \
-p 3000:3000 \
-e MCP_TRANSPORT=sse \
-e MCP_SERVER_TOKEN=your_token \
-e METEOCONTROL_API_KEY=your_key \
-e METEOCONTROL_USER=your_user \
-e METEOCONTROL_PASSWORD=your_password \
ghcr.io/your-org/meteocontrol-mcp:latest客户端配置 (针对 SSE)
在您的本地 .gemini/settings.json 中,添加 url 和 Authorization 标头:
{
"mcpServers": {
"meteocontrol": {
"url": "https://your-mcp-server.com/sse",
"headers": {
"Authorization": "Bearer your_generated_token"
}
}
}
}配置
服务器与 MeteoControl 通信需要以下环境变量(除非在每个请求中提供了凭据):
METEOCONTROL_API_KEY:您的 VCOM API 密钥。METEOCONTROL_USER:您的 VCOM 用户名(电子邮件)。METEOCONTROL_PASSWORD:您的 VCOM 密码。
许可证
Apache License 2.0
Available Tools
4 toolsget_alertsD
Inputs: systemKey (required), apiKey, user, password.
get_asset_infoD
Inputs: systemKey (required), apiKey, user, password.
get_energy_dataD
Inputs: systemKey (required), from (required), to (required), apiKey, +2 more.
list_systemsD
Inputs: apiKey, user, password.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: get_alerts retrieves alerts, get_asset_info provides asset details, get_energy_data handles energy data, and list_systems lists systems. There is no overlap or ambiguity between these functions, making it easy for an agent to select the correct tool.
All tool names follow a consistent verb_noun pattern with 'get_' or 'list_' prefixes, using snake_case uniformly. This predictable naming scheme enhances readability and reduces confusion for agents.
With 4 tools, the count is reasonable for a server focused on meteorological control, but it feels slightly thin for comprehensive coverage. It includes core functions like alerts, assets, energy data, and systems, but might benefit from additional tools for broader operations.
The tools cover key read operations (get and list), but there are notable gaps in CRUD coverage, such as missing create, update, or delete functions for alerts, assets, energy data, or systems. This could limit agents in performing full lifecycle management tasks.
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
MCP server for Uptrack uptime monitoring. Manage monitors and incidents from AI agents.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Hosted MCP server for live public-data APIs and Skills for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to look up solar permitting authorities, estimate solar production via PVWatts, and retrieve irradiance data. It streamlines the creation of solar-aware workflows by integrating industry-standard APIs like NREL.MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that provides comprehensive access to Tigo Energy solar system data and analytics. It enables AI assistants to interact with your Tigo solar monitoring system to retrieve production data, performance metrics, system health information, and maintenance insights.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for EG4 solar inverters, enabling real-time monitoring, performance analysis, battery health, alerts, maintenance insights, and historical data via natural language.1MIT
- AlicenseAqualityCmaintenanceA lean Model Context Protocol (MCP) server that gives AI assistants like Claude structured access to a SolarEdge PV installation via the official SolarEdge Monitoring API.4MIT