Hugging Face
Connect to the Hugging Face Hub: models, datasets, papers, and Spaces.
Hugging Face
Connect to the Hugging Face Hub: models, datasets, papers, and Spaces. With Lunar.dev MCPX, the MCP Gateway for secure and governed tool access, you connect the Hugging Face MCP server to Claude, ChatGPT, Cursor, and any MCP client through one gateway that routes, authenticates, and governs every Hugging Face tool call against your policies.
Why MCPX
MCPX is Lunar.dev's MCP Gateway. It sits between your AI agents and your MCP servers as a single gateway for every tool call, routing, authenticating, and governing traffic against your policies. Connect Hugging Face once and govern it everywhere: role-based access per agent with on-behalf-of attribution, real-time visibility, and an immutable audit trail of who did what, all deployable inside your own VPC.
Tools content
- space_search · Read-only
Find Hugging Face Spaces using semantic search. - model_search · Read-only
Find machine learning models hosted on Hugging Face. - model_details · Read-only
Get detailed information about a model from the Hugging Face Hub. - paper_search · Read-only
Find machine learning research papers on the Hugging Face Hub. - dataset_search · Read-only
Find datasets hosted on the Hugging Face Hub. - dataset_details · Read-only
Get detailed information about a specific dataset on the Hub. - hub_repo_search · Read-only
Search Hugging Face repositories across models, datasets, and spaces. - hub_repo_details · Read-only
Get details for one or more Hugging Face repos. - create_repo · Write
Create a Hugging Face model, dataset, space, or bucket repository. - duplicate_space · Write
Duplicate a Hugging Face Space. - space_info · Read-only
Tabulate Hugging Face Spaces information for a user. - space_files · Read-only
List all files in a static Hugging Face Space. - hf_doc_search · Read-only
Search and discover Hugging Face product and library documentation. - hf_doc_fetch · Read-only
Fetch a document from the Hugging Face or Gradio documentation library. - use_space · Read-only
Give the user access to a Hugging Face Space with mcp_ui. - hf_jobs · Write
Run Python/UV or Docker jobs on remote Hugging Face compute (submit, logs, inspect, cancel, schedule). - dynamic_space · Write
Find, inspect, and dynamically invoke Hugging Face Spaces. - hf_sandbox · Write
Create and manage interactive Hugging Face Jobs sandboxes. - hf_sandbox_exec · Write
Execute shell commands inside a Hugging Face Jobs sandbox.
Frequently asked questions
What is the Hugging Face MCP server?
Connect to the Hugging Face Hub: models, datasets, papers, and Spaces. Through Lunar.dev MCPX, Hugging Face connects to any MCP-compatible AI client behind a single governed gateway.
How do I connect Hugging Face to MCPX?
Add the Hugging Face server in the MCPX control plane or your app.yaml, then point your AI client at your MCPX gateway. MCPX handles API Key and routes every Hugging Face call through the gateway.
Is the Hugging Face MCP server official?
Yes. Hugging Face is an official, vendor-published MCP server, and MCPX governs it like any other server in your catalog.
What authentication does Hugging Face use with MCPX?
Hugging Face uses API Key. MCPX enforces authentication at the gateway with token-based auth, OAuth, and role-based profiles, so you control which agents can invoke it.
How many tools does Hugging Face expose in MCPX?
Hugging Face exposes 7 tools. In MCPX you can enable or disable each tool per agent for least-privilege access.
