🎉 Join our Discord server for chat support & discuss with other community members.

RapidMCP

Connect to Agents

Ways to connect different agent clients to Rapid MCP

Overview

Rapid MCP supports multiple connection strategies and auth approaches.

Connection approaches

  • URL-based Stream endpoint: set mcpServers.RapidMCP.url and optional headers.
  • Command-based connector (npx): set command, args, and env.

Auth keys

  • Put static tokens in headers.Authorization.
  • Map dynamic keys using environment variables in the command form, e.g. ${AUTH_HEADER}.
  • Use lowercase api-key to expose {{api-key}} for templating in tools.

Examples

URL-based:

{
  "mcpServers": {
    "RapidMCP": {
      "url": "https://rapid-mcp.com/mcp/<serverId>/stream",
      "headers": {
        "Authorization": "Bearer XXXXX",
        "api-key": "example-api-key"
      }
    }
  }
}

Command-based:

{
  "mcpServers": {
    "RapidMCP": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://rapid-mcp.com/mcp/<serverId>/stream",
        "--header",
        "api-key:${AUTH_HEADER}"
      ],
      "env": { "AUTH_HEADER": "Bearer XXXXXXX" }
    }
  }
}