MCP ExplorerExplorer

Otel Mcp

@mottibecon 9 months ago
38 GPL-3.0
FreeCommunity
AI Systems
The OTEL MCP Server

Overview

What is Otel Mcp

otel-mcp is an implementation of an MCP server designed for configuring OpenTelemetry Collectors, allowing for dynamic management of telemetry components.

Use cases

Use cases for otel-mcp include configuring telemetry data collection in distributed systems, managing component configurations dynamically, and integrating with existing OpenTelemetry setups.

How to use

To use otel-mcp, clone the repository, build the project using the provided scripts, and configure your MCP client with the local server URL in the mcp.json file.

Key features

Key features include dynamic OpenTelemetry configuration, component management for receivers, processors, and exporters, and tools for updating local resource files with the latest component information.

Where to use

otel-mcp can be used in environments where OpenTelemetry is implemented, such as cloud services, microservices architectures, and observability platforms.

Content

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
    • No input parameters required
    • Returns statistics about updated components (receivers, processors, exporters)

Resources

  • Receivers (receivers://receivers)

    • Lists all available OpenTelemetry receivers
    • Returns receiver metadata including name, description, and stability
  • Processors (processors://processors)

    • Lists all available OpenTelemetry processors
    • Returns processor metadata including name, description, and stability
  • Exporters (exporters://exporters)

    • Lists all available OpenTelemetry exporters
    • Returns exporter metadata including name, description, and stability
  • Component Schemas (component://{type}/{name})

    • Retrieves configuration schema for specific components
    • Supports listing all available schemas or getting a specific component’s schema
    • Parameters:
      • type: Component type (“receiver”, “processor”, or “exporter”)
      • name: Name of the specific component (optional)

Configuration

Usage with mcp clients

Add this to your mcp.json:

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

Development

This is a local implementation of an MCP server for OpenTelemetry configuration. To use it:

  1. Clone the repository
  2. Build the project using the provided build scripts
  3. Configure your MCP client to use the local server implementation

License

This MCP server is licensed under the GPL-3.0 License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the GPL-3.0 License. For more details, please see the LICENSE file in the project repository.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers