> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/developers/getting-started.md).

# Getting Started

Setup instructions for AI assistants using MCP

Connect your AI assistant to AirOps using the MCP server. This guide covers setup for Codex, Claude Code, Cursor, VS Code, Windsurf, and other MCP clients.

{% hint style="info" %}
**Claude Web or Desktop?** Use the [Claude Connector](/developers/claude-connector.md) for one-click setup and Interactive Apps.
{% endhint %}

**Server URL:** `https://app.airops.com/mcp`

Resource tools require a paid AirOps workspace, including eligible paid-tier trials. Free workspaces can connect and list workspaces, but cannot query or change workspace data through MCP. See [plan access](/developers/tools.md#plan-access).

Authentication uses OAuth 2.0—sign in with your AirOps account through your browser.

## Codex

Use the [AirOps MCP plugin](/developers/codex-plugin.md) for one-click setup in Codex.

## Claude Code

Run in your terminal:

```bash
claude mcp add --transport http airops https://app.airops.com/mcp
```

Then authenticate:

1. Run `/mcp` in Claude Code
2. Select the AirOps server
3. Choose **Authenticate**
4. Complete sign-in in your browser

## Cursor

1. Open **Cursor Settings → Tools & MCP → New MCP server**
2. Add the configuration:

```json
{
  "mcpServers": {
    "airops": {
      "url": "https://app.airops.com/mcp"
    }
  }
}
```

3. Click **Connect** to authenticate

## VS Code (Copilot)

1. Open **Settings** (Ctrl/Cmd + ,)
2. Search for "mcp" and click **Edit in settings.json**
3. Add:

```json
{
  "mcp": {
    "servers": {
      "airops": {
        "command": "npx",
        "args": ["-y", "mcp-remote", "https://app.airops.com/mcp"]
      }
    }
  }
}
```

## Windsurf

1. Open **Windsurf Settings → Cascade → MCP Servers**
2. Click **Add Server → Add custom server**
3. Add:

```json
{
  "mcpServers": {
    "airops": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://app.airops.com/mcp"]
    }
  }
}
```

## Other Clients

Most MCP clients support HTTP transport:

* **Transport:** HTTP (streamable HTTP)
* **URL:** `https://app.airops.com/mcp`

For clients requiring SSE transport, use `mcp-remote` as a proxy:

```bash
npx -y mcp-remote https://app.airops.com/mcp
```

## Troubleshooting

### Authentication

<details>

<summary>"Needs authentication" error</summary>

**Claude Code:** Run `/mcp`, select AirOps, choose **Authenticate**.

**Cursor:** Click **Connect** button in MCP settings.

**Other clients:** Remove and re-add the server to clear cached tokens.

</details>

<details>

<summary>OAuth not working (WSL/corporate network)</summary>

**WSL users:** Browser OAuth may fail from WSL. Run your client from Windows instead.

**Corporate networks:** Your network may block OAuth redirects. Try a personal network or contact IT to whitelist `app.airops.com`.

</details>

### Connection

<details>

<summary>Connection refused or timeout</summary>

Check that you can reach `https://app.airops.com` in your browser. Some corporate networks block MCP connections.

</details>

<details>

<summary>Tools not appearing</summary>

1. Restart your AI assistant
2. **Claude Code:** Run `/mcp` to verify connection
3. Remove and re-add the server

</details>

### Clear Cached Authentication

Remove the server and add it again:

**Claude Code:**

```bash
claude mcp remove airops
claude mcp add --transport http airops https://app.airops.com/mcp
```

**Other clients:** Delete the server from your configuration and re-add it.

## Next Steps

* [Use Cases](/developers/use-cases.md) — Reporting and optimization examples
* [Tools Reference](/developers/tools.md) — All available tools
* [FAQ](/developers/faq.md) — Common questions


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.airops.com/developers/getting-started.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
