Deploy a new workflow document for a given MCP server.
Body
-
Workflow definition of the MCP server.
-
List of external references required for Arazzo workflow documents (aka API sources definitions following the OpenAPI specification). More details about Arazzo and
sourcesDescriptionsin the Arazzo documentation.
POST
/mcp-servers/{mcp_server_id_or_slug}/deploy
curl \
--request POST 'https://bump.sh/api/v1/mcp-servers/holiday-booking/deploy' \
--header "Authorization: Token $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"definition":"{\"flower\": \"0.1\", \"title\": \"About crabs\"}\n","references":[{"name":"firstSource","content":"{openapi: 3.0.0, title: My first Source}","location":"./openapi/first-source.yml"}]}'
Request examples
{
"definition": "{\"flower\": \"0.1\", \"title\": \"About crabs\"}\n",
"references": [
{
"name": "firstSource",
"content": "{openapi: 3.0.0, title: My first Source}",
"location": "./openapi/first-source.yml"
}
]
}
Response examples (201)
{
"id": "string",
"mcp_server_id": "string"
}
Response examples (422)
{
"message": "Invalid definition file",
"errors": {
"raw_definition": [
"The property '#/paths//docs/{:id}/validations/post' contains additional properties [\"yolo\"] outside of the schema when none are allowed"
]
}
}