Create Mcp Server
This method allows you to create a new MCP server configuration.
Show optional properties
{
"url": "string",
"transport": "string"
}
{
"verify_tls": "string",
"name": "string",
"description": "string",
"documentation_url": "string",
"headers": [
{
"name": "string",
"value": "string",
"is_secret": false
}
],
"url": "string",
"transport": "string"
}
TLS verification mode used when connecting to the MCP server.
Name of the MCP server.
Description of the MCP server.
The location of the MCP server's API documentation.
A list of HTTP headers for the MCP server.
Base URL to access the MCP server.
MCP server communication transport protocol
Successful Response
{
"name": "string",
"description": "string",
"documentation_url": "string",
"url": "string",
"transport": "string",
"id": "string",
"object": "string",
"created_at": 0,
"availability": "string",
"last_available_at": 0,
"last_updated_at": 0,
"verify_tls": "string"
}
Name of the MCP server.
Description of the MCP server.
The location of the MCP server's API documentation.
Base URL to access the MCP server.
MCP server communication transport protocol
id
Object type, which is always mcp_server.
Unix timestamp (in seconds) when the MCP server entry was created.
Availability status of an MCP server.
Unix timestamp (in seconds) when the MCP server was reachable.
Unix timestamp (in seconds) when the MCP server entry was last updated.
TLS verification mode used when connecting to the MCP server.
Validation Error
{
"detail": [
{
"loc": [
{}
],
"msg": "string",
"type": "string",
"ctx": {}
}
]
}
detail
Failed to create MCP server due to internal error.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"url":"string","transport":"string"}' https://{api_host}/api/v1/control/mcp-servers