> ## Documentation Index
> Fetch the complete documentation index at: https://docs.incident.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Axiom

> Query Axiom logs, traces and events from an investigation.

Connect Axiom as a [connector](https://docs.incident.io/nexus/extensions/connectors.md) to let incident.io's agents query your datasets and check dashboards and monitors, so an investigation can dig into the logs and traces around an incident.

Axiom offers two ways in:

* **[MCP server](#connect-the-mcp-server)** Recommended: Axiom maintains the tools, including running APL queries.
* **[HTTP API](#connect-the-http-api)**: Axiom's REST API, for when you want to choose exactly which operations agents can call.

**What you'll need:**

* An Axiom account with access to the datasets you want agents to query.
* The **Manage Nexus sources** permission in incident.io.

## Create an API token

You need a token for the HTTP API, and for the MCP server if you don't sign in with OAuth.

1. In Axiom, go to **Settings > API tokens** and click **New API token**.
2. Give it a name and, optionally, an expiry.
3. Under **Permissions**, choose **Advanced**, and give it query access to the datasets agents need. Basic tokens can only ingest data, so they can't query.
4. Click **Create token**, and copy it. It's only shown once.

## Connect the MCP server

1. From [Extensions](https://app.incident.io/~/nexus/extensions), add a connector and choose **MCP server**.
2. Leave network access as **Public internet**, and give the connector a display name such as `Axiom`.
3. Enter `https://mcp.axiom.co/mcp` as the server URL, and click **Check URL**. To keep query results in Axiom's EU data centres, use `https://mcp.eu.axiom.co/mcp`.
4. Under **Authentication**, choose how to sign in:
   * **OAuth**, which Axiom recommends. Click **Connect with OAuth** and sign in to Axiom. Calls run with that user's access.
   * **Bearer token**, with your API token.
5. Review which tools are enabled and the connector's [default policy](https://docs.incident.io/nexus/extensions/connectors.md#default-policy), then save.

Axiom's [MCP tools](https://axiom.co/docs/console/intelligence/mcp-server/tools) include ones that create and delete datasets, dashboards and monitors, as well as ones that read.

## Connect the HTTP API

1. From [Extensions](https://app.incident.io/~/nexus/extensions), add a connector and choose **HTTP API**.
2. Paste Axiom's [OpenAPI document](https://axiom.co/docs/openapi/v2.json), which covers datasets, dashboards and monitors.
3. Enter `https://api.axiom.co/v2` as the base URL. Its operation paths don't include the version, so keep `/v2` on the base URL.
4. Under authentication, choose **Bearer token** and enter your API token.
5. Test the connection, review which operations are enabled and the connector's [default policy](https://docs.incident.io/nexus/extensions/connectors.md#default-policy), then save.

See [Connectors](https://docs.incident.io/nexus/extensions/connectors.md#permissions) for how to control which tools agents can call, and from where.

## Pair it with a skill

Agents work best with a connector when it's paired with a [skill](https://docs.incident.io/nexus/extensions/plugins.md). For Axiom, say which datasets hold which services' logs and traces, the fields that identify a service or customer, and example APL queries for the questions you ask during incidents.
