# Agent Observability

> Agent Observability is an MCP server. Agent observability: structured logging, cost tracking, and compliance audit trails. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **MCP Registry name:** io.github.blueskylineassets/agent-observability
- **Listing updated:** 2026-11-13

## About

Agent observability: structured logging, cost tracking, and compliance audit trails

## Install

### Claude Code (Terminal)

```sh
claude mcp add agent-observability --env AGENT_OBS_API_KEY='<AGENT_OBS_API_KEY>' -- npx -y agent-observability-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agent-observability": {
      "command": "npx",
      "args": [
        "-y",
        "agent-observability-mcp"
      ],
      "env": {
        "AGENT_OBS_API_KEY": "<AGENT_OBS_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agent-observability": {
      "command": "npx",
      "args": [
        "-y",
        "agent-observability-mcp"
      ],
      "env": {
        "AGENT_OBS_API_KEY": "<AGENT_OBS_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agent-observability": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agent-observability-mcp"
      ],
      "env": {
        "AGENT_OBS_API_KEY": "<AGENT_OBS_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-observability": {
      "command": "npx",
      "args": [
        "-y",
        "agent-observability-mcp"
      ],
      "env": {
        "AGENT_OBS_API_KEY": "<AGENT_OBS_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agent-observability": {
      "command": "npx",
      "args": [
        "-y",
        "agent-observability-mcp"
      ],
      "env": {
        "AGENT_OBS_API_KEY": "<AGENT_OBS_API_KEY>"
      }
    }
  }
}
```

## FAQ

### How do I add Agent Observability to Claude Code?

Run this command in your terminal: claude mcp add agent-observability --env AGENT_OBS_API_KEY='<AGENT_OBS_API_KEY>' -- npx -y agent-observability-mcp

---
Source: https://ai-powered.com/mcp/agent-observability-3
