Creates a new MCP (Model Context Protocol) server configuration for the application. Use this endpoint to register an MCP server that agents can connect to.
Uniqueness: The slug must be unique per application.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Name of the MCP server (human readable)
"Weather Server"
Slug of the MCP server (unique, URL-safe)
"weather-server"
Description of the MCP server
"Provides weather data for cities"
URL of the MCP server
"http://localhost:3001"
Icon for the MCP server
"http://localhost:3001/icon.png"
MCP server created successfully
"myapp_my-mcp-server"
"my-app-id"
"my-mcp-server"
"My MCP Server"
"A Model Context Protocol server"
"https://mcp.example.com/sse"
"https://example.com/icon.png"
1700000000000
1700000000000