Agent Observability
v1.1.0Agent observability: structured logging, cost tracking, and compliance audit trails
Values you need
| Variable | What it is | |
|---|---|---|
AGENT_OBS_API_KEY | required secret | API key for the Agent Observability service (get one at POST /v1/register) |
AGENT_OBS_API_URL | optional | URL of the Agent Observability API (defaults to https://api-production-0c55.up.railway.app) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add agent-observability -e 'AGENT_OBS_API_KEY=<AGENT_OBS_API_KEY>' -- npx -y agent-observability-mcp@1.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"agent-observability": {
"args": [
"-y",
"agent-observability-mcp@1.1.0"
],
"command": "npx",
"env": {
"AGENT_OBS_API_KEY": "<AGENT_OBS_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"agent-observability": {
"args": [
"-y",
"agent-observability-mcp@1.1.0"
],
"command": "npx",
"env": {
"AGENT_OBS_API_KEY": "<AGENT_OBS_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "AGENT_OBS_API_KEY",
"id": "agent-obs-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"agent-observability": {
"args": [
"-y",
"agent-observability-mcp@1.1.0"
],
"command": "npx",
"env": {
"AGENT_OBS_API_KEY": "${input:agent-obs-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.agent-observability]
command = "npx"
args = ["-y", "agent-observability-mcp@1.1.0"]
env = { "AGENT_OBS_API_KEY" = "<AGENT_OBS_API_KEY>" }For AI agents
- Ask the user for: AGENT_OBS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: log_event, query_logs, get_cost_analytics.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json