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

# AI tools

> Connect AI tools to Baseten documentation for context-aware assistance with deploying and serving models.

Baseten docs are optimized for AI tools. Connect your assistants, coding tools, and agents directly to the docs so they have up-to-date context when helping you build on Baseten.

Every page includes a contextual menu (the icon in the top-right corner of any page) with shortcuts to copy content and connect your MCP server.

## MCP server

The Model Context Protocol (MCP) connects AI tools directly to Baseten documentation. When connected, your AI tool searches the docs in real time while generating responses, so you get answers grounded in current documentation rather than stale training data.

The Baseten docs MCP server is available at:

```
https://docs.baseten.co/mcp
```

<Tabs>
  <Tab title="Claude Code">
    Add the MCP server to Claude Code:

    ```bash theme={"system"}
    claude mcp add --transport http baseten-docs https://docs.baseten.co/mcp
    ```

    Claude Code searches Baseten docs automatically when relevant to your prompts.
  </Tab>

  <Tab title="Claude Desktop">
    <Steps>
      <Step title="Open Claude settings">
        Navigate to the **Connectors** page in Claude settings.
      </Step>

      <Step title="Add the connector">
        Select **Add custom connector**, then enter:

        * **Name:** Baseten Docs
        * **URL:** `https://docs.baseten.co/mcp`

        Select **Add**.
      </Step>

      <Step title="Use in conversations">
        When starting a conversation, select the attachments button (the plus icon) and choose the Baseten Docs connector. Claude searches the docs as needed while responding.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Cursor">
    <Steps>
      <Step title="Open MCP settings">
        Use `Cmd + Shift + P` (macOS) or `Ctrl + Shift + P` (Windows/Linux) to open the command palette. Search for **"Open MCP settings"**.
      </Step>

      <Step title="Add the server">
        Select **Add custom MCP**. This opens your `mcp.json` file. Add the Baseten docs server:

        ```json mcp.json theme={"system"}
        {
          "mcpServers": {
            "baseten-docs": {
              "type": "http",
              "url": "https://docs.baseten.co/mcp"
            }
          }
        }
        ```
      </Step>
    </Steps>
  </Tab>

  <Tab title="VS Code">
    Create or update `.vscode/mcp.json` in your project:

    ```json .vscode/mcp.json theme={"system"}
    {
      "servers": {
        "baseten-docs": {
          "type": "http",
          "url": "https://docs.baseten.co/mcp"
        }
      }
    }
    ```
  </Tab>
</Tabs>

### Other MCP clients

Any MCP-compatible tool (Goose, ChatGPT, Windsurf, and others) can connect using the server URL `https://docs.baseten.co/mcp`. Refer to your tool's documentation for how to add an MCP server.

You can also use `npx add-mcp` to auto-detect supported AI tools on your system and configure them:

```bash theme={"system"}
npx add-mcp https://docs.baseten.co
```

## Skills

The skills file describes what AI agents can accomplish with Baseten, including required inputs and constraints. AI coding tools use this file to understand Baseten capabilities without reading every documentation page.

Install the Baseten docs skill into your AI coding tool:

```bash theme={"system"}
npx skills add https://docs.baseten.co
```

This gives your AI tool structured knowledge of Baseten's capabilities so it can help you deploy models, configure autoscaling, set up inference endpoints, and more with product-aware guidance.

View the skill file directly at [docs.baseten.co/skill.md](https://docs.baseten.co/skill.md).

<Info>
  Skills and MCP serve complementary purposes. **Skills** tell an AI tool *what Baseten can do* and how to do it. **MCP** lets the tool *search current documentation* for specific details. For the best results, install both.
</Info>

## llms.txt

The `llms.txt` file is an industry-standard directory that helps LLMs index documentation efficiently, similar to how `sitemap.xml` helps search engines. Baseten docs automatically host two versions:

* [docs.baseten.co/llms.txt](https://docs.baseten.co/llms.txt): a structured list of all pages with descriptions.
* [docs.baseten.co/llms-full.txt](https://docs.baseten.co/llms-full.txt): the full text content of all pages.

These files stay up to date automatically and require no configuration.
AI tools and search engines like ChatGPT, Perplexity, and Google AI Overviews use them to understand and cite Baseten documentation.

## Markdown access

Every documentation page is available as Markdown by appending `.md` to the URL. For example:

```
https://docs.baseten.co/quickstart.md
```

AI agents receive page content as Markdown instead of HTML, which reduces token usage and improves processing speed. You can use this to quickly copy any page's content into an AI conversation.

## Contextual menu reference

The contextual menu on each page provides one-click access to these integrations. Select the menu icon in the top-right corner of any page.

| Option              | Description                                               |
| ------------------- | --------------------------------------------------------- |
| Copy page           | Copies the page as Markdown for pasting into any AI tool. |
| View as Markdown    | Opens the page as raw Markdown in a new tab.              |
| Copy MCP server URL | Copies the MCP server URL to your clipboard.              |
| Connect to Cursor   | Installs the MCP server in Cursor.                        |
| Connect to VS Code  | Installs the MCP server in VS Code.                       |
