v1

latestOpenAPI 3.0.02026-07-26492143.5 KB
MCP

List MCP server tools

Return the tools exposed by an MCP server. When the server is not in connected state, tools is empty and gumloop_auth_url is returned so the caller can prompt the user to authenticate.

get/mcp/servers/{server_id}/tools

Path parameters

server_idstring required

Identifier of the MCP server.

Query parameters

team_idstring

Scope the lookup to a single team.

Response

Tools available on the server, plus the server's connection state.

server_idstring nullable
statusstring nullable
gumloop_auth_urlstring nullable

Example response

{
  "tools": [
    {
      "tool_call_id": "gumloop_slack__slack_send_message",
      "name": "slack_send_message",
      "description": "Send a message to a Slack channel.",
      "input_schema": {
        "type": "object",
        "properties": {
          "channel": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "channel",
          "text"
        ]
      },
      "server_id": "gumloop_slack",
      "server_type": "gumcp_server",
      "server": {}
    }
  ],
  "server_id": "gumloop_slack",
  "status": "connected",
  "gumloop_auth_url": "https://www.gumloop.com/oauth/connect/slack"
}