Create an MCP server
POST/v1/projects/:project_id/mcp-servers
Each item of tools is checked against the tool it names: one of the project's, else 400. action is required, and must be one of the tool's available actions, when the tool declares actions; otherwise it is ignored and stored as null. A tool whose definition reads {{context:naturali_caller_…}} is refused unless auth.type is oauth.
daily_call_limit is required when auth is none.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 502
MCP server created.
The request was malformed or failed validation.
Missing or invalid credentials.
The credential is scoped to a different project, or the caller's role in the project does not carry this action.
The resource does not exist (existence is not leaked).
The upstream runtime could not be reached or answered unexpectedly (UPSTREAM_UNAVAILABLE).