Mcp

For instructions on how to authenticate to use this endpoint, see API overview.

Endpoints

GET

List all mcp servers

Required API key scopes

project:read

Path parameters

  • project_id
    string

Query parameters

  • limit
    integer
  • offset
    integer

Response


Example request

GET /api/environments/:project_id/mcp_servers
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/environments/:project_id/mcp_servers/

Example response

Status 200
RESPONSE
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"name": "string",
"url": "http://example.com",
"description": "string",
"auth_type": "none"
}
]
}

Community questions

Questions about this page? or post a community question.