AI Gateway MCP Servers
Get an MCP Server
Changed onReturns the details of a specific MCP Server.
get/v1/ai-gateways/{gatewayId}/mcp-servers/{mcpServerIdOrName}
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
gatewayId, string uuid required
Contains a unique identifier used for this resource.
Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7
The unique ID of the AI Gateway.
mcpServerIdOrName, string uuid required
Contains a unique identifier used for this resource.
Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7
The unique ID of the MCP Server.
Response
A successful response returning an MCP Server.
union required
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
Example response
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z",
"config": {
"route": {
"headers": {
"version": [
"v1",
"v2"
]
},
"hosts": [
"foo.example.com"
]
},
"url": "https://mcp.internal.kongair.com",
"upstream": {
"auth": {
"type": "aws",
"region": "us-east-1",
"access_key_id": "AKIAIOSFODNN7EXAMPLE"
}
},
"certificates": [
"my-certificate"
],
"ca_certificates": [
"my-ca-certificate"
]
},
"tools": [
{
"access": {
"acls": {
"allow": [
"gold-partner"
],
"deny": [
"bronze-partner"
],
"allow_when": [
"has(principal.metadata.tier) && principal.metadata.tier == 'partner'"
],
"deny_when": [
"has(principal.metadata.role) && principal.metadata.role != 'admin'"
]
}
},
"description": "Search for available flights",
"parameters": [
{
"name": "origin",
"in": "query",
"description": "The origin airport code.",
"required": true
}
]
}
],
"display_name": "Kong Air Flights",
"name": "kongair-flights",
"enabled": true,
"labels": {
"category": "finance"
},
"managed_by": {
"owner": "terraform"
},
"datastores": [
{
"name": "vault-konnect-prod"
}
],
"token_vault": {
"provider": "my-upstream-provider",
"subject_token_type": "access_token",
"credential": {
"inbound": {
"location": "header",
"name": "Authorization",
"prefix": "Bearer "
}
},
"cache": {
"redis": {
"host": "redis.internal",
"port": 6379
}
}
}
}Changes
- breaking
the response property
oneOf[subschema #1: AIGatewayMCPServerConversionOnlyResponse]/config/urlbecame nullable for the status - breaking
the response property
oneOf[subschema #2: AIGatewayMCPServerConversionListenerResponse]/config/urlbecame nullable for the status - breaking
the response property
oneOf[subschema #4: AIGatewayMCPServerPassthroughListenerResponse]/config/urlbecame nullable for the status
19 more changes in this revision
- breaking