Servers
mcpzero servers parses an MCP config the same way tunnel start does, then
prints every server it would register. Pass --endpoint to dry-run the
self-loop check without opening a WebSocket.
Usage
# From a config filemcpzero servers --mcp-config ./mcp.json
# Auto-discover Cursor / Claude Desktop / Codex configsmcpzero servers --mcp-auto
# Also fail if any HTTP server points back at this endpointmcpzero servers --mcp-config ./mcp.json --endpoint ep_abc123Flags
| Flag | Required | Description |
|---|---|---|
--mcp-config | One of | Path to MCP config JSON (mcpServers / servers) |
--mcp-auto | One of | Discover servers from installed agent configs |
--endpoint | No | Endpoint ID for self-loop validation |
--gw-base | No | Gateway base for loop check (default: credentials or production) |
Loop check
When --endpoint is set, the CLI rejects configs that would tunnel an HTTP
server whose URL is this endpoint (or cluster) on the gateway — the same
guard used by tunnel start. Without --endpoint, listing still works and
prints loop check: skipped.
Example
source: ./mcp.jsonservers: 2
NAME TRANSPORT DETAILfs stdio npxremote http https://example.com/mcp
loop check: ok (no server points at https://gw.mcpzero.io/ep_abc123)