v1

latestOpenAPI 3.0.3MIT2026-07-132953108.7 KB
MCP Management

List MCP Clients

Get information about all configured MCP (Model Context Protocol) clients including their connection state, available tools, and configuration.

get/api/mcp/clients

Response

List of MCP clients

namestring required

Unique name for this MCP client

toolsstring[] required

Available tools from this client

state'connected' | 'disconnected' | 'error' required

Connection state of MCP client

Example response

[
  {
    "name": "filesystem",
    "config": {
      "name": "filesystem",
      "connection_type": "stdio",
      "connection_string": "https://api.example.com/mcp",
      "stdio_config": {
        "command": "npx",
        "args": [
          "-y",
          "@modelcontextprotocol/server-filesystem"
        ],
        "envs": [
          "HOME",
          "USER"
        ]
      },
      "tools_to_skip": [
        "delete_file",
        "write_file"
      ],
      "tools_to_execute": [
        "read_file",
        "list_directory"
      ]
    },
    "tools": [
      "read_file",
      "list_directory",
      "write_file"
    ],
    "state": "connected"
  }
]