Mcp Server
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
POST | |
GET | |
POST |
List all mcp server installations
Required API key scopes
project:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /mcp_server_installationsExample response
Status 200
RESPONSE
Create mcp server installations
Required API key scopes
project:writePath parameters
- project_idstring
Request parameters
- display_namestring
- urlstring
- descriptionstring
- auth_type
- is_enabledboolean
Response
Example request
POST /api /environments /:project_id /mcp_server_installationsExample response
Status 201
RESPONSE
Retrieve mcp server installations
Required API key scopes
project:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /mcp_server_installations /:idExample response
Status 200
RESPONSE
Update mcp server installations
Required API key scopes
project:readPath parameters
- idstring
- project_idstring
Request parameters
- display_namestring
- descriptionstring
- is_enabledboolean
Response
Example request
PATCH /api /environments /:project_id /mcp_server_installations /:idExample response
Status 200
RESPONSE
Delete mcp server installations
Required API key scopes
project:readPath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /mcp_server_installations /:idExample response
Status 204 No response body
Create mcp server installations proxy
Required API key scopes
project:readPath parameters
- idstring
- project_idstring
Request parameters
- display_namestring
- urlstring
- descriptionstring
- auth_type
- is_enabledboolean
Example request
POST /api /environments /:project_id /mcp_server_installations /:id /proxyExample response
Status 200
Retrieve mcp server installations authorize
Required API key scopes
project:readPath parameters
- project_idstring
Query parameters
- install_sourcestringDefault:
posthogOne of:"posthog""posthog-code" - posthog_code_callback_urlstringDefault:
- server_idstring
Example request
GET /api /environments /:project_id /mcp_server_installations /authorizeExample response
Status 200 No response body
Create mcp server installations install custom
Required API key scopes
project:readPath parameters
- project_idstring
Request parameters
- namestring
- urlstring
- auth_type
- api_keystringDefault:
- descriptionstringDefault:
- install_sourceDefault:
posthog - posthog_code_callback_urlstringDefault:
Response
Example request
POST /api /environments /:project_id /mcp_server_installations /install_customExample response
Status 200
RESPONSE
Status 201
RESPONSE