GebSecure Docs v0.1.0

Reference · Gateway API

MCP — Gateway API

3 operations of the GebSecure Gateway API (0.1.0), generated from docs/openapi/gateway.json.

Base URL: https://gateway.gebsecure.com · OpenAPI 3.1.0 · contract version 0.1.0 · generated from docs/openapi/gateway.json.

GET /v1/mcp-servers#

MCP servers available to the calling agent (discovery)

  • Endpoint: GET https://gateway.gebsecure.com/v1/mcp-servers
  • Authentication: bearer access token (JWT) or API key (gsk_…) — see authentication

Responses

  • 200 — Default Response

Errors are application/problem+json (error model).

bash
curl -X GET "$GEBSECURE_GATEWAY_URL/v1/mcp-servers" \
  -H "Authorization: Bearer $GEBSECURE_TOKEN"

POST /v1/mcp#

MCP JSON-RPC endpoint

  • Endpoint: POST https://gateway.gebsecure.com/v1/mcp
  • Authentication: bearer access token (JWT) or API key (gsk_…) — see authentication

Request body (application/json, required)

any

Responses

  • 200 — Default Response

Errors are application/problem+json (error model).

bash
curl -X POST "$GEBSECURE_GATEWAY_URL/v1/mcp" \
  -H "Authorization: Bearer $GEBSECURE_TOKEN" \
  -H 'content-type: application/json' \
  -d 'null'

POST /v1/mcp/{server}#

MCP JSON-RPC endpoint

  • Endpoint: POST https://gateway.gebsecure.com/v1/mcp/{server}
  • Authentication: bearer access token (JWT) or API key (gsk_…) — see authentication

Parameters

Name In Type Required Notes
server path string yes pattern ^[a-z0-9][a-z0-9-]{0,40}$

Request body (application/json, required)

any

Responses

  • 200 — Default Response

Errors are application/problem+json (error model).

bash
curl -X POST "$GEBSECURE_GATEWAY_URL/v1/mcp/{server}" \
  -H "Authorization: Bearer $GEBSECURE_TOKEN" \
  -H 'content-type: application/json' \
  -d 'null'