メインコンテンツまでスキップ

Add new MCP servers from JSON configuration

POST 

/v0/servers

Creates one or more MCP server configurations from a structured JSON input. This endpoint accepts configurations in a format compatible with .mcpr config files, making it easy to import existing server definitions or programmatically create new ones. Each server configuration must specify the command and arguments needed to start the server, and can optionally include environment variables for server customization. The endpoint validates each server configuration, attempts to register it in the system, and returns detailed results about the success or failure of each server import operation.

Request

Responses

At least one server created successfully. The response details the outcome for each attempted server addition.