Skip to main content
GET
/
api
/
mcp
/
clients
Get all MCP clients
curl --request GET \
  --url http://localhost:8080/api/mcp/clients
[
  {
    "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_execute": [
        "read_file",
        "list_directory"
      ]
    },
    "tools": [
      "read_file",
      "list_directory",
      "write_file"
    ],
    "state": "connected"
  }
]

Response

A list of MCP clients

name
string
required

Unique name for this MCP client

Example:

"filesystem"

config
object
required
tools
string[]
required

Available tools from this client

Example:
["read_file", "list_directory", "write_file"]
state
enum<string>
required

Connection state of MCP client

Available options:
connected,
disconnected,
error
Example:

"connected"