All integrations

Hugging Face

ConnectionMCP

Access the Hugging Face Hub and thousands of Gradio apps.

Read the full connection docs

Install

Add the connection from eve's registry. This writes the initial definition under agent/connections/ and installs its authentication dependency when needed:

bash
eve add connection/hugging-face

Quick start

Create agent/connections/hugging-face.ts. The connection name is derived from the filename:

ts
// agent/connections/hugging-face.tsimport { connect } from "@vercel/connect/eve";import { defineMcpClientConnection } from "eve/connections";
export default defineMcpClientConnection({  url: "https://huggingface.co/mcp?login&gradio=none",  description: "Hugging Face: models, datasets, Spaces, and Gradio apps on the Hub.",  auth: connect("hugging-face"),});

Connect owns the OAuth flow, and each end-user authorizes in their own browser before their first tool call.

Configure

Link your project, create the connector, and pull OIDC locally:

bash
vercel linkvercel connect create hugging-facevercel env pull

See the Connections docs for principal types, headers, approval, and protocol-specific filters.