MCP Gateway

Create an MCP server

Changed on

Creates a new upstream MCP server connection in the workspace.

post/v2/mcp-servers

Request

  • Base URL
    https://my.orq.ai
  • Auth
    HTTP bearer

Request body

keystring required

Lowercase slug of letters, digits, hyphens and underscores, max 64 characters, unique per workspace; prefixes this server's tool names in gateways.

display_namestring required

Human readable name shown in the workspace.

descriptionstring

Free-form note about what this server is for.

Example request

{
  "display_name": "GitHub",
  "connection": {
    "url": "https://api.githubcopilot.com/mcp/"
  },
  "auth": {
    "static_headers": [
      {
        "key": "Authorization",
        "value": "ghp_xxxxxxxxxxxx"
      }
    ]
  },
  "default_tool_exposure": {
    "mode": "MCP_TOOL_EXPOSURE_MODE_ALL"
  }
}

Response

OK

Example response

{
  "mcp_server": {
    "connection": {
      "url": "https://api.githubcopilot.com/mcp/"
    },
    "auth": {
      "static_headers": [
        {
          "key": "Authorization",
          "value": "ghp_xxxxxxxxxxxx"
        }
      ]
    },
    "default_tool_exposure": {
      "mode": "MCP_TOOL_EXPOSURE_MODE_ALL"
    }
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status