> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-migrated-bigcommerce-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Coding agent setup

> Give coding agents the Nango docs, core skill, and MCP tools.

Coding agents can speed up Nango integration work in two places: wiring Nango into your product and building [Nango Functions](/guides/functions/functions-guide).

<Tip>
  Getting started with Nango and want to use a coding agent? Check out the [AI-assisted quickstart](/getting-started/quickstart).
</Tip>

<Info>
  This page is about generating integrations with AI. To expose Nango integrations to your product's agents, see [Tool calling & MCP](/guides/functions/tool-calling).
</Info>

## Docs MCP server

Add Nango's documentation MCP server to your coding agent to allow it to research docs & examples:

```text theme={null}
https://nango.dev/docs/mcp
```

It is public and does not require authentication.

## Management MCP server (Beta)

Add Nango's Management MCP server to let your coding agent manage your Nango environment. Today, it can explore logs, and we are progressively adding capabilities so that everything you can do in the Nango UI can also be done from an LLM interface. The available tools are listed in the [Management MCP reference](/reference/backend/management-mcp#tools).

Create an API key in **Environment Settings > API Keys**, then replace `<NANGO_API_KEY>` in the relevant configuration below.

<Tabs>
  <Tab title="Claude Code">
    Add the server for your user so it is available across projects:

    ```bash theme={null}
    claude mcp add --transport http nango-management --scope user https://mcp.nango.dev/mcp \
      --header "Authorization: Bearer <NANGO_API_KEY>"
    ```

    Run `claude mcp list` to verify the connection.
  </Tab>

  <Tab title="Cursor">
    Add the following to `~/.cursor/mcp.json` for a global configuration, or `.cursor/mcp.json` for a project configuration:

    ```json theme={null}
    {
      "mcpServers": {
        "nango-management": {
          "url": "https://mcp.nango.dev/mcp",
          "headers": {
            "Authorization": "Bearer <NANGO_API_KEY>"
          }
        }
      }
    }
    ```

    Restart Cursor after saving the file.
  </Tab>

  <Tab title="Codex">
    Add the following to `~/.codex/config.toml` for a global configuration, or `.codex/config.toml` for a project configuration:

    ```toml theme={null}
    [mcp_servers.nango-management]
    url = "https://mcp.nango.dev/mcp"
    http_headers = { Authorization = "Bearer <NANGO_API_KEY>" }
    ```

    Restart Codex after saving the file, then use `/mcp` to verify the connection.
  </Tab>

  <Tab title="VS Code">
    Run **MCP: Open User Configuration** from the Command Palette, then add the server and a secure input for the API key:

    ```json theme={null}
    {
      "inputs": [
        {
          "type": "promptString",
          "id": "nango-api-key",
          "description": "Nango API key",
          "password": true
        }
      ],
      "servers": {
        "nangoManagement": {
          "type": "http",
          "url": "https://mcp.nango.dev/mcp",
          "headers": {
            "Authorization": "Bearer ${input:nango-api-key}"
          }
        }
      }
    }
    ```

    VS Code prompts for the API key when it first starts the server and stores the value securely.
  </Tab>

  <Tab title="Pi">
    Pi does not include an MCP client, so first install the [`pi-mcp-adapter`](https://pi.dev/packages/pi-mcp-adapter) extension:

    ```bash theme={null}
    pi install npm:pi-mcp-adapter
    ```

    Then add the following to `~/.config/mcp/mcp.json` for a global configuration, or `.mcp.json` for a project configuration:

    ```json theme={null}
    {
      "mcpServers": {
        "nango-management": {
          "url": "https://mcp.nango.dev/mcp",
          "headers": {
            "Authorization": "Bearer <NANGO_API_KEY>"
          }
        }
      }
    }
    ```

    Restart Pi after installing the extension, then use `/mcp` to verify the connection.
  </Tab>

  <Tab title="OpenCode">
    Add the following to `~/.config/opencode/opencode.json` for a global configuration, or `opencode.json` in a project root for a project configuration:

    ```json theme={null}
    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "nango-management": {
          "type": "remote",
          "url": "https://mcp.nango.dev/mcp",
          "oauth": false,
          "headers": {
            "Authorization": "Bearer <NANGO_API_KEY>"
          },
          "enabled": true
        }
      }
    }
    ```

    Run `opencode mcp list` to verify the connection.
  </Tab>
</Tabs>

<Warning>
  Do not commit API keys to source control. Prefer user-level configuration when storing an API key inline.
</Warning>

## Skills

Nango's public skills live in [NangoHQ/skills](https://github.com/NangoHQ/skills).

Install the core skill to implement Nango integration functions:

```bash theme={null}
npx skills add NangoHQ/skills -s building-nango-functions
```

See the [functions guide](/guides/functions/functions-guide) for more details.

## Just-in-time integrations

Nango integrations are defined as code. Usually, you or your coding agent write functions in a Git repo, review them like application code, and deploy them to Nango.

Nango also exposes a Functions API for creating integrations just in time, without asking the user to interact with a codebase. A user can describe the integration behavior in text, and an agent can turn that into function code, compile it, dry run it against a connection, and deploy it directly to Nango.

This is useful for faster onboarding, prototypes, and dynamic product experiences where integration behavior depends on what the user needs at that moment. It blurs the line between creating and consuming integrations: at consumption time, an agent can define the behavior, validate it, and make it available through Nango. See [build with the Functions API](/guides/functions/functions-guide#build-with-the-functions-api) for the workflow and API references.

## Other agent tools

These resources help agents discover Nango docs, provider slugs, API shapes, and runtime tool-calling paths.

| Tool              | URL                                      | Use it for                                                   |
| ----------------- | ---------------------------------------- | ------------------------------------------------------------ |
| Docs MCP server   | `https://nango.dev/docs/mcp`             | Live docs context inside coding agents.                      |
| `llms.txt`        | `https://nango.dev/docs/llms.txt`        | Compact index of core Nango docs for LLM context windows.    |
| `llms-full.txt`   | `https://nango.dev/docs/llms-full.txt`   | Full generated docs text for deeper offline context.         |
| `api-catalog.txt` | `https://nango.dev/docs/api-catalog.txt` | Provider and integration slug discovery.                     |
| OpenAPI spec      | `https://nango.dev/docs/spec.yaml`       | Exact HTTP API schemas for code generation or typed clients. |
