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

# Aviatrix MCP for Docs

> Connect an MCP-compatible AI agent to the Aviatrix documentation MCP server to search product documentation without leaving your IDE, terminal, or AI assistant.

The Aviatrix documentation website is built for reading and learning: browse a
topic, read the page, follow links to related concepts. The Aviatrix MCP for
Docs server is built for a different moment: when you are already in your IDE,
terminal, or AI assistant and need an answer without switching context.

## What This Is

Aviatrix hosts an MCP server at `docs.aviatrix.com/mcp` that exposes the
Aviatrix Documentation knowledge base to any MCP-compatible AI agent. Connect
your agent once, and it can search product documentation, generate
configuration, and answer product questions directly inside your current
workflow, without opening a browser tab.

<Info>
  MCP (Model Context Protocol) is a Linux Foundation open standard for AI agent
  tool access. Once you configure the server endpoint in your MCP client, the
  agent discovers and invokes available tools automatically.
</Info>

## When to Use MCP vs. the Docs Website

|                   | Docs website                              | Aviatrix MCP for Docs                                                   |
| ----------------- | ----------------------------------------- | ----------------------------------------------------------------------- |
| Where you use it  | Browser                                   | Your IDE, terminal, or AI assistant                                     |
| Workflow          | Leave your work to open docs, then return | Stay in your current task                                               |
| Context awareness | None — you copy answers back manually     | The agent can combine your question with your code or task              |
| Best for          | Reading and learning a topic in depth     | Doing work: generating configuration, troubleshooting, finding commands |

If you are exploring a new feature or learning how a concept fits together, the
docs website remains the better tool. If you are mid-task and need a fast,
specific answer, connect your agent to the MCP server instead.

## Available Tool

The server exposes one tool:

| Tool                            | Parameters                                                  | Returns                                                      |
| ------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------ |
| `search_aviatrix_documentation` | `query` (required), `version` (optional, for example `8.2`) | Up to 10 results, each with title, content excerpt, and link |

Ask your agent a question in natural language. The agent calls
`search_aviatrix_documentation` on your behalf and incorporates the results into
its response.

## Connect Your Agent

<Steps>
  <Step title="Choose your MCP client">
    The Aviatrix MCP for Docs server works with any MCP-compatible client,
    including Claude Code, Claude Desktop, and Cursor.
  </Step>

  <Step title="Add the remote server endpoint">
    Configure your client to connect to `https://docs.aviatrix.com/mcp` using
    the MCP Streamable HTTP transport. In Claude Code, run:

    ```bash theme={null}
    claude mcp add --transport http aviatrix-docs https://docs.aviatrix.com/mcp
    ```

    <Note>
      Connect to the remote hosted endpoint directly. Local MCP server
      packages for this integration are not supported.
    </Note>
  </Step>

  <Step title="Restart or refresh your client">
    Restart your MCP client, or refresh the connectors list, so the new
    server is picked up.
  </Step>

  <Step title="Ask a question">
    Ask your agent a product question, for example "What are the Distributed
    Cloud Firewall group limits?" The agent searches Aviatrix documentation
    and responds with a cited answer.
  </Step>
</Steps>

## Example Questions

* "Is the Onboard All Route Tables feature documented?"
* "What are the latest Controller and CoPilot versions?"
* "How do I configure Transit Egress?"
* "Show me the API reference for version 8.2."
