Skip to main content
Glama
AgentOps MCP

AgentOps MCP

Official
by AgentOps-AI

AgentOps MCP Server

The AgentOps MCP server provides access to observability and tracing data for debugging complex AI agent runs. This adds crucial context about where the AI agent succeeds or fails.

Usage

MCP Client Configuration

Add the following to your MCP configuration file:

{
    "mcpServers": {
        "agentops-mcp": {
            "command": "npx",
            "args": ["agentops-mcp"],
            "env": {
              "AGENTOPS_API_KEY": ""
            }
        }
    }
}

Related MCP server: mcp-audit

Installation

Install MCP Server

Installing via Smithery

To install agentops-mcp for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @AgentOps-AI/agentops-mcp --client claude

Local Development

To build the MCP server locally:

# Clone and setup
git clone https://github.com/AgentOps-AI/agentops-mcp.git
cd mcp
npm install

# Build the project
npm run build

# Run the server
npm pack

Available Tools

auth

Authorize using an AgentOps project API key and return JWT token.

Parameters:

  • api_key (string): Your AgentOps project API key

get_trace

Retrieve trace information by ID.

Parameters:

  • trace_id (string): The trace ID to retrieve

get_span

Get span information by ID.

Parameters:

  • span_id (string): The span ID to retrieve

get_complete_trace

Get comprehensive trace information including all spans and their metrics.

Parameters:

  • trace_id (string): The trace ID

Requirements

  • Node.js >= 18.0.0

  • AgentOps API key (passed as parameter to tools)

Available Tools

4 tools
authA

Authorize using the AGENTOPS_API_KEY. If the API key is not provided and cannot be found in the directory, ask the user for the API key.

Inputs: api_key.

get_complete_traceA

Reserved for explicit requests for COMPLETE or ALL data. Get complete trace information and metrics by trace_id.

Inputs: trace_id (required).

get_spanC

Get span information and metrics by span_id.

Inputs: span_id (required).

get_traceC

Get trace information and metrics by trace_id.

Inputs: trace_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 4 tools

    Disambiguation3/5

    The tools have some overlap that could cause confusion, particularly between get_trace and get_complete_trace, which both retrieve trace data by trace_id, making their boundaries unclear. However, get_span is distinct in targeting span-level data, and auth is clearly separate for authentication purposes.

    Naming Consistency4/5

    The naming is mostly consistent with a verb_noun pattern (e.g., get_complete_trace, get_span, get_trace), but auth deviates as a standalone verb without a noun, which is a minor inconsistency. Overall, the naming is readable and follows a predictable style.

    Tool Count4/5

    With 4 tools, the count is slightly low but reasonable for a server focused on trace and span retrieval, as it covers core operations without being overly thin. It could benefit from additional tools like creating or updating traces to be more comprehensive, but it's not severely lacking.

    Completeness2/5

    The tool surface is significantly incomplete for an observability domain like AgentOps, as it only provides read operations (get) for traces and spans, with no create, update, delete, or search capabilities. This will likely cause agent failures when trying to perform full lifecycle management of monitoring data.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A unified MCP server providing observability, safety control, and behavior evolution for high-agency AI agents through tracing, replaying, and auditing. It features real-time firewall guardrails and ML-driven anomaly detection to monitor, block, or fork agent actions based on risk.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that gives AI agents observability over their own tool calls, enabling auditing, cost tracking, latency analysis, and alerting.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server that provides AI agents with persistent memory, cross-agent sharing, and context management, enabling them to remember conversations, track complex tasks, and evolve skills across tools.
      2
      MIT

    Appeared in Searches