Back to Home
axiomhq icon

mcp

Verified Safe

by axiomhq

Overview

Connect AI assistants (e.g., Claude, Cursor) to Axiom's observability platform, enabling natural language querying of datasets, traces, monitors, and dashboards via the Model Context Protocol (MCP).

Installation

Run Command
npm run dev -w apps/mcp

Environment Variables

  • COOKIE_ENCRYPTION_KEY
  • AXIOM_OAUTH_CLIENT_ID
  • AXIOM_OAUTH_CLIENT_SECRET
  • ATLAS_API_URL
  • ATLAS_INTERNAL_URL
  • AXIOM_LOGIN_BASE_URL

Security Notes

The server implements a robust OAuth 2.0 flow using PKCE for client authentication, with session state managed via encrypted and signed cookies (using `COOKIE_ENCRYPTION_KEY`) and refresh tokens stored in Cloudflare KV. This provides good protection against common OAuth threats. Client-provided information in UI rendering is sanitized to prevent XSS. OpenTelemetry integration includes secure key handling. The `/icon` endpoint, which fetches external images based on a `domain` query parameter, could theoretically be used for minor external request triggering (e.g., as a low-level SSRF vector), though it has a timeout and is restricted to image content types, limiting its impact. No `eval` or blatant malicious patterns were found in the provided code.

Similar Servers

Stats

Interest Score37
Security Score8
Cost ClassMedium
Avg Tokens2500
Stars9
Forks5
Last Update2026-01-13

Tags

Cloudflare WorkersObservabilityAI AgentOAuthTypeScriptMCPAxiom