beginner⏱️ 12-22 minutes📅 Updated August 2026

Step-by-step guide to integrate AgentOps MCP server with Claude Desktop App. Includes auth and get_trace.

AgentOps + Claude Desktop App: Complete MCP Integration

AgentOps is a MCP server that Provide observability and tracing for debugging AI agents with AgentOps API..

When integrated with Claude Desktop App, you can:

  • Authorize with AgentOps API key
  • Retrieve trace information by ID
  • Get span information by ID

This guide provides step-by-step instructions to set up AgentOps in Claude Desktop App, including configuration, examples, and troubleshooting.

What You'll Achieve

After completing this setup:

  • AgentOps will be fully integrated and operational
  • You can use AgentOps tools directly in Claude Desktop App
  • All AgentOps capabilities will be available for your workflows
  • Access to 4 different tools

Prerequisites

Before starting, ensure you have:

  • API key from AgentOps dashboard
  • Claude Desktop App installed and configured
  • Compatible operating system (Windows, macOS, Linux)

Installation

Step 1: Install AgentOps

Configuration

Step 2: Configure Claude Desktop App

  1. Locate your configuration file:

    • Windows: %APPDATA%\\Claude\\claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Add server configuration:

{
  "mcpServers": {
    "agentops": {
      "command": "agentops",
      "args": [""],
      "env": {
        "AGENTOPS_API_KEY": "ao_1234567890abcdef"
      }
    }
  }
}

  1. Restart Claude Desktop App

Completely quit and restart Claude Desktop App to load the new configuration.

Examples

Once configured, you can use AgentOps in Claude Desktop App:

Agent Performance Debugging

undefined

Ask Claude Desktop App: "Show me traces for agent runs that failed today"

Expected Result: undefined

Cost Analysis

undefined

Ask Claude Desktop App: "Get cost breakdown for trace abc123"

Expected Result: undefined

Performance Optimization

undefined

Ask Claude Desktop App: "Show slowest spans in recent traces"

Expected Result: undefined

Testing Your Setup

  1. Start a new conversation in Claude Desktop App
  2. Ask Claude Desktop App to list available tools
  3. Try using AgentOps functionality

Test prompts:

  • "Can you list the available tools from AgentOps?"
  • "Please use AgentOps to {example_task}"

Troubleshooting

Common Issues

Server Not Appearing

Symptoms: No server in interface, Tools not available

Cause: Configuration file error or server installation issue

Solution:

  • Validate JSON syntax using online validator
  • Check configuration file location
  • Verify server installation
  • Restart Claude Desktop completely

Server Error on Startup

Symptoms: Error messages in logs, Server fails to start

Cause: Missing dependencies or environment variables

Solution:

  • Check server requirements are met
  • Verify environment variables are set
  • Check system logs for detailed errors

AgentOps not appearing in Claude Desktop App

Symptoms: Server not listed, Tools not available

Cause: Configuration or installation issue

Solution:

  • Verify configuration syntax
  • Check AgentOps installation
  • Restart Claude Desktop App
  • Check logs for error messages

Next Steps

Now that AgentOps is integrated with Claude Desktop App:

  • Explore all AgentOps capabilities through Claude Desktop App
  • Check out other MCP servers that work with Claude Desktop App
  • Join the MCP community for tips and support
  • Consider contributing to AgentOps development

Need Help?

Related Resources

More Integrations

Explore other MCP servers that work with Claude Desktop App

Need Help?

Join the MCP community for support and discussions

AgentOps + Claude Desktop App: MCP Setup Guide (2026)