The Reachy Mini conversation app connects only to Hugging Face Gradio Spaces

Kind: idiosyncrasy · Status: current · Last verified: 2026-11-26 · Clients: reachy-mini-conversation-app · Revisions: 2025-11-25, 2026-07-28

At 622a3a67 the app calls a remote MCP server a "Tool Space". A person adds one by slug, with reachy-mini-conversation-app tool-spaces add owner/name or the Tools view of the web UI, which calls the tool_spaces.add JSON-RPC method. Install looks the Space up with HfApi.space_info, refuses one that is disabled or whose SDK is not Gradio, builds https://<host>/gradio_api/mcp/, lists the tools and writes them to installed_tool_spaces.json. The CLI enables the tools in the active profile unless --install-only is given. The UI always installs only, and a person then picks tools per personality.

What URL can be reached

validate_space_mcp_url requires https, a host ending in .hf.space, no userinfo, port 443, the path /gradio_api/mcp/ exactly, and no query or fragment. It runs when the manifest is read and again in build_remote_client before every connection, so editing the manifest cannot point the app at another server. The README says the app accepts these endpoints "not arbitrary MCP URLs".

The lower-level mcp_client.validate_http_mcp_url is looser: any https URL, or http on localhost, 127.0.0.1 or ::1. The integration test drives RemoteMcpToolClient against a local MCPServer that way. No configuration path in the app reaches it with such a URL.

What a default install does

When no manifest exists, four Pollen Robotics Spaces are seeded with static tool specs: search, time, weather and knowledge. Their five tools are in the default profile's default_tools. Startup builds the model's tool list from these specs with no MCP traffic. The first request a bundled Space sees is the discover probe in front of a tools/call, the first time the model picks one of its tools.

Credentials

The only header the app sets is Authorization: Bearer <token>, with HF_TOKEN or the hf auth login cache, and only for a Space the Hub reports as private. There is no OAuth flow and no way to add other headers.

Wire name

Client(transport) passes no client_info, so mcp 2.2.0 sends its placeholder mcp 0.1.0, in the initialize request and in the per-request _meta on 2026-07-28. The capability object is empty. A server cannot tell this app from any other caller that leaves the SDK default. Hermes sent the same name until it set client_info ([[hermes-goes-on-the-wire-as-mcp]]).

Sources