Create an MCP Server Definition
Creates a new MCP server definition under the given app.
| Path Parameters |
|---|
appId string — REQUIRED |
| Request Body — REQUIRED | ||||
|---|---|---|---|---|
name stringDisplay name of the MCP server definition. | ||||
description stringDescription of the MCP server definition. | ||||
documentationURL stringURL of human-readable documentation for this MCP server. | ||||
transportProtocol stringPossible values: [ Transport protocol: STDIO, STREAMABLE_HTTP, or HTTP_SSE. Determines which of the transport-specific fields below are required. | ||||
externalProviderUrl stringURL of the external MCP provider. Required for STREAMABLE_HTTP and HTTP_SSE transports; ignored for STDIO. | ||||
headers object[]HTTP headers to send to the external provider. Used for STREAMABLE_HTTP / HTTP_SSE transports.
| ||||
stdioCommand stringCommand to invoke the STDIO MCP server. Required for STDIO transport; ignored otherwise. | ||||
stdioCommandArgs stringArgument string passed to stdioCommand. | ||||
stdioEnv object[]Environment variables for the STDIO process.
| ||||
hasStaticTools booleanWhether this server publishes a static set of tools. Defaults to true if omitted. | ||||
hasDynamicTools booleanWhether this server may dynamically expose additional tools. Defaults to false if omitted. | ||||
permittedAuthMechanisms string[]Auth mechanism IDs (from the parent app's authMechanisms) permitted on this MCP server. |
| Responses | ||
|---|---|---|
200Returns the newly created MCP server definition
|