🚀 Introducing Agent Gateway — governance, observability, and control for your AI agents.  Register for live webinar ↗
curl --request GET \
--url https://api.portkey.ai/v1/mcp-servers \
--header 'x-portkey-api-key: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisation_id": "<string>",
"name": "<string>",
"description": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"owner_id": "<string>",
"slug": "<string>",
"workspace_id": "<string>",
"mcp_integration_id": "<string>",
"mcp_integration_slug": "<string>",
"mcp_integration_url": "<string>",
"auth_type": "<string>",
"workspace_name": "<string>",
"workspace_slug": "<string>",
"url": "<string>"
}
],
"total": 123
}List MCP Servers for the workspace. Requires workspace_id or x-portkey-api-key header.
curl --request GET \
--url https://api.portkey.ai/v1/mcp-servers \
--header 'x-portkey-api-key: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisation_id": "<string>",
"name": "<string>",
"description": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"owner_id": "<string>",
"slug": "<string>",
"workspace_id": "<string>",
"mcp_integration_id": "<string>",
"mcp_integration_slug": "<string>",
"mcp_integration_url": "<string>",
"auth_type": "<string>",
"workspace_name": "<string>",
"workspace_slug": "<string>",
"url": "<string>"
}
],
"total": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Workspace ID or slug. Required when using org admin API key; optional when API key is workspace-scoped.
x >= 01 <= x <= 100Filter by MCP Server ID(s), comma-separated
255Was this page helpful?