MCP Servers
Get generated Python code for the MCP Server
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Generates MCP server Python code from the OpenAPI specifications associated with the MCP server.
get/v1/mcp-cp/{controlPlaneId}/mcp-servers/{mcpServerId}/code
Response
Generated Python code for the MCP server
Example response
{
"code": "print(\"Hello MCP\")"
}