
Integrate with AI agents for interactive use cases, such as saving personal, team, and organizational preferences, standards, and policies.

## Cursor Desktop

### Automated setup

See the [Quick Start](/quick-start/#connect-your-ai-client).

### Manual setup

1. In Cursor Desktop, choose **Cursor>Settings>Cursor Settings>Tools & MCPs>New MCP Server**.

2. Modify the `mcp.json` file that Cursor opens to add the following MCP server configuration.

    ```json
    {
      "mcpServers": {
        "meko": {
          "url": "<mcp-server-url>",
          "headers": {
            "API_KEY": "<mcp-server-api-key>"
          }
        }
      }
    }
    ```

    The result should look like the following:

    ![Cursor Desktop](/images/integrations-cursor-settings.png)

3. Verify the Connection by entering the following in chat.

    ```text
    Is Cursor configured with an MCP Server for Meko?
    ```

## Cursor Web

> [!NOTE] Coming soon
>
> This section is under development. Check back soon.

## Claude Desktop

### Automated setup

See the [Quick Start](/quick-start/#connect-your-ai-client).  

### Manual setup

In Claude Desktop (whether used for Chat, Cowork, or Code):

1. On a Mac, choose **Claude>Settings>Developer>Edit Config**.
1. Edit the `claude_desktop_config.json` file to add the following MCP Server entry.

    ```json
    {
      "mcpServers": {
        "meko": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-remote",
            "<mcp-server-url>",
            "--allow-http"
          ],
          "env": {
            "API_KEY": "<mcp-server-api-key>"
          }
        }
      }
    }
    ```

1. Quit and restart Claude Desktop.

    The result should look like the following:

    ![Claude Desktop](/images/integrations-claude-desktop.png)

    > [!TIP] Handling errors
    >
    > If you see errors when restarting Claude, examine the log file that appears. Verify that you have the correct version of node.js binaries in your path, use absolute paths, and consult online MCP Server configuration troubleshooting guides.

1. Verify the connection by entering the following in chat:

    ```text
    Is Claude configured with an MCP Server for Meko?
    ```

## Claude Code

### Automated setup

See the [Quick Start](/quick-start/#connect-your-ai-client).

### Manual setup

1. Run the setup command in your shell to add the Meko MCP server to Claude Code:

    ```sh
    > claude mcp add --scope user --transport http meko <mcp-server-url> --header "API_KEY: <mcp-server-api-key>"
    ```

2. Verify the connection by entering the following at the command-line console:

    ```txt
    Is Claude configured with an MCP Server for Meko?
    ```

    You should see a response like the following:

    ![Claude Code](/images/integrations-claudecode-response.png)

## Open AI Codex Desktop
 
### Manual setup

1. In Codex Desktop, choose **Codex>Settings>MCP servers>Add server>Streamable HTTP**.
2. Enter a name for the Meko MCP server.
3. Enter the URL of the Meko MCP server.
4. Enter a name (such as 'MEKO_MCP_TOKEN') for the Bearer token env var, and click **Save**.

   The result should look like the following:

    ![Codex Desktop](/images/integrations-codex-desktop.png)

5. Set the MEKO_MCP_TOKEN environment variable with your Meko API key in your terminal using the following command:

    ```sh
    launchctl setenv MEKO_MCP_TOKEN <mcp-server-api-key>
    ```

6. Verify that you set the MEKO_MCP_TOKEN correctly with your Meko MCP Server API Key.

    ```sh
    launchctl getenv MEKO_MCP_TOKEN
    ```

7. Quit and restart Codex Desktop.

8. Verify the connection by entering the following in chat:

    ```text
    Is Codex Desktop configured with an MCP Server for Meko?
    ```

## VS Code

1. Run the following command:

    ```sh
    echo "### Installing the latest Node.js ###"
    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
    source ~/.$(basename $SHELL)rc
    nvm install --lts
    echo "### Registering the Meko MCP server ###"
    npx mcp-add@latest \
      --name meko \
      --type stdio \
      --command 'npx -y mcp-remote <mcp-server-url> --allow-http' \
      --env 'MEKO_API_KEY=<mcp-server-api-key>' \
      --headers 'MEKO_API_KEY=<mcp-server-api-key>' \
      --scope global \
      --clients 'vscode'
    ```

    Replace `<mcp-server-url>` and `<mcp-server-api-key>` with the URL and API key you saved.

1. Verify the connection by entering the following in chat:

    ```text
    Is VS Code configured with an MCP Server for Meko?
    ```

<!-- ## Windsurf, GitHub Copilot CLI, Gemini Anti-Gravity, and others

For Windsurf, GitHub Copilot CLI, Gemini Anti-Gravity, Continue, Goose, OpenCode, and Windsurf, use the "Automated Setup" described in the [Quick Start](/quick-start/#connect-your-ai-client).  

Additional support for the below is coming soon
* Opencode
* OpenAI chatgpt Desktop
* Lovable
* Replit -->
