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

# MCP Server Setup

> Learn how to connect AI coding assistants to Flinks documentation using our MCP server

The Flinks documentation is available as a Model Context Protocol (MCP) server, allowing AI coding assistants to access our documentation directly. This enables AI tools to provide more accurate and up-to-date information about Flinks APIs and integrations.

**MCP Server URL:** `https://docs.flinks.com/mcp`

## What is MCP?

The Model Context Protocol (MCP) is an open standard that allows AI assistants to securely connect to external data sources. By connecting your AI coding assistant to the Flinks MCP server, you can:

* Get accurate, up-to-date information about Flinks APIs
* Receive better code suggestions for Flinks integrations
* Access documentation without leaving your development environment

## Setup Instructions

<Tabs>
  <Tab title="Claude Code">
    ### Claude Code

    Claude Code supports MCP servers natively. To add the Flinks documentation server:

    1. Open your terminal and run:

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

    2. Verify the server was added:

    ```bash theme={null}
    claude mcp list
    ```

    You should see `flinks` in the list of configured MCP servers.

    3. Start using Claude Code - it will now have access to Flinks documentation when answering questions about Flinks APIs.
  </Tab>

  <Tab title="Cursor">
    ### Cursor

    To configure the Flinks MCP server in Cursor:

    1. Open Cursor Settings (`Cmd + ,` on macOS or `Ctrl + ,` on Windows/Linux)

    2. Navigate to **Features** → **MCP Servers**

    3. Click **Add new MCP server**

    4. Configure the server with:
       * **Name:** `flinks`
       * **Type:** `sse`
       * **URL:** `https://docs.flinks.com/mcp`

    5. Click **Save** to add the server

    Cursor will now have access to Flinks documentation when you use AI features.
  </Tab>

  <Tab title="Antigravity">
    ### Antigravity (Google)

    To add the Flinks MCP server in Antigravity:

    1. Open the Command Palette (`Cmd + Shift + P` on macOS or `Ctrl + Shift + P` on Windows/Linux)

    2. Search for and select **Antigravity: Configure MCP**

    3. Add the following configuration to your `mcp_config.json`:

    ```json theme={null}
    {
      "mcpServers": {
        "flinks": {
          "serverUrl": "https://docs.flinks.com/mcp"
        }
      }
    }
    ```

    4. Save the file and restart Antigravity

    The Flinks documentation will now be available to the AI features.
  </Tab>

  <Tab title="GitHub Copilot">
    ### GitHub Copilot (VS Code)

    To configure the Flinks MCP server with GitHub Copilot in VS Code:

    1. Open VS Code Settings (`Cmd + ,` on macOS or `Ctrl + ,` on Windows/Linux)

    2. Search for `mcp` in the settings search bar

    3. Find **GitHub Copilot › Chat: MCP** and click **Edit in settings.json**

    4. Add the Flinks server configuration:

    ```json theme={null}
    {
      "github.copilot.chat.mcp.servers": {
        "flinks": {
          "type": "sse",
          "url": "https://docs.flinks.com/mcp"
        }
      }
    }
    ```

    5. Save the settings file

    6. Restart VS Code or reload the window (`Cmd + Shift + P` → **Developer: Reload Window**)

    GitHub Copilot will now have access to Flinks documentation in chat.
  </Tab>

  <Tab title="OpenAI Codex">
    ### OpenAI Codex CLI

    To add the Flinks MCP server to OpenAI Codex CLI:

    1. Open or create your Codex configuration file at `~/.codex/config.json`

    2. Add the MCP server configuration:

    ```json theme={null}
    {
      "mcpServers": {
        "flinks": {
          "type": "url",
          "url": "https://docs.flinks.com/mcp"
        }
      }
    }
    ```

    3. Save the file

    4. Restart your Codex CLI session

    Codex will now include Flinks documentation context when answering questions about Flinks.
  </Tab>
</Tabs>

## Verifying the Connection

After setting up the MCP server, you can verify it's working by asking your AI assistant a question about Flinks, such as:

* "How do I authenticate with the Flinks API?"
* "How do I set up webhooks for Flinks?"

The AI should provide accurate, documentation-based responses about Flinks products and APIs.

## Troubleshooting

<AccordionGroup>
  <Accordion title="MCP server not connecting">
    * Verify your internet connection
    * Check that the URL is exactly `https://docs.flinks.com/mcp`
    * Ensure your firewall isn't blocking outbound HTTPS connections
    * Try restarting your IDE or AI tool
  </Accordion>

  <Accordion title="AI not using Flinks documentation">
    * Make sure the MCP server is enabled/active in your tool's settings
    * Try explicitly mentioning "Flinks" in your query
    * Check if other MCP servers are working to rule out configuration issues
  </Accordion>

  <Accordion title="Outdated information in responses">
    * MCP servers provide real-time access to documentation
    * If you notice outdated information, please [contact Flinks support](../support/contact-flinks)
  </Accordion>
</AccordionGroup>

## Need Help?

If you encounter any issues setting up the MCP server or have questions about integrating with Flinks, please [contact our support team](../support/contact-flinks).
