Deploy a new workflow document for a given MCP server.
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"}'
Request examples
{
"definition": "{\"flower\": \"0.1\", \"title\": \"About crabs\"}\n"
}
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"
]
}
}