OpenTelemetry Collector MCP Server

Integrations

  • Updates local resource files with the latest OpenTelemetry component information from GitHub repositories.

  • Provides dynamic configuration capabilities for OpenTelemetry Collectors, allowing users to add, remove, and configure receivers, processors, and exporters through MCP tools.

OpenTelemetry 收集器 MCP 服务器

用于配置 OpenTelemetry Collectors 的 MCP 服务器实现。

特征

  • 动态 OpenTelemetry 配置:通过 MCP 工具配置 OpenTelemetry 收集器
  • 组件管理:添加、删除和配置接收器、处理器和导出器

工具

  • 更新资源
    • 使用来自 GitHub 的最新组件信息更新本地资源文件
    • 无需输入参数
    • 返回有关更新组件(接收器、处理器、导出器)的统计信息

资源

  • 接收器receivers://receivers
    • 列出所有可用的 OpenTelemetry 接收器
    • 返回接收器元数据,包括名称、描述和稳定性
  • 处理器( processors://processors )
    • 列出所有可用的 OpenTelemetry 处理器
    • 返回处理器元数据,包括名称、描述和稳定性
  • 出口商exporters://exporters
    • 列出所有可用的 OpenTelemetry 导出器
    • 返回导出器元数据,包括名称、描述和稳定性
  • 组件模式component://{type}/{name}
    • 检索特定组件的配置模式
    • 支持列出所有可用架构或获取特定组件的架构
    • 参数:
      • type :组件类型(“接收器”、“处理器”或“导出器”)
      • name :特定组件的名称(可选)

配置

与 mcp 客户端一起使用

将其添加到您的mcp.json中:

{ "mcpServers": { "otelcol": { "url": "http://localhost:3001/sse" } } }

发展

这是用于 OpenTelemetry 配置的 MCP 服务器的本地实现。使用方法如下:

  1. 克隆存储库
  2. 使用提供的构建脚本构建项目
  3. 配置您的 MCP 客户端以使用本地服务器实现

执照

此 MCP 服务器采用 GPL-3.0 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 GPL-3.0 许可证的条款和条件。更多详细信息,请参阅项目仓库中的 LICENSE 文件。

-
security - not tested
A
license - permissive license
-
quality - not tested

MCP 服务器实现,可实现 OpenTelemetry Collectors 的动态配置,允许用户通过 MCP 工具添加、删除和配置接收器、处理器和导出器。

  1. Features
    1. Tools
      1. Resources
        1. Configuration
          1. Usage with mcp clients
        2. Development
          1. License
            ID: x6kle30389