> ## Documentation Index
> Fetch the complete documentation index at: https://docs.condotta.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect the Hugging Face MCP server

> Connect the Hugging Face MCP server to Condotta to search models, datasets, Spaces, and papers, and run community Gradio tools from your workflows.

The **Hugging Face MCP Server** connects AI agents to the Hugging Face Hub: search models, datasets, Spaces, and papers, search the documentation, run Jobs, and call community tools from MCP-compatible Gradio Spaces. Connect it to Condotta to research models inside a workflow or run a Space as a step.

> [!NOTE]
>
> Condotta connects to this server through a [custom MCP server](https://docs.condotta.ai/connectors/remote-mcp-servers/custom.md) connection, so you add it with **Add custom server** rather than from the connector catalog. Hugging Face maintains it and decides which tools it offers; see [Hugging Face's MCP Server documentation](https://huggingface.co/docs/hub/en/agents-mcp) for the current list.

## Before you start

* A Hugging Face account. Choose the extra tools and Spaces you want in your [MCP settings](https://huggingface.co/settings/mcp "Hugging Face: MCP settings"); the connection picks up what you enable there.

## Server URL

```
https://huggingface.co/mcp
```

## Connect in Condotta

**1. Add a custom server**

Go to **Connections** and click **Add custom server**. Enter a **Name** such as `Hugging Face` and paste the **Server URL**.

**2. Keep Auto authentication**

Leave **Authentication** on **Auto**, choose a visibility, and click **Save & connect**.

**3. Approve access in Hugging Face**

Hugging Face opens its authorization page. Sign in and approve. Condotta marks the connection **Connected** and refreshes the token automatically.

## Use it in a workflow

Add a **Connector** node, pick your Hugging Face server under **Custom Servers**, and choose **Agent Mode** or **Direct Mode**. See [Use a custom server in a workflow](https://docs.condotta.ai/connectors/remote-mcp-servers/custom.md#use-a-custom-server-in-a-workflow).

## Troubleshooting

> [accordion] A Space or tool is missing
>
> Add it in your [MCP settings](https://huggingface.co/settings/mcp "Hugging Face: MCP settings"), then re-save the connection in Condotta to refresh the tool list.

## Learn more

* [Hugging Face MCP Server](https://huggingface.co/docs/hub/en/agents-mcp)
* [Spaces as MCP servers](https://huggingface.co/docs/hub/spaces-mcp-servers "Hugging Face: Spaces as MCP servers")

> [card] [Try this free for 14 days](https://preview.condotta.ai/signup)
>
> Start a 14-day trial on Band 1. At day 14, choose your band, or stop.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.