Create MCP
Changed onCreates a bare MCP.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Request body
Request body for creating an MCP.
The machine name of the MCP that uniquely identifies it within the catalog.
The display name of the MCP.
Optionally provide a description of the MCP.
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
Example request
{
"name": "my-mcp",
"display_name": "My MCP",
"description": "Customer support triage model",
"labels": {
"env": "test"
}
}Response
Response schema for MCPs.
An MCP catalog resource.
The unique identifier of the MCP.
The machine name of the MCP that uniquely identifies it within the catalog.
The display name of the MCP.
A description of the MCP.
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
Stores information about what manages this entity, such as the tool or system responsible for its lifecycle (for example, terraform).
Keys must be 1–63 characters long, start and end with an alphanumeric character, and may contain dashes (-), underscores (_), and dots (.). Values must be 1–127 characters long and must not be empty. Keys and values must not contain spaces or control characters.
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
Example response
{
"id": "7703e2f2-f9c0-47e3-9146-5fa50486b871",
"name": "my-mcp",
"display_name": "My MCP",
"description": "Description of MCP.",
"labels": {
"env": "test"
},
"managed_by": {
"owner": "terraform"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
the
managed_by/additionalPropertiesresponse property's maxLength was increased from63to127for the response status - info
the
managed_by/additionalPropertiesresponse's property pattern was changed from^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$to^[^\s\x00-\x1F\x7F-\x9F]+$for the status
- breaking
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status
2 more changes in this revision
- breaking