连接能力
mottibec otelcol mcp 为 AI Agent 提供什么
- **Dynamic OpenTelemetry Configuration**: Configure OpenTelemetry Collectors through MCP tools
- **Component Management**: Add, remove, and configure receivers, processors, and exporters
- **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)
- **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)
- Clone the repository
- Build the project using the provided build scripts
- Configure your MCP client to use the local server implementation
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
An MCP server implementation for configuring OpenTelemetry Collectors.
- Dynamic OpenTelemetry Configuration: Configure OpenTelemetry Collectors through MCP tools
- Component Management: Add, remove, and configure receivers, processors, and exporters
- 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)
-
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)
Add this to your mcp.json:
{
"mcpServers": {
"otelcol": {
"url": "http://localhost:3001/sse"
}
}
}This is a local implementation of an MCP server for OpenTelemetry configuration. To use it:
- Clone the repository
- Build the project using the provided build scripts
- Configure your MCP client to use the local server implementation
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.
社区
收藏、评分与讨论
正在载入社区数据…