POST /accounts/{account_id}/access/ai-controls/mcp/portals
Create a new MCP PortalServers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id |
String | Yes |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
id |
String | Yes |
portal id |
name |
String | Yes | |
description |
String | No | |
servers[] |
Array | No | |
servers[].default_disabled |
Boolean | No |
Default value: false |
servers[].on_behalf |
Boolean | No |
Default value: true |
servers[].updated_tools[] |
Array | No | |
servers[].updated_tools[].name |
String | Yes | |
servers[].updated_tools[].description |
String | No | |
servers[].updated_tools[].enabled |
Boolean | No | |
servers[].updated_prompts[] |
Array | No | |
servers[].updated_prompts[].name |
String | Yes | |
servers[].updated_prompts[].description |
String | No | |
servers[].updated_prompts[].enabled |
Boolean | No | |
servers[].server_id |
String | Yes |
server id |
hostname |
String | Yes |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.