Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 10 min read Announcement mediumAdept

Adding MCP Tools to Reachy Mini

The Reachy Mini conversation app can now call tools hosted in public Hugging Face Gradio Spaces over MCP, alongside built-in robot tools and custom local Python tools, all sharing one registry gated by each profile's tools.txt. A `tool-spaces add` command validates the Space, probes its MCP endpoint, discovers tools and namespaces them (Space slug alias plus double underscore) to avoid collisions, with a fail-fast uniqueness check. Canary search and weather tools showed that prompts matter: explicit instructions are needed to get parallel tool calls, though prompts can't guarantee orchestration, so deterministic logic belongs in code. Private, non-Gradio and arbitrary MCP servers aren't supported yet.

Assumes: Model Context Protocol basicsLLM tool calling

Related posts

  • How to Build an MCP Server with Gradio

    Hugging Face mediumAdept

    Gradio apps become Model Context Protocol servers by passing mcp_server=True to launch(), which auto-converts each Python function into an MCP tool, using its docstring and type hints to build the description and input schema. The server is exposed over SSE at /gradio_api/mcp/sse. Claude Desktop, which lacks SSE support, can reach it through mcp-remote via npx. Newer features include decorators for MCP resources and prompts, MCP-only functions via gr.api(), automatic file and base64 conversion, per-tool latency and success metrics, and free hosting on Hugging Face Spaces with bearer-token auth for private Spaces.

  • Tiny Agents in Python: a MCP-powered agent in ~70 lines of code

    Hugging Face mediumAdept

    Hugging Face's huggingface_hub Python SDK now includes an MCP client and a minimal Agent class, letting an LLM pull tools from MCP servers (stdio, SSE or streamable HTTP) and call them during inference. Install it with `pip install "huggingface_hub[mcp]"`, then run agents from the `tiny-agents` CLI, configured by an agent.json that sets model, inference provider and MCP servers, plus an optional PROMPT.md. The MCPClient connects to servers, converts their tool schemas into OpenAI-style function definitions, and streams chat completions while rebuilding tool calls. It then routes each call to the right MCP session. The Agent is essentially a while loop on top of the client, with special exit-loop tools to end a turn.

  • Implementing MCP Servers in Python: An AI Shopping Assistant with Gradio

    Hugging Face mediumAdept

    Gradio's MCP integration turns Python functions into LLM tools: launching an app with mcp_server=True exposes each endpoint as an MCP tool, with names, descriptions and input schemas generated from function docstrings, plus progress streaming and file upload handling. The walkthrough builds a virtual try-on shopping assistant by wrapping the IDM-VTON diffusion Space, called through the Gradio API client, in a Gradio Interface. That server is registered alongside the Playwright MCP server in VS Code's mcp.json, so the AI chat can browse a clothing store and render the user wearing selected garments.

  • How to Add MCP Servers to ChatGPT with Docker MCP Toolkit

    Docker mediumAdept

    Docker MCP Toolkit lets ChatGPT's Developer Mode call real tools by running MCP servers in isolated containers behind a Docker MCP Gateway exposed to ChatGPT via an ngrok tunnel. The guide walks through initializing a gateway from the chatgpt-app-basic template, running it with Docker Compose on port 8811 with streaming transport, and registering it as a custom connector. It then configures seven servers (Firecrawl, SQLite, Stripe, GitHub, Node.js Sandbox, Sequential Thinking, Context7) to build a competitive repricing agent that scrapes competitor prices, updates Stripe prices, logs decisions to SQLite and pushes audit reports to GitHub.

  • NVIDIA brings agents to life with DGX Spark and Reachy Mini

    Hugging Face mediumAdept

    A desk-sized robot assistant can be built by wiring NVIDIA Nemotron 3 Nano (reasoning), Nemotron Nano 2 VL (vision) and ElevenLabs TTS to a Reachy Mini robot or its simulator, running locally on DGX Spark or against cloud endpoints. NeMo Agent Toolkit orchestrates the agent. A small Phi-3-mini router classifies each request as chit-chat, image understanding or other, and sends it to a fast text model, the VLM with a camera frame, or a ReAct agent with tools such as Wikipedia search. Pipecat handles real-time voice, vision and robot movement. Practical advice includes keeping tool schemas tight, capping tool calls, confirming before physical actuation, and self-hosting the fast model via NIM or vLLM to cut latency and cost.

The quest for software engineering knowledge.

Look:
Layout: