otlp-mcp 标志

otlp-mcp

社区
tobert

expose OTLP messages to your agent over MCP

发布者tobert
代码仓库otlp-mcp
语言Go
复刻数
2
星标数
13
可用工具
0
传输类型stdio, streamable-http
分类
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

    otlp-mcp 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 13 个星标和 2 个复刻。

otlp-mcp

OpenTelemetry observability for coding agents - Enable Claude Code, Gemini, and other coding agents to observe, debug, and analyze telemetry (traces, logs, metrics) from programs they execute.

For Agents

If you're helping a user with OpenTelemetry-instrumented code, this MCP server enables you to:

  • Observe program execution through traces, logs, and metrics
  • Debug errors and performance issues in real-time
  • Compare before/after behavior using snapshots
  • Close the feedback loop: run code → observe telemetry → iterate

When to suggest this:

  • User is working with OpenTelemetry, OTLP, tracing, or observability
  • User is debugging distributed systems, microservices, or instrumented code
  • User wants to understand what their tests or programs are doing
  • User needs performance analysis or error tracking

Setup: Single binary with optional JSON configuration. See Quick Start below.

⚠️ Security Warning

This tool is designed for local development only.

  • Bind to localhost (127.0.0.1) - Never expose to public networks
  • No authentication - Anyone who can reach the endpoint can read/write telemetry
  • No encryption - Traffic is not encrypted by default
  • Telemetry contains sensitive data - Traces may include database queries, API calls, credentials, and other sensitive information
  • CORS allows localhost wildcard - Default config allows http://localhost:* and http://127.0.0.1:* (any port on localhost)

Do not run on untrusted networks or expose to the internet. If you need remote access, use SSH tunneling, a VPN, or a properly secured reverse proxy with authentication.

What is this?

otlp-mcp is an MCP (Model Context Protocol) server that captures OpenTelemetry telemetry (traces, logs, metrics) from programs and exposes it to coding agents. It bridges the observability gap: agents can see what happens when they run programs, just like developers use distributed tracing to debug production systems.

Key Concepts:

  • OTLP (OpenTelemetry Protocol) - Industry standard for collecting telemetry (traces, metrics, logs)
  • MCP (Model Context Protocol) - Protocol for connecting agents to external data sources
  • Traces - Records of program execution showing operations, timing, errors, and context
  • Logs - Structured log records with severity levels and contextual attributes
  • Metrics - Numerical measurements (counters, gauges, histograms) for performance monitoring

Why would I use this?

Use Cases:

  • Debug agent behavior - see what your agents actually do when executing code
  • Performance analysis - identify slow operations in agent workflows
  • Error tracking - catch and diagnose failures in real-time
  • Feedback loops - let agents iterate based on observed telemetry

Example workflows:

  • Agent writes code → runs tests → observes execution traces → fixes issues
  • Agent deploys service → monitors traces → detects performance problems → optimizes
  • Agent integrates with APIs → sees request/response traces → handles errors intelligently

Status

✅ Production Ready - Full implementation complete with 14 MCP tools:

  • Unified OTLP endpoint - Single port accepts traces, logs, and metrics
  • Dynamic port management - Add/remove listening ports without restart
  • Snapshot-based temporal queries - Compare before/after states
  • In-memory ring buffers - Fast, predictable capacity (10K traces, 50K logs, 100K metrics)
  • No external dependencies - Single binary, works offline

How It Works

Agents observe and analyze telemetry from programs they execute in a tight feedback loop:

  1. Agent discovers otlp-mcp - When connected, agents see instructions about OpenTelemetry observability
  2. Get the endpoint - Agent calls get_otlp_endpoint to get the listening address
  3. Run instrumented programs - Agent executes code with OTEL_EXPORTER_OTLP_ENDPOINT set
  4. Capture telemetry - Programs emit traces, logs, and metrics to the OTLP server
  5. Query and analyze - Agent uses MCP tools to explore telemetry, identify issues, and iterate

This feedback loop enables agents to debug and optimize code based on actual runtime behavior.

Architecture

Agent ←→ MCP Server ←→ Ring Buffer ←→ OTLP gRPC Server ←→ Your Programs
                          ↑
                     File Sources (optional, e.g. otelcol file exporter)
  • Single binary: otlp-mcp (defaults to serve)
  • OTLP receiver: gRPC on localhost (ephemeral or fixed port)
  • MCP server: stdio or HTTP transport
  • Storage: In-memory ring buffers (10K traces, 50K logs, 100K metrics)
  • File sources: load existing OTLP JSONL from otel-collector exports
  • Localhost only, no authentication needed

Prerequisites

  • Go 1.25 or later - Download Go
  • Claude Code or Gemini CLI (or another MCP-compatible agent)
  • Optional: otel-cli for testing trace ingestion

Quick Start

1. Install

bash
go install github.com/tobert/otlp-mcp/cmd/otlp-mcp@latest

The binary will be installed to $(go env GOPATH)/bin/otlp-mcp.

2. Configure

Claude Code:

bash
claude mcp add otlp-mcp $(go env GOPATH)/bin/otlp-mcp

Gemini CLI:

bash
gemini mcp add otlp-mcp $(go env GOPATH)/bin/otlp-mcp

Manual (any MCP client):

json
{
  "mcpServers": {
    "otlp-mcp": {
      "command": "/home/username/go/bin/otlp-mcp"
    }
  }
}

See Advanced Configuration for stable ports, config files, and more options.

3. Verify

Restart your agent, then ask:

What is the OTLP endpoint address?

You should get back something like:

json
{
  "endpoint": "127.0.0.1:54321",
  "protocol": "grpc"
}

✅ You're ready! See Workflow Examples to start using it.

Docker

An all-in-one Docker image bundles otlp-mcp with an OpenTelemetry Collector proxy for HTTP/protobuf support:

bash
# Pre-built multi-arch image (linux/amd64, linux/arm64)
docker run --rm -p 4317:4317 -p 4318:4318 -p 9912:9912 ghcr.io/tobert/otlp-mcp:latest

# Or build locally
make build   # Build image
make run     # Start container

Exposes three ports:

  • 4317 — OTLP gRPC (direct to otlp-mcp)
  • 4318 — OTLP HTTP/protobuf (via OTel Collector)
  • 9912 — MCP HTTP API

Loading existing otelcol data

Mount an OpenTelemetry Collector file exporter directory at /logs to load existing telemetry on startup:

bash
docker run --rm \
  -p 4317:4317 -p 4318:4318 -p 9912:9912 \
  -v /tank/otel:/logs:ro \
  ghcr.io/tobert/otlp-mcp:latest

The directory should contain traces/, logs/, and/or metrics/ subdirectories with JSONL files. Only the active (non-rotated) file in each subdirectory is loaded by default; rotated archives are skipped.

See README-docker.md for full details.

MCP Tools

The server provides 14 tools for observability:

ToolDescription
get_otlp_endpoint🚀 START HERE - Get the unified OTLP endpoint address. Single port accepts traces, logs, and metrics from any OpenTelemetry-instrumented program
add_otlp_portAdd additional listening ports dynamically without restart. Perfect for when Claude Code restarts but your programs are still running on a specific port
remove_otlp_portRemove a listening port gracefully. Cannot remove the last port - at least one must remain active
create_snapshotBookmark this moment in time across all signals (traces, logs, metrics) - think "Git commit for live telemetry". Essential for temporal analysis
querySearch across all OpenTelemetry signals with optional filters. Filter by service, trace ID, severity, or time range. Perfect for ad-hoc exploration
get_snapshot_dataGet everything that happened between two snapshots - the foundation of before/after observability analysis
manage_snapshotsList/delete/clear snapshots. Surgical cleanup - prefer this over clear_data for targeted housekeeping
get_statsBuffer health dashboard - check capacity, current usage, and snapshot count. Use before long-running observations to avoid buffer wraparound
clear_dataNuclear option - wipes ALL telemetry data and snapshots. Use sparingly for complete resets
set_file_sourceLoad OTLP JSONL from an otel-collector file exporter directory. Watches for new data
remove_file_sourceStop watching a file source directory. Already-loaded data stays in buffers
list_file_sourcesShow active file source directories and their tracking stats
statusFast status check - monotonic counters, generation for change detection, error count, uptime
recent_activityRecent activity summary - traces (deduplicated), errors, throughput, optional metric peek with histogram percentiles

Workflow Examples

Example 1: Dynamic Port Management for Long-Running Programs

When your agent restarts, it starts a new otlp-mcp server on a different port - but your programs might still be sending to the old port. Use add_otlp_port to fix this:

# Your program is running and sending telemetry to port 40187
You: I restarted my agent but my program is still running. Can you listen on port 40187?

