Axiom MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Axiom MCP or direct API to query logs, inspect traces, analyze metrics, and manage datasets through natural language.

Axiom MCP logoAxiom MCP
Dcr Oauth

Axiom MCP is Axiom's hosted server for querying logs, traces, and metrics. It provides a secure, ready-to-use connection to observability data and management tools.

43 Tools

Try Axiom MCP now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Axiom MCP
Try asking
TOOLS

Supported Tools

Every Axiom MCP action and event your agent gets out of the box.

Check monitors

List all monitors and open alerts in their recent history, with explicit coverage for unavailable or empty histories.

Create dashboard

Create a new dashboard from a JSON document.

Create dataset

Create a new dataset in the current organization (POST /v2/datasets).

Create monitor

Create a monitor.

Create notifier

Create an email notifier, or start manual setup for another channel.

Delete dashboard

Delete a saved dashboard by its UID.

Delete dataset fields

Queue deletion of fields from an event dataset (POST /v2/datasets/{dataset}/delete-fields).

Delete monitor

Delete a monitor by its ID.

Delete notifier

Delete a notifier by its ID.

Dimensional analysis

Compare two groups of events and identify the dimensions and values that distinguish them using the APL spotlight() aggregation.

Get annotations

Read deployment, incident, and other event annotations to correlate with data changes.

Get dashboard

Get a saved dashboard by UID, or a visible integration dashboard by its stable id, including labels.

Get dataset fields

Get observed field names, types, units, and descriptions as CSV for an events or traces dataset.

Get metrics spec

Fetch the current MPL (Metrics Processing Language) specification, standard-library reference, and examples for a metrics dataset.

Get metric tag values

List values for a tag as one-column CSV in a metrics dataset (kind `otel-metrics-v1`).

Get monitor

Get a single monitor's full definition by ID, including the complete APL or MPL query text and labels.

Get monitor history

Get alert history for a monitor from the public /v2/monitors/{id}/history endpoint.

Get saved queries

Read saved/starred APL queries as CSV with name, dataset, full query, author, and end time.

List dashboards

List saved and integration dashboards visible to the caller.

List datasets

List all available datasets with exact, unquoted names.

List labels

List organization labels (id, name, description, color).

List metrics

List metric names, types, temporality, and units as CSV in a metrics dataset (kind "otel-metrics-v1").

List metric tags

List available tags (dimensions) as one-column CSV in a metrics dataset (kind `otel-metrics-v1`).

List notifiers

List all configured notifiers, including labels.

List organizations

List organizations the current credentials can access.

List tokens

List active API tokens, or one token when id is set.

Manage annotations

Create, update, or delete an annotation that marks a deployment, incident, or other event on the charts of one or more datasets.

Manage labels

Create, update, or delete a label in the organization catalog.

Prepare api token

Prepare a prefilled API-token creation form in Axiom Console.

Query dataset

When the user pastes an Axiom query URL containing qid, pass that qid as queryId and omit apl.

Query metrics

When the user asks to see, return, save, or share the results, or for a link or the query that was used, set saveResults: true on every queryMetrics call whose result you will hand back.

Read axiom doc

Read one official Axiom docs page as Markdown with its source URL.

Replace dashboard

Replace the whole document of a saved dashboard by UID.

Search axiom docs

Search official Axiom documentation and return the top matching pages as Markdown with source URLs.

Search metrics

Start here when the user mentions a specific service, host, or entity name and you need to work with metrics data.

Send feedback

Share feedback about your experience with the Axiom MCP server.

Services get changes

Report what changed in the service dependency graph: dependencies that appeared, dependencies that disappeared, and edges whose p99 latency regressed against a trailing 6h baseline.

Services get edge history

Charts one service's edges over time: a per-bucket time series of calls, errors and approximate p50/p99 for every edge where the named service is the source or the destination (pass `dst` to narrow to a single directed edge).

Services get map

START HERE for any question about service topology, dependencies, or system-wide health.

Set labels

Replace all labels on one dataset, dashboard, monitor, notifier, or integration dashboard.

Update dashboard chart

Change one existing chart in a saved dashboard by chart ID.

Update monitor

Replace the configuration of an existing monitor.

Update notifier

Update an email notifier by ID, or start manual editing for another channel.

SETUP GUIDE

Connect Axiom MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["axiom_mcp"],
  mcp: true,
});
Create a session scoped to Axiom MCP and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Query the Axiom logs dataset for failed requests from the last hour and summarize the top error messages",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Axiom MCP request
SETUP GUIDE

Connect Axiom MCP API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["axiom_mcp"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Axiom MCP
3

Run Axiom MCP tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Query the Axiom logs dataset for failed requests from the last hour and summarize the top error messages" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Axiom MCP tool calls through the session, and print the final answer

Why Use Composio?

AI Native Axiom MCP Integration

  • Supports both Axiom MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable log, trace, and metric queries
  • Rich coverage for managing Axiom datasets, dashboards, monitors, and notifiers

Managed Auth

  • Built-in DCR OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Axiom MCP access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Axiom MCP
  • Scoped, least privilege access to Axiom MCP resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Axiom MCP with any AI Agent Framework

Choose a Framework you want to connect Axiom MCP with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Axiom MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Axiom MCP tool your agent needs.Free to start.

Start building