Core - Retrieve an MCP server
curl --get 'https://router.toqan.ai/eu/v2/mcp-servers/01JQ0K5R8N2ZC7X4M9T3V6HWBD' \
--header "Authorization: Bearer $TOQAN_API_KEY"
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://router.toqan.ai/eu/v2/mcp-servers/{id}', 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-servers/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"mcp_server": {
"id": "<string>",
"key": "<string>",
"display_name": "<string>",
"description": "<string>",
"connection": {
"type": "MCP_CONNECTION_TYPE_HTTP",
"url": "https://api.githubcopilot.com/mcp/"
},
"auth": {
"type": "MCP_AUTH_TYPE_STATIC_HEADERS",
"static_headers": [
{
"key": "Authorization",
"masked_value": "<string>"
}
],
"oauth": {
"client_id": "<string>",
"token_url": "<string>",
"scopes": [
"<string>"
],
"masked_value": "<string>",
"issuer": "<string>",
"resource": "<string>"
},
"enterprise": {
"resource": "<string>",
"client_id": "<string>",
"masked_value": "<string>",
"scopes": [
"<string>"
]
}
},
"default_tool_exposure": {
"mode": "MCP_TOOL_EXPOSURE_MODE_ALL",
"read_only": true,
"tool_ids": [
"<string>"
],
"excluded_tool_ids": [
"<string>"
]
},
"sync_state": {
"status": "SYNC_STATUS_SYNCED",
"tools_total": 123,
"tools_added": 123,
"tools_removed": 123,
"last_synced_at": "<string>",
"errors": [
"<string>"
],
"skills_total": 123
},
"tools": [
{
"name": "<string>",
"description": "<string>",
"input_schema": {},
"status": "<string>",
"id": "<string>",
"title": "<string>",
"annotations": {
"read_only": true,
"destructive": true,
"idempotent": true,
"open_world": true,
"title": "<string>"
},
"http_operation": {
"method": "<string>",
"path": "<string>"
},
"icons": [
{
"src": "<string>",
"mime_type": "<string>",
"sizes": [
"<string>"
],
"theme": "<string>"
}
],
"output_schema": {},
"meta": {}
}
],
"created": "<string>",
"updated": "<string>",
"sharing": {
"all_projects": {},
"selected": {
"project_ids": [
"<string>"
]
},
"allow_version_pin": true,
"allow_fork": true,
"auto_grant_new_projects": true
},
"template_variables": [
"<string>"
],
"created_by_id": "<string>",
"skills": [
{
"uri": "<string>",
"name": "<string>",
"description": "<string>",
"frontmatter": {},
"files": [
{
"uri": "<string>",
"digest": "<string>",
"size": "<string>"
}
],
"dynamic": true
}
],
"openapi": {
"document_url": "<string>",
"operations": [
"<string>"
],
"title": "<string>",
"version": "<string>"
},
"icons": [
{
"src": "<string>",
"mime_type": "<string>",
"sizes": [
"<string>"
],
"theme": "<string>"
}
],
"website_url": "<string>",
"capabilities": {
"tools": true,
"resources": true,
"prompts": true,
"completions": true
},
"resource_catalog": {
"resources": [
{
"uri": "<string>",
"name": "<string>",
"title": "<string>",
"description": "<string>",
"mime_type": "<string>",
"size": "<string>",
"annotations": {
"audience": [
"<string>"
],
"last_modified": "<string>",
"priority": 123
},
"icons": [
{
"src": "<string>",
"mime_type": "<string>",
"sizes": [
"<string>"
],
"theme": "<string>"
}
],
"meta": {},
"selection_id": "<string>"
}
],
"resource_templates": [
{
"uri_template": "<string>",
"name": "<string>",
"title": "<string>",
"description": "<string>",
"mime_type": "<string>",
"annotations": {
"audience": [
"<string>"
],
"last_modified": "<string>",
"priority": 123
},
"icons": [
{
"src": "<string>",
"mime_type": "<string>",
"sizes": [
"<string>"
],
"theme": "<string>"
}
],
"meta": {},
"selection_id": "<string>"
}
],
"resources_status": "MCP_DISCOVERY_STATUS_SYNCED",
"resource_templates_status": "MCP_DISCOVERY_STATUS_SYNCED"
}
}
}{
"message": "<string>",
"code": 123,
"details": [
"<unknown>"
]
}{
"message": "<string>",
"code": 123,
"details": [
"<unknown>"
]
}MCP Servers
Retrieve an MCP server
Retrieves the details of an existing MCP server by its unique ID.
GET
/
v2
/
mcp-servers
/
{id}
Core - Retrieve an MCP server
curl --get 'https://router.toqan.ai/eu/v2/mcp-servers/01JQ0K5R8N2ZC7X4M9T3V6HWBD' \
--header "Authorization: Bearer $TOQAN_API_KEY"
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://router.toqan.ai/eu/v2/mcp-servers/{id}', 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-servers/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"mcp_server": {
"id": "<string>",
"key": "<string>",
"display_name": "<string>",
"description": "<string>",
"connection": {
"type": "MCP_CONNECTION_TYPE_HTTP",
"url": "https://api.githubcopilot.com/mcp/"
},
"auth": {
"type": "MCP_AUTH_TYPE_STATIC_HEADERS",
"static_headers": [
{
"key": "Authorization",
"masked_value": "<string>"
}
],
"oauth": {
"client_id": "<string>",
"token_url": "<string>",
"scopes": [
"<string>"
],
"masked_value": "<string>",
"issuer": "<string>",
"resource": "<string>"
},
"enterprise": {
"resource": "<string>",
"client_id": "<string>",
"masked_value": "<string>",
"scopes": [
"<string>"
]
}
},
"default_tool_exposure": {
"mode": "MCP_TOOL_EXPOSURE_MODE_ALL",
"read_only": true,
"tool_ids": [
"<string>"
],
"excluded_tool_ids": [
"<string>"
]
},
"sync_state": {
"status": "SYNC_STATUS_SYNCED",
"tools_total": 123,
"tools_added": 123,
"tools_removed": 123,
"last_synced_at": "<string>",
"errors": [
"<string>"
],
"skills_total": 123
},
"tools": [
{
"name": "<string>",
"description": "<string>",
"input_schema": {},
"status": "<string>",
"id": "<string>",
"title": "<string>",
"annotations": {
"read_only": true,
"destructive": true,
"idempotent": true,
"open_world": true,
"title": "<string>"
},
"http_operation": {
"method": "<string>",
"path": "<string>"
},
"icons": [
{
"src": "<string>",
"mime_type": "<string>",
"sizes": [
"<string>"
],
"theme": "<string>"
}
],
"output_schema": {},
"meta": {}
}
],
"created": "<string>",
"updated": "<string>",
"sharing": {
"all_projects": {},
"selected": {
"project_ids": [
"<string>"
]
},
"allow_version_pin": true,
"allow_fork": true,
"auto_grant_new_projects": true
},
"template_variables": [
"<string>"
],
"created_by_id": "<string>",
"skills": [
{
"uri": "<string>",
"name": "<string>",
"description": "<string>",
"frontmatter": {},
"files": [
{
"uri": "<string>",
"digest": "<string>",
"size": "<string>"
}
],
"dynamic": true
}
],
"openapi": {
"document_url": "<string>",
"operations": [
"<string>"
],
"title": "<string>",
"version": "<string>"
},
"icons": [
{
"src": "<string>",
"mime_type": "<string>",
"sizes": [
"<string>"
],
"theme": "<string>"
}
],
"website_url": "<string>",
"capabilities": {
"tools": true,
"resources": true,
"prompts": true,
"completions": true
},
"resource_catalog": {
"resources": [
{
"uri": "<string>",
"name": "<string>",
"title": "<string>",
"description": "<string>",
"mime_type": "<string>",
"size": "<string>",
"annotations": {
"audience": [
"<string>"
],
"last_modified": "<string>",
"priority": 123
},
"icons": [
{
"src": "<string>",
"mime_type": "<string>",
"sizes": [
"<string>"
],
"theme": "<string>"
}
],
"meta": {},
"selection_id": "<string>"
}
],
"resource_templates": [
{
"uri_template": "<string>",
"name": "<string>",
"title": "<string>",
"description": "<string>",
"mime_type": "<string>",
"annotations": {
"audience": [
"<string>"
],
"last_modified": "<string>",
"priority": 123
},
"icons": [
{
"src": "<string>",
"mime_type": "<string>",
"sizes": [
"<string>"
],
"theme": "<string>"
}
],
"meta": {},
"selection_id": "<string>"
}
],
"resources_status": "MCP_DISCOVERY_STATUS_SYNCED",
"resource_templates_status": "MCP_DISCOVERY_STATUS_SYNCED"
}
}
}{
"message": "<string>",
"code": 123,
"details": [
"<unknown>"
]
}{
"message": "<string>",
"code": 123,
"details": [
"<unknown>"
]
}Related guide: MCP gateways guide. See the MCP gateways guide for a walkthrough with examples.