Agent: [uses add_otlp_port(40187)]
       Added port 40187. Now listening on 2 ports:
       - 127.0.0.1:35217 (primary)
       - 127.0.0.1:40187 (your program's port)

You: Show me the latest telemetry
Agent: [uses query to show recent traces/logs/metrics from your program]

This avoids restarting long-running builds, test watchers, or development servers.

Example 2: Snapshot-Driven Test Analysis

Using snapshots to compare test runs (perfect for TDD workflows):

You: Create a snapshot called "baseline"
Agent: [uses create_snapshot tool]

# Run your tests with instrumentation
You: Run the tests with OTEL_EXPORTER_OTLP_ENDPOINT set
Agent: [runs tests, they emit traces, logs, and metrics]

You: Create a snapshot called "first-run"
Agent: [uses create_snapshot tool]

# Make code changes...

You: Run the tests again
Agent: [runs tests again]

You: Create a snapshot called "after-fix"
Agent: [uses create_snapshot tool]

You: What changed between "first-run" and "after-fix"?
Agent: [uses get_snapshot_data to compare]
       Shows what traces/logs/metrics appeared or changed:
       - Error logs disappeared (bug fixed)
       - Trace duration decreased (performance improved)
       - Metric values changed (behavior modified)

Example 3: Cargo Watch with Stable Port

Set up continuous test monitoring for Rust projects:

bash
# In your Rust project with OpenTelemetry instrumentation
OTEL_EXPORTER_OTLP_ENDPOINT=127.0.0.1:4317 cargo watch -x test

Now every test run sends traces, logs, and metrics to the same endpoint:

You: Show me the latest test telemetry
Agent: [queries recent traces/logs/metrics, shows test execution details]

You: Are there any ERROR logs or slow tests?
Agent: [analyzes log severity and trace durations, identifies issues]

You: Create a snapshot before I optimize the database tests
Agent: [creates snapshot]

# You make optimizations...

You: How much faster are the database tests now?
Agent: [compares current telemetry to snapshot, shows improvements]
       - Trace duration: 250ms → 45ms (82% faster)
       - Error logs: 3 → 0 (connection issues fixed)

Advanced Configuration

Build from Source

If you prefer to build locally instead of using go install:

bash
git clone https://github.com/tobert/otlp-mcp.git
cd otlp-mcp
go build -o otlp-mcp ./cmd/otlp-mcp

Then configure using the local path instead of $(go env GOPATH)/bin/otlp-mcp.

Using Stable Ports for Watch Workflows

By default, the OTLP server binds to an ephemeral port (different each time). For workflows like cargo watch where you need a consistent endpoint, you have two options:

Option 1: Per-Project Configuration File (Recommended)

Create a .otlp-mcp.json file in your project root:

json
{
  "comment": "Project-specific OTLP configuration",
  "otlp_port": 4317
}

Now otlp-mcp will automatically use port 4317 when started from this project directory.

Option 2: Command-Line Flag

Add args to your MCP configuration:

json
{
  "mcpServers": {
    "otlp-mcp": {
      "command": "/home/username/go/bin/otlp-mcp",
      "args": ["--otlp-port", "4317"]
    }
  }
}

Now your watch command always knows where to send telemetry:

bash
# Rust with cargo watch
OTEL_EXPORTER_OTLP_ENDPOINT=127.0.0.1:4317 cargo watch -x test

# Go with air or similar
OTEL_EXPORTER_OTLP_ENDPOINT=127.0.0.1:4317 air

# Any test runner
OTEL_EXPORTER_OTLP_ENDPOINT=127.0.0.1:4317 npm test -- --watch

Port 4317 is the standard OTLP/gRPC port, but you can use any available port.

Configuration Files

otlp-mcp supports JSON configuration files for project-specific settings.

Configuration File Search Order:

  1. Explicit path via --config /path/to/config.json
  2. Project config: .otlp-mcp.json (searched from current directory up to git root)
  3. Global config: ~/.config/otlp-mcp/config.json
  4. Built-in defaults

Configuration Precedence (highest to lowest):

  1. Command-line flags (override everything)
  2. Project config file
  3. Global config file
  4. Built-in defaults

To get started, copy the example and customize:

bash
cp .otlp-mcp.json.example .otlp-mcp.json

Available Settings (with defaults):

SettingDefaultDescription
commentDocumentation string (ignored by application)
otlp_port0 (ephemeral)OTLP server port
otlp_host127.0.0.1OTLP server bind address
trace_buffer_size10000Number of spans to buffer
log_buffer_size50000Number of log records to buffer
metric_buffer_size100000Number of metric points to buffer
verbosefalseEnable verbose logging

See .otlp-mcp.json.example for a ready-to-use template.

Command-Line Options

Available flags when starting otlp-mcp:

  • --verbose - Show detailed logging
  • --otlp-port <port> - OTLP server port (0 for ephemeral, default from config)
  • --otlp-host <host> - OTLP server bind address (default: 127.0.0.1)
  • --config <path> - Explicit path to config file
  • --trace-buffer-size <n> - Number of spans to buffer
  • --log-buffer-size <n> - Number of log records to buffer
  • --metric-buffer-size <n> - Number of metric points to buffer

Demo: Send Test Traces

Want to see it in action? Let's send some test traces using otel-cli.

Install otel-cli

bash
# Easiest: Install via go install (will be in $GOPATH/bin or ~/go/bin)
go install github.com/tobert/otel-cli@latest

# Make sure ~/go/bin is in your PATH
export PATH="$HOME/go/bin:$PATH"

# Or build from source
git clone https://github.com/tobert/otel-cli.git
cd otel-cli
go build -o otel-cli
# Then either add to PATH or use ./otel-cli

Run the Demo

Step 1: Ask your agent for the endpoint:

What is the OTLP endpoint address?

Let's say you get back 127.0.0.1:38279.

Step 2: Send some test traces using the endpoint:

bash
# Web API request trace
otel-cli span \
  --endpoint 127.0.0.1:38279 \
  --protocol grpc \
  --insecure \
  --service "web-api" \
  --name "GET /api/users" \
  --kind server \
  --attrs "http.method=GET,http.route=/api/users,http.status_code=200"

# Database query trace
otel-cli span \
  --endpoint 127.0.0.1:38279 \
  --protocol grpc \
  --insecure \
  --service "database" \
  --name "SELECT users" \
  --kind client \
  --attrs "db.system=postgres,db.statement=SELECT * FROM users"

# Cache operation trace
otel-cli span \
  --endpoint 127.0.0.1:38279 \
  --protocol grpc \
  --insecure \
  --service "cache-service" \
  --name "cache.get" \
  --kind client \
  --attrs "cache.key=user:123,cache.hit=true"

Step 3: Ask your agent to show the traces:

Show me the recent traces

Your agent will use the MCP tools to retrieve and analyze the traces, showing you service names, span names, attributes, and more!

Step 4: Try filtering:

Show me traces from the database service

Demo Script

A demo.sh script is included in the repository for quick testing. It automatically finds otel-cli using go env GOPATH and provides helpful error messages if it's not installed.

Run it:

bash
./demo.sh 127.0.0.1:38279

Output:

📡 Sending traces to 127.0.0.1:38279
   Using: /home/you/go/bin/otel-cli
✅ Sent 3 test traces!
💡 Ask your agent: 'Show me recent traces'

The script will automatically:

  • Find otel-cli in your GOPATH bin directory
  • Prompt you to install it if missing (with exact command)
  • Send 3 test traces simulating a web API, database, and cache

If otel-cli is not installed, you'll see:

❌ otel-cli not found at /home/you/go/bin/otel-cli

Install it by running:
  go install github.com/tobert/otel-cli@latest

Then make sure /home/you/go/bin is in your PATH:
  export PATH="$PATH:/home/you/go/bin"

Troubleshooting

MCP server not showing up

  1. Check the config file location:

    • Claude Code - Linux/macOS: ~/.config/claude-code/mcp_settings.json
    • Claude Code - Windows: %APPDATA%\Claude Code\mcp_settings.json
    • Gemini CLI: Use gemini mcp list to verify
  2. Verify the binary path is correct:

    bash
    # Check where go install put it
    go env GOPATH
    # Binary should be at $(go env GOPATH)/bin/otlp-mcp
    
    # Or find your local build
    which otlp-mcp
  3. Check the binary is executable:

    bash
    chmod +x $(go env GOPATH)/bin/otlp-mcp
  4. Restart your agent completely - close all windows and restart

otel-cli not found

bash
# Check if it's installed
which otel-cli

# If not in PATH, add ~/go/bin to PATH
echo 'export PATH="$HOME/go/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

# Or find where Go installs binaries
go env GOPATH
# Then add $GOPATH/bin to your PATH

No traces showing up

  1. Get the endpoint first:

    • Ask your agent: "What is the OTLP endpoint address?"
    • Make sure you use the exact endpoint returned
  2. Check the server is running:

    • The MCP server starts automatically when your agent starts
    • Look for otlp-mcp process: ps aux | grep otlp-mcp
  3. Verify traces were sent:

    • otel-cli should output a trace ID if successful
    • Ask your agent: "What are the buffer statistics?" to see span count

Connection refused errors

  • Make sure you're using 127.0.0.1 or localhost, not a remote address
  • The server only listens on localhost for security
  • Check the endpoint port matches what get_otlp_endpoint returns

For Agents: Best Practices

If you're using otlp-mcp, here are some tips:

When to Use otlp-mcp

Use it when:

  • User is working with OpenTelemetry, tracing, observability, or instrumentation
  • User wants to debug or understand program behavior
  • User needs performance analysis or error tracking
  • You're running tests and want to see what happened
  • User asks about slow operations, errors, or unexpected behavior

Workflow Pattern

  1. Start with get_otlp_endpoint - Always call this first to get the endpoint address
  2. Create snapshots before/after - Use descriptive names like "before-fix", "after-optimization"
  3. Query with filters - Use service name, trace ID, or severity to narrow results
  4. Check buffer stats - Use get_stats before long-running observations
  5. Clean up snapshots - Delete old snapshots when done analyzing

Dynamic Port Management

  • If user's program is already running on a specific port, use add_otlp_port(port) to listen there
  • This avoids restarting long-running programs when the agent restarts
  • Example: add_otlp_port(40187) if their program expects port 40187

Analyzing Telemetry

  • Traces - Look for slow operations, error status codes, span hierarchies
  • Logs - Filter by severity (ERROR, WARN) to find issues
  • Metrics - Compare values over time, look for anomalies

Example User Prompts to Expect

  • "Show me the error logs from my test run"
  • "What traces are being generated?"
  • "Compare the performance before and after my changes"
  • "Are there any slow database queries?"
  • "My program is sending telemetry to port 40187, can you listen there?"

Development

See CLAUDE.md for:

  • Package structure and architecture
  • Go code style guidelines
  • Git workflow for contributors

Contributing

Contributions welcome! This includes:

  • Bug reports and feature requests via GitHub Issues
  • Pull requests for fixes and improvements
  • Agent-assisted PRs are welcome - include Co-Authored-By for attribution

License

Apache License 2.0 - Copyright (c) 2025 Amy Tobey

See LICENSE for details.

安装

TypingMind
{
  "mcpServers": {
    "otlp-mcp": {
      "command": "otlp-mcp",
      "args": []
    }
  }
}

将 otlp-mcp MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 otlp-mcp 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 您可以在自己的设备上本地运行 MCP,也可以通过 URL 连接远程 MCP 服务器。

方式 1:使用本地连接器

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 otlp-mcp 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 otlp-mcp MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "otlp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 otlp-mcp MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 otlp-mcp MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 otlp-mcp 帮我完成这项任务吗?
otlp-mcp
当然,我看过了。
以下是我使用 otlp-mcp 得到的结果。

方式 2:添加 MCP 服务器 URL

如果 otlp-mcp 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 提供商提供的 MCP 服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 提供商提供的 MCP 服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 otlp-mcp 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接处于可用状态。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认列表中的 otlp-mcp 连接显示为可用状态。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 otlp-mcp 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 otlp-mcp 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 otlp-mcp 帮我完成这项任务吗?
otlp-mcp
当然,我看过了。
以下是我使用 otlp-mcp 得到的结果。

常见问题

otlp-mcp MCP 服务器有什么用途?

otlp-mcp 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 otlp-mcp MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 otlp-mcp。

为什么在 TypingMind 中使用 otlp-mcp MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 otlp-mcp 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 otlp-mcp MCP 连接到 TypingMind?

在 TypingMind 中,您可以使用本地 MCP 连接器或添加远程 MCP 服务器的 URL 来连接 otlp-mcp。当服务器需要访问您设备上的文件、应用或私有资源时,请使用本地连接器;如果 MCP 服务器部署在远端,请使用服务器 URL。

otlp-mcp MCP 在 TypingMind 中提供哪些工具?

otlp-mcp 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 otlp-mcp MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 otlp-mcp 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