AI Gateway MCP Servers

MCP Servers that expose tools for AI Gateway integrations.

List MCP Servers

Returns a list of MCP Servers configured for the AI Gateway.

get

Query Parameters

page[size]integer

The maximum number of items to include per page. The last page of a collection may include fewer items.

Example:10

page[after]string

Request the next page of data, starting with the item after this parameter.

Example:ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ

Path Parameters

gatewayIdstring(uuid)requiredread-only

Contains a unique identifier used for this resource.

Example:bf138ba2-c9b1-4229-b268-04d9d8a6410b

Response

application/json

A paginated list of MCP Servers.

dataOne Of
array[object]required
AIGatewayMCPServerConversionOnlyobject
* Additional properties are allowed.
Show Child Parameters
metaobjectrequired

Pagination metadata.

Show Child Parameters
get/ai-gateways/{gatewayId}/mcp-servers
 
application/json

Create an MCP Server

Registers a new MCP Server for the AI Gateway.

post

Path Parameters

gatewayIdstring(uuid)requiredread-only

Contains a unique identifier used for this resource.

Example:bf138ba2-c9b1-4229-b268-04d9d8a6410b

Body

application/json

CreateAIGatewayMCPServerRequest

CreateAIGatewayMCPServerRequest
One Of
typestringrequired

Allowed values:conversion-only

display_namestringrequired

The display name for the MCP Server.

Example:Kong Air Flights

refstringrequired

A user-defined unique identifier for this MCP server, used as a stable human-readable reference.

Example:kongair-flights

configobjectrequired

Routing, logging, and server configuration for the MCP Server.

* Additional properties are NOT allowed.
Show Child Parameters
toolsarray[object]required

A tool exposed by the MCP Server, mapped to a backend HTTP endpoint.

* Additional properties are NOT allowed.
Show Child Parameters
policiesarray[object]required

Lightweight object used to reference a policy instance, identified by its ref.

* Additional properties are NOT allowed.
Show Child Parameters
labelsobject

Public labels store information about an entity that can be used for filtering a list of objects.

Public labels are intended to store PUBLIC metadata.

Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.

Example:{"category":"finance"}

managed_byobject | null

Indicates the managing entities for a resource. A maximum of 5 keys is allowed.

Keys must be 63 characters or less, starting and ending with an alphanumeric character,
and may include dashes (-), underscores (_), and dots (.).

Values must be non-empty strings of 127 characters or less.

Keys and values must not contain spaces or control characters, and are case-insensitive.

Example:{"team":"platform","owner":"kong"}

Response

application/json

MCP Server created successfully.

AIGatewayMCPServer

One Of
typestringrequired

Allowed values:conversion-only

display_namestringrequired

The display name for the MCP Server.

Example:Kong Air Flights

refstringrequired

A user-defined unique identifier for this MCP server, used as a stable human-readable reference.

Example:kongair-flights

configobjectrequired

Routing, logging, and server configuration for the MCP Server.

* Additional properties are NOT allowed.
Show Child Parameters
toolsarray[object]required

A tool exposed by the MCP Server, mapped to a backend HTTP endpoint.

* Additional properties are NOT allowed.
Show Child Parameters
policiesarray[object]required

Lightweight object used to reference a policy instance, identified by its ref.

* Additional properties are NOT allowed.
Show Child Parameters
labelsobject

Public labels store information about an entity that can be used for filtering a list of objects.

Public labels are intended to store PUBLIC metadata.

Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.

Example:{"category":"finance"}

managed_byobject | null

Indicates the managing entities for a resource. A maximum of 5 keys is allowed.

Keys must be 63 characters or less, starting and ending with an alphanumeric character,
and may include dashes (-), underscores (_), and dots (.).

Values must be non-empty strings of 127 characters or less.

Keys and values must not contain spaces or control characters, and are case-insensitive.

Example:{"team":"platform","owner":"kong"}

post/ai-gateways/{gatewayId}/mcp-servers

Body

{}
 
application/json

Get an MCP Server

Returns the details of a specific MCP Server.

get

Path Parameters

gatewayIdstring(uuid)requiredread-only

Contains a unique identifier used for this resource.

Example:bf138ba2-c9b1-4229-b268-04d9d8a6410b

mcpServerIdstring(uuid)requiredread-only

Contains a unique identifier used for this resource.

Example:bf138ba2-c9b1-4229-b268-04d9d8a6410b

Response

application/json

A successful response returning an MCP Server.

AIGatewayMCPServer

One Of
typestringrequired

Allowed values:conversion-only

display_namestringrequired

