Skip to main content
Glama
nielsvbrecht

MeteoControl MCP Server

by nielsvbrecht

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

手动安装

  1. 克隆仓库:

    git clone https://github.com/your-org/meteocontrol-mcp.git
    cd meteocontrol-mcp
  2. 安装依赖并构建:

    npm install
    npm run build

使用方法

安装完成后,您可以向 Gemini 询问有关您的太阳能系统的问题:

  • “列出我的太阳能系统。”

  • “系统 [systemKey] 过去 24 小时的能源产量是多少?”

  • “向我展示系统 [systemKey] 中 INV1 的技术细节。”

多租户使用 (BYOC)

如果您使用的是共享 MCP 服务器,则可以直接在提示词中提供您自己的凭据,或在本地进行配置。这些工具接受可选的 apiKeyuserpassword 参数。

预配置命令

  • /health [systemKey]:执行全面的站点健康检查。

  • /yield [systemKey]:检索并汇总能源生产数据。

部署与托管

该服务器支持多种运行模式:

1. 本地模式 (Stdio)

这是 Gemini CLI 使用的默认模式。

  • 命令: node dist/index.js

  • 设置:gemini-extension.json 中使用 commandargs 定义。

2. 远程模式 (SSE)

使用此模式可在中央服务器上为多个用户托管 MCP 服务器。

安全性:生成访问令牌

远程模式出于安全考虑需要强制使用 MCP_SERVER_TOKEN。您可以使用以下命令生成安全令牌:

openssl rand -base64 32

服务器配置

  • 环境变量:

    • MCP_TRANSPORT=sse

    • MCP_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 中,添加 urlAuthorization 标头:

{
  "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 tools
get_alertsD
ParametersJSON Schema
NameRequiredDescriptionDefault
systemKeyYesThe unique key/ID of the solar system.
apiKeyNoOptional: MeteoControl API Key (if not set on server)
userNoOptional: MeteoControl Username (if not set on server)
passwordNoOptional: MeteoControl Password (if not set on server)

TDQS

D1/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Tool has no description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Tool has no description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has no description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Tool has no description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tool has no description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Tool has no description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_asset_infoD
ParametersJSON Schema
NameRequiredDescriptionDefault
systemKeyYesThe unique key/ID of the solar system.
apiKeyNoOptional: MeteoControl API Key (if not set on server)
userNoOptional: MeteoControl Username (if not set on server)
passwordNoOptional: MeteoControl Password (if not set on server)

TDQS

D1/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Tool has no description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Tool has no description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has no description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Tool has no description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tool has no description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Tool has no description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_energy_dataD
ParametersJSON Schema
NameRequiredDescriptionDefault
systemKeyYesThe unique key/ID of the solar system.
fromYesThe start date and time (ISO 8601).
toYesThe end date and time (ISO 8601).
apiKeyNoOptional: MeteoControl API Key (if not set on server)
userNoOptional: MeteoControl Username (if not set on server)
passwordNoOptional: MeteoControl Password (if not set on server)

TDQS

D1/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Tool has no description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Tool has no description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has no description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Tool has no description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tool has no description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Tool has no description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_systemsD
ParametersJSON Schema
NameRequiredDescriptionDefault
apiKeyNoOptional: MeteoControl API Key (if not set on server)
userNoOptional: MeteoControl Username (if not set on server)
passwordNoOptional: MeteoControl Password (if not set on server)

TDQS

D1/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Tool has no description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Tool has no description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has no description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Tool has no description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tool has no description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Tool has no description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 4 tool updatesv1.0.0
    • First observedget_alerts
    • First observedget_asset_info
    • First observedget_energy_data
    • First observedlist_systems

TDQS

C2/5.0
Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count4/5

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.

Completeness3/5

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

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An 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
  • A
    license
    Not graded
    quality
    D
    maintenance
    A 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
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for EG4 solar inverters, enabling real-time monitoring, performance analysis, battery health, alerts, maintenance insights, and historical data via natural language.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A 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.
    4
    MIT

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/nielsvbrecht/meteocontrol-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server