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

# Connect an MCP client

> Add Niblet to Codex, ChatGPT, Claude Code, Cursor, Gemini CLI, or another OAuth-capable MCP client.

Use this endpoint in every client:

```text theme={null}
https://cloud.heyniblet.com/mcp
```

<Tabs>
  <Tab title="Codex">
    ```sh theme={null}
    codex mcp add niblet --url https://cloud.heyniblet.com/mcp
    codex mcp login niblet
    ```

    Start a new Codex session in the configured project and use `/mcp` to confirm that Niblet tools are loaded.
  </Tab>

  <Tab title="ChatGPT">
    1. Enable Developer mode in ChatGPT settings.
    2. Create a developer-mode app or custom connector.
    3. Choose remote streaming HTTP and paste the Niblet endpoint.
    4. Select OAuth and complete Niblet authorization in the browser.
  </Tab>

  <Tab title="Claude Code">
    ```sh theme={null}
    claude mcp add --transport http niblet https://cloud.heyniblet.com/mcp
    ```

    Run `/mcp` in Claude Code and follow the browser authentication flow.
  </Tab>

  <Tab title="Cursor">
    Create `.cursor/mcp.json` in your project:

    ```json theme={null}
    {
      "mcpServers": {
        "niblet": {
          "url": "https://cloud.heyniblet.com/mcp"
        }
      }
    }
    ```

    Open Cursor's MCP settings and authenticate the Niblet server.
  </Tab>

  <Tab title="Gemini CLI">
    ```sh theme={null}
    gemini mcp add --transport http niblet https://cloud.heyniblet.com/mcp
    ```

    Run `/mcp auth niblet` to begin browser OAuth.
  </Tab>

  <Tab title="Other clients">
    Add a remote Streamable HTTP server named `niblet`. The client must support OAuth protected-resource discovery, Authorization Code with PKCE, and an HTTPS client identity and redirect flow.
  </Tab>
</Tabs>

## Authorize carefully

The consent page shows the signed-in account, client, return host, and requested permissions. Stop if the return host is unfamiliar or the client asks for more access than the task needs.

<Warning>
  Never work around OAuth by pasting a bearer token into client configuration or chat. A supported client should discover and complete the browser flow itself.
</Warning>
