Test an MCP server
Connect to the MCP server from the platform and list its tools, with the stored headers. Use it after adding a server, and to see the exact tool names for allowed_tools.
To test a token you only pass per call, send it in headers: those are merged over the stored headers for this test only and are not stored.
Authorization
BearerAuth API key authentication. Get your key from the dashboard.
In: header
Path Parameters
MCP server UUID
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/mcp-servers/497f6eca-6276-4993-bfeb-53cbbbba6f08/test" \ -H "Content-Type: application/json" \ -d '{}'{
"ok": true,
"duration_ms": 412,
"tools": [
{
"name": "search_mail",
"description": "Search the mailbox for messages that match a query",
"input_schema": {}
}
],
"error": "The server answered HTTP 401: check the headers of this MCP server."
}{
"error": "Invalid API key",
"message": "string"
}{
"error": "Invalid API key",
"message": "string"
}{
"error": "Invalid API key",
"message": "string"
}Delete an MCP server DELETE
Delete an MCP server and its stored headers. Deletion is refused with HTTP 409 while an assistant still uses the server, so no assistant loses a tool as a side effect. Remove the `mcp` tool from those assistants first.
List analysis templates GET
Get all analysis templates for your organization