The display name for the MCP Server.

Example:Kong Air Flights

refstringrequired

A user-defined unique identifier for this MCP server, used as a stable human-readable reference.

Example:kongair-flights

configobjectrequired

Routing, logging, and server configuration for the MCP Server.

* Additional properties are NOT allowed.
Show Child Parameters
toolsarray[object]required

A tool exposed by the MCP Server, mapped to a backend HTTP endpoint.

* Additional properties are NOT allowed.
Show Child Parameters
policiesarray[object]required

Lightweight object used to reference a policy instance, identified by its ref.

* Additional properties are NOT allowed.
Show Child Parameters
labelsobject

Public labels store information about an entity that can be used for filtering a list of objects.

Public labels are intended to store PUBLIC metadata.

Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.

Example:{"category":"finance"}

managed_byobject | null

Indicates the managing entities for a resource. A maximum of 5 keys is allowed.

Keys must be 63 characters or less, starting and ending with an alphanumeric character,
and may include dashes (-), underscores (_), and dots (.).

Values must be non-empty strings of 127 characters or less.

Keys and values must not contain spaces or control characters, and are case-insensitive.

Example:{"team":"platform","owner":"kong"}

get/ai-gateways/{gatewayId}/mcp-servers/{mcpServerId}
 
application/json

Update an MCP Server

Updates the configuration of an existing MCP Server.

put

Path Parameters

gatewayIdstring(uuid)requiredread-only

Contains a unique identifier used for this resource.

Example:bf138ba2-c9b1-4229-b268-04d9d8a6410b

mcpServerIdstring(uuid)requiredread-only

Contains a unique identifier used for this resource.

Example:bf138ba2-c9b1-4229-b268-04d9d8a6410b

Body

application/json

UpdateAIGatewayMCPServerRequest

UpdateAIGatewayMCPServerRequest
One Of
typestringrequired

Allowed values:conversion-only

display_namestringrequired

The display name for the MCP Server.

Example:Kong Air Flights

refstringrequired

A user-defined unique identifier for this MCP server, used as a stable human-readable reference.

Example:kongair-flights

configobjectrequired

Routing, logging, and server configuration for the MCP Server.

* Additional properties are NOT allowed.
Show Child Parameters
toolsarray[object]required

A tool exposed by the MCP Server, mapped to a backend HTTP endpoint.

* Additional properties are NOT allowed.
Show Child Parameters
policiesarray[object]required

Lightweight object used to reference a policy instance, identified by its ref.

* Additional properties are NOT allowed.
Show Child Parameters
labelsobject

Public labels store information about an entity that can be used for filtering a list of objects.

Public labels are intended to store PUBLIC metadata.

Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.

Example:{"category":"finance"}

managed_byobject | null

Indicates the managing entities for a resource. A maximum of 5 keys is allowed.

Keys must be 63 characters or less, starting and ending with an alphanumeric character,
and may include dashes (-), underscores (_), and dots (.).

Values must be non-empty strings of 127 characters or less.

Keys and values must not contain spaces or control characters, and are case-insensitive.

Example:{"team":"platform","owner":"kong"}

Response

application/json

MCP Server updated successfully.

AIGatewayMCPServer

One Of
typestringrequired

Allowed values:conversion-only

display_namestringrequired

The display name for the MCP Server.

Example:Kong Air Flights

refstringrequired

A user-defined unique identifier for this MCP server, used as a stable human-readable reference.

Example:kongair-flights

configobjectrequired

Routing, logging, and server configuration for the MCP Server.

* Additional properties are NOT allowed.
Show Child Parameters
toolsarray[object]required

A tool exposed by the MCP Server, mapped to a backend HTTP endpoint.

* Additional properties are NOT allowed.
Show Child Parameters
policiesarray[object]required

Lightweight object used to reference a policy instance, identified by its ref.

* Additional properties are NOT allowed.
Show Child Parameters
labelsobject

Public labels store information about an entity that can be used for filtering a list of objects.

Public labels are intended to store PUBLIC metadata.

Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.

Example:{"category":"finance"}

managed_byobject | null

Indicates the managing entities for a resource. A maximum of 5 keys is allowed.

Keys must be 63 characters or less, starting and ending with an alphanumeric character,
and may include dashes (-), underscores (_), and dots (.).

Values must be non-empty strings of 127 characters or less.

Keys and values must not contain spaces or control characters, and are case-insensitive.

Example:{"team":"platform","owner":"kong"}

put/ai-gateways/{gatewayId}/mcp-servers/{mcpServerId}

Body

{}
 
application/json