Hugging Face MCP Server
Connect Hugging Face to your AI agents with the Hugging Face MCP server.
Updated
What is Hugging Face MCP?
The Hugging Face MCP server is a Model Context Protocol server that connects Hugging Face to AI agents and assistants as a set of tools. With it connected, an agent can work with Hugging Face (ml models, datasets, gradio apps from hf hub) directly — instead of you copying data in and out by hand.
It is a remote MCP server that uses no authentication, so you point your client at the server URL, authorize once, and the Hugging Face tools become available to the model.
Connect the Hugging Face MCP server
Connect Hugging Face MCP to Claude Code
- 1
Add the server
Use `claude mcp add` with the Hugging Face MCP server URL (or its `npx` command), following the official docs.
- 2
Authorize
Complete authentication (no authentication) so Claude Code can call the server.
- 3
Verify
Ask Claude to use a Hugging Face tool to confirm the connection is live.
Connect Hugging Face MCP to Cursor
- 1
Open MCP settings
In Cursor, go to Settings → MCP → Add new server.
- 2
Add Hugging Face
Provide the Hugging Face MCP server URL or command and complete authentication.
- 3
Test
Reference Hugging Face from chat to confirm Cursor can reach the tools.
Using Hugging Face MCP with Gamut
On Gamut, the Hugging Face MCP server becomes a tool your agents use inside an automated, event-driven workflow — triggered by an event or a schedule, acting through Hugging Face and your other connected MCP servers, with the connection managed by Gamut rather than a local config file.
Frequently asked questions
What is the Hugging Face MCP server?
It is a Model Context Protocol server that exposes Hugging Face to AI agents as tools so they can work with it (ml models, datasets, gradio apps from hf hub).
How do I connect the Hugging Face MCP server?
Point your MCP client (Claude, Cursor, or Gamut) at the Hugging Face MCP server URL and complete authentication (no authentication). See the official documentation for the exact URL and scopes.
Can I use Hugging Face MCP with Gamut?
Yes — Gamut supports the Hugging Face MCP server, so your agents can use it as a tool in automated, triggered workflows.