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

# MCP Server

> Connect AI-powered tools like Cursor, Claude, and Codex to Artie using the Model Context Protocol (MCP) to manage pipelines and connectors from your editor.

Artie's [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) server lets you manage your pipelines and infrastructure directly from AI-powered tools - no context switching required.

<Info>
  **Before you begin**, make sure you have:

  * An Artie API key (generate one from the [Settings page](https://app.artie.com) in the Artie dashboard)
  * An MCP-compatible client installed (see setup below)
</Info>

## Setup

<Tabs>
  <Tab title="Cursor">
    Add the following to your Cursor MCP config (`.cursor/mcp.json`):

    ```json theme={null}
    {
      "mcpServers": {
        "artie": {
          "url": "https://mcp.artie.com/mcp",
          "headers": {
            "Authorization": "Bearer YOUR_ARTIE_API_KEY"
          }
        }
      }
    }
    ```
  </Tab>

  <Tab title="Claude Code">
    Run the following command in your terminal:

    ```bash theme={null}
    claude mcp add-json artie '{"type":"http","url":"https://mcp.artie.com/mcp","headers":{"Authorization":"Bearer YOUR_ARTIE_API_KEY"}}'
    ```
  </Tab>

  <Tab title="Codex">
    In Settings > MCP servers, click "Add server" and fill out the form:

    * Name: artie
    * Type: Streamable HTTP
    * URL: [https://mcp.artie.com/mcp](https://mcp.artie.com/mcp)
    * Headers/Key: Authorization
    * Headers/Value: Bearer `YOUR_ARTIE_API_KEY`

    or add the following to your Codex config (`codex.toml`):

    ```toml theme={null}
    [mcp_servers.artie]
    enabled = true
    url = "https://mcp.artie.com/mcp"

    [mcp_servers.artie.http_headers]
    Authorization = "Bearer YOUR_ARTIE_API_KEY"
    ```
  </Tab>
</Tabs>

Replace `YOUR_ARTIE_API_KEY` with the API key you generated from the Artie dashboard.

## What you can do

Once connected, your AI assistant can interact with Artie on your behalf. Capabilities include:

<CardGroup cols={2}>
  <Card title="Pipelines" icon="pipe-section">
    Create, update, start, list, and delete pipelines.
  </Card>

  <Card title="Connectors" icon="plug">
    Create, update, validate, and ping source and destination connectors.
  </Card>

  <Card title="Source Readers" icon="database">
    Create, deploy, validate, and manage source readers.
  </Card>

  <Card title="Infrastructure" icon="network-wired">
    Manage SSH tunnels, PrivateLink connections, and ingestion API keys.
  </Card>
</CardGroup>
