Connect to an AI agent

Integrate Meko with Cursor, Claude Desktop, Claude Code, and more

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.

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.

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

    The result should look like the following:

    Cursor Desktop

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

    Is Cursor configured with an MCP Server for Meko?
    

Cursor Web

Claude Desktop

Automated setup

See the Quick Start.

Manual setup

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

  1. On a Mac, choose Claude>Settings>Developer>Edit Config.

  2. Edit the claude_desktop_config.json file to add the following MCP Server entry.

    {
      "mcpServers": {
        "meko": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-remote",
            "<mcp-server-url>",
            "--allow-http"
          ],
          "env": {
            "API_KEY": "<mcp-server-api-key>"
          }
        }
      }
    }
    
  3. Quit and restart Claude Desktop.

    The result should look like the following:

    Claude Desktop

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

    Is Claude configured with an MCP Server for Meko?
    

Claude Code

Automated setup

See the Quick Start.

Manual setup

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

    > 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:

    Is Claude configured with an MCP Server for Meko?
    

    You should see a response like the following:

    Claude Code

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

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

    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.

    launchctl getenv MEKO_MCP_TOKEN
    
  7. Quit and restart Codex Desktop.

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

    Is Codex Desktop configured with an MCP Server for Meko?
    

VS Code

  1. Run the following command:

    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.

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

    Is VS Code configured with an MCP Server for Meko?