MCP GatewayDiscovery

Discover tools from a server URL

POST
/rest/v1/mcp-gateway/servers/discover

Authorization

BearerAuth
AuthorizationBearer <token>

API key passed as Bearer token

In: header

Request Body

application/json

url*string
transport?string
headers?

Response Body

application/json

curl -X POST "https://example.com/rest/v1/mcp-gateway/servers/discover" \  -H "Content-Type: application/json" \  -d '{    "url": "https://mcp.example.com/sse",    "transport": "sse"  }'
{  "tools": [    {      "name": "search_files",      "description": "Search files in a repository",      "inputSchema": {        "type": "object",        "properties": {          "query": {            "type": "string"          }        }      }    }  ],  "prompts": [],  "resources": []}