Skip to main content
GET
/
api
/
mcp-servers
/
{mcpServerId}
/
tools
List MCP server tools
curl --request GET \
  --url http://localhost:8080/api/mcp-servers/{mcpServerId}/tools \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-API-SECRET: <api-key>'
{
  "message": "MCP server tools retrieved successfully",
  "status": "success",
  "error": null,
  "data": [
    {
      "tool_name": "google_calendar_create_detailed_event",
      "description": "Create an event by defining each field.",
      "approval_policy": "auto_approve_all",
      "input_schema": {
        "type": "object",
        "properties": {
          "instructions": {
            "type": "string",
            "description": "Instructions for running this tool..."
          },
          "summary": {
            "type": "string",
            "description": "Summary"
          }
        },
        "required": [
          "instructions"
        ]
      },
      "created_at": 1751785825934,
      "updated_at": 1751785825934
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

API Key for MCP server and external service authentication

X-API-SECRET
string
header
required

API Secret for MCP server and external service authentication

Path Parameters

mcpServerId
string
required

MCP server ID

Example:

"mcp_8c180796-e6d7-4343-88b5-5df0846fef69"

Response

MCP server tools retrieved successfully

message
string
status
string
error
string | null
data
object[]