Class ByProjectKeyMcpServersPostString

All Implemented Interfaces:
ErrorableTrait<ByProjectKeyMcpServersPostString>, ClientRequestCommand<McpServer>, CreateHttpRequestCommand, HttpRequestCommand<McpServer>, RequestCommand<McpServer>

public class ByProjectKeyMcpServersPostString extends StringBodyApiMethod<ByProjectKeyMcpServersPostString,McpServer> implements ErrorableTrait<ByProjectKeyMcpServersPostString>

Creates a new MCP Server for the Project.

Specific Error Codes:



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.mcp_server.McpServer>> result = apiRoot
            .withProjectKey("{projectKey}")
            .mcpServers()
            .post("")
            .execute()