Back to Home
axiomhq icon

mcp

Verified Safe

by axiomhq

Overview

Enables AI assistants to interact with Axiom's observability platform by exposing data and actions through 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
  • AXIOM_TRACES_KEY
  • AXIOM_TRACES_URL
  • AXIOM_TRACES_DATASET

Security Notes

The server implements robust OAuth 2.0 with PKCE for client authentication and integrates with Axiom's own OAuth. Sensitive data like refresh tokens are stored securely in Cloudflare KV with expiration. The UI uses Hono JSX with explicit HTML sanitization (`sanitizeHtml`) for client-provided information. It strongly enforces the use of environment variables/secrets for credentials and explicitly warns against hardcoding them. OpenTelemetry instrumentation is also present, which can aid in security monitoring. The main area for potential concern is `dangerouslySetInnerHTML` for client-side scripts, but these are for known UI logic (theme toggle, Tailwind config, copy button) and not used for arbitrary user input, thus considered safe in this context.

Similar Servers

Stats

Interest Score37
Security Score9
Cost ClassMedium
Avg Tokens2500
Stars8
Forks5
Last Update2025-12-02

Tags

AxiomObservabilityAI AgentsMCPCloudflare WorkersOAuthTypeScript