otelcol-mcp

otelcol-mcp

35

This project is an MCP server specifically designed for configuring OpenTelemetry Collectors. It enables dynamic configuration of components such as receivers, processors, and exporters through MCP tools.

OpenTelemetry Collector MCP Server

An MCP server implementation for configuring OpenTelemetry Collectors.

Features

  • Dynamic OpenTelemetry Configuration: Configure OpenTelemetry Collectors through MCP tools
  • Component Management: Add, remove, and configure receivers, processors, and exporters

Tools

  • Update Resources
    • Updates local resource files with the latest component information from GitHub
    • Returns statistics about updated components (receivers, processors, exporters)

Resources

  • Receivers: Lists all available OpenTelemetry receivers
  • Processors: Lists all available OpenTelemetry processors
  • Exporters: Lists all available OpenTelemetry exporters

Configuration

Usage with mcp clients

Add this to your mcp.json:

  • Define MCP server URLs

Development

To use it:

  1. Clone the repository
  2. Build the project using the provided build scripts
  3. Configure your MCP client

License

This MCP server is licensed under the GPL-3.0 License.