Core - List MCP gateways
curl --get 'https://router.toqan.ai/eu/v2/mcp-gateways' \
--header "Authorization: Bearer $TOQAN_API_KEY" \
--data-urlencode 'limit=25'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://router.toqan.ai/eu/v2/mcp-gateways', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://router.toqan.ai/eu/v2/mcp-gateways"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "<string>",
"data": [
{
"id": "<string>",
"key": "<string>",
"display_name": "Production Gateway",
"description": "<string>",
"server_links": [
{
"mcp_server_id": "<string>",
"alias": "<string>",
"tool_exposure": {
"mode": "MCP_TOOL_EXPOSURE_MODE_ALL",
"read_only": true,
"tool_ids": [
"<string>"
],
"excluded_tool_ids": [
"<string>"
]
},
"enabled": true,
"skill_exposure": {
"mode": "MCP_TOOL_EXPOSURE_MODE_ALL",
"skill_uris": [
"<string>"
]
},
"resource_exposure": {
"mode": "MCP_TOOL_EXPOSURE_MODE_ALL",
"resource_ids": [
"<string>"
],
"resource_template_ids": [
"<string>"
]
}
}
],
"tool_naming": "MCP_TOOL_NAMING_PREFIX_WITH_SERVER_KEY",
"public_url": "<string>",
"created": "<string>",
"updated": "<string>",
"exposed_tools_count": 123,
"mode": "MCP_GATEWAY_MODE_CODE",
"sharing": {
"all_projects": {},
"selected": {
"project_ids": [
"<string>"
]
},
"allow_version_pin": true,
"allow_fork": true,
"auto_grant_new_projects": true
},
"plugins": [
{
"id": "<string>",
"language": "<string>",
"entities": [
"<string>"
],
"on_failure": "<string>",
"threshold": 123,
"mask": [
"<string>"
],
"regions": [
"<string>"
],
"entity_thresholds": {}
}
],
"skill_ids": [
"<string>"
],
"icons": [
{
"src": "<string>",
"mime_type": "<string>",
"sizes": [
"<string>"
],
"theme": "<string>"
}
],
"website_url": "<string>",
"guardrails": [
{
"id": "<string>",
"execute_on": "<string>",
"sample_rate": 123,
"is_guardrail": true,
"options": {}
}
],
"created_by_id": "<string>"
}
],
"has_more": true
}{
"message": "<string>",
"code": 123,
"details": [
"<unknown>"
]
}MCP Gateways
List MCP gateways
Returns a paginated list of MCP gateways in the workspace.
GET
/
v2
/
mcp-gateways
Core - List MCP gateways
curl --get 'https://router.toqan.ai/eu/v2/mcp-gateways' \
--header "Authorization: Bearer $TOQAN_API_KEY" \
--data-urlencode 'limit=25'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://router.toqan.ai/eu/v2/mcp-gateways', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://router.toqan.ai/eu/v2/mcp-gateways"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "<string>",
"data": [
{
"id": "<string>",
"key": "<string>",
"display_name": "Production Gateway",
"description": "<string>",
"server_links": [
{
"mcp_server_id": "<string>",
"alias": "<string>",
"tool_exposure": {
"mode": "MCP_TOOL_EXPOSURE_MODE_ALL",
"read_only": true,
"tool_ids": [
"<string>"
],
"excluded_tool_ids": [
"<string>"
]
},
"enabled": true,
"skill_exposure": {
"mode": "MCP_TOOL_EXPOSURE_MODE_ALL",
"skill_uris": [
"<string>"
]
},
"resource_exposure": {
"mode": "MCP_TOOL_EXPOSURE_MODE_ALL",
"resource_ids": [
"<string>"
],
"resource_template_ids": [
"<string>"
]
}
}
],
"tool_naming": "MCP_TOOL_NAMING_PREFIX_WITH_SERVER_KEY",
"public_url": "<string>",
"created": "<string>",
"updated": "<string>",
"exposed_tools_count": 123,
"mode": "MCP_GATEWAY_MODE_CODE",
"sharing": {
"all_projects": {},
"selected": {
"project_ids": [
"<string>"
]
},
"allow_version_pin": true,
"allow_fork": true,
"auto_grant_new_projects": true
},
"plugins": [
{
"id": "<string>",
"language": "<string>",
"entities": [
"<string>"
],
"on_failure": "<string>",
"threshold": 123,
"mask": [
"<string>"
],
"regions": [
"<string>"
],
"entity_thresholds": {}
}
],
"skill_ids": [
"<string>"
],
"icons": [
{
"src": "<string>",
"mime_type": "<string>",
"sizes": [
"<string>"
],
"theme": "<string>"
}
],
"website_url": "<string>",
"guardrails": [
{
"id": "<string>",
"execute_on": "<string>",
"sample_rate": 123,
"is_guardrail": true,
"options": {}
}
],
"created_by_id": "<string>"
}
],
"has_more": true
}{
"message": "<string>",
"code": 123,
"details": [
"<unknown>"
]
}Related guide: MCP gateways guide. See the MCP gateways guide for a walkthrough with examples.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Page size between 1 and 200. Defaults to 25.
Cursor for the page after the given item id. Mutually exclusive with ending_before.
Cursor for the page before the given item id. Mutually exclusive with starting_after.
Case-insensitive match against the gateway key and display name.
Spans every project the caller belongs to instead of the active one.

