MCP Gateway · ChatGPT
Connect Hugging Face to ChatGPT
Content and marketing teams use Hugging Face Spaces for quick media tasks like text to speech or removing an image background. With the server available in ChatGPT through Speakeasy's plugin marketplace, people run those tasks from a chat. A workspace admin sets which roles get the plugin, and the gateway controls which of the 10 tools each can call.
- Category
- AI & search
- Tools
- 10
- Authentication
- OAuth
- ChatGPT
- Web, desktop and mobile
Behind the MCP Gateway
Run Hugging Face MCP behind the MCP Gateway
One URL for every agent, sign-in through your IdP, RBAC down to the tool, and every Hugging Face call inspected and logged.
Set up
Add Hugging Face to ChatGPT in 4 steps
- 01
Add Hugging Face from the catalog
An admin finds Hugging Face in the MCP Catalog (MCP Gateway > MCP > Catalog) and clicks Add. Speakeasy registers the vendor's server as a remote MCP server and proxies sessions to it. Nothing is copied or re-hosted.
Hugging Face uses OAuth. Servers that support dynamic client registration get their OAuth configuration applied automatically.
Where MCP-scoped policies are enabled, the install offers a recommended risk policy for the new server that detects secrets and PII and inspects tool requests and responses.
- 02
Choose who can use Hugging Face
Give teams the
mcp:connectscope on the Hugging Face server through team access or a role. ChatGPT connects to the Hugging Face server's own URL, and the server's authorization decides who can connect and which tools they can call. - 03
Connect ChatGPT
Import the organization's plugin marketplace into the ChatGPT workspace and set who gets each plugin.
New MCP servers join the project's default plugin automatically. Each server's overview page shows which plugin it is published to, with Publish or Update to change it.
Give the importing workspace admin collaborator access to the marketplace repository, and connect their GitHub account in ChatGPT under Plugins > GitHub > Manage.
In ChatGPT, open Admin > Plugins > Add > Import marketplace.
Set each plugin's installation policy, Installed or Available, per role.
Enable the MCP servers the plugin connects to.
- 04
Sign in and use Hugging Face from ChatGPT
The first time ChatGPT connects, it opens a browser so the person can sign in to Speakeasy through your identity provider.
Hugging Face needs its own OAuth grant, so each person connects it once. Until they do, Hugging Face calls fail while the rest of the gateway keeps working.
From then on, Hugging Face's tools appear in ChatGPT, limited to what the person's access allows, and every call lands in the gateway's tool logs.
The marketplace syncs from GitHub once a day. Use Sync now to pick up a change straight away.
Use cases
What ChatGPT users do with Hugging Face
Prepare product images
Ask ChatGPT to remove the background from a product photo using a Hugging Face Space task, then use the result in a slide or listing.
Find an app for a one-off job
Describe what you need, such as turning a script into audio, and ChatGPT searches Spaces for ones that do it, with links to try them.
Answer a question about Hugging Face
When a colleague asks how Hugging Face handles something, ChatGPT searches the product documentation and answers with the page it used.
Tools
10 tools
Each Hugging Face tool can be allowed or denied per team and role at the MCP Gateway before ChatGPT sees it.
hf_whoami
Hugging Face tools are being used by the authenticated user
space_search
Find Hugging Face Spaces using semantic search. IMPORTANT Only MCP Servers can be used with the dynamic_space toolInclude links to the Space when presenting the results.
hub_repo_search
Search Hugging Face repositories with a shared query interface. You can target models, datasets, spaces, or aggregate across multiple repo types in one call. Use space_search for semantic-first discovery of Spaces. Include links to repositories in your response.
paper_search
Find Machine Learning research papers on the Hugging Face hub. Include 'Link to paper' When presenting the results. Consider whether tabulating results matches user intent.
hub_repo_details
Get details for one or more Hugging Face repos (model, dataset, or space). Auto-detects type unless specified.
hf_doc_search
Search and Discover Hugging Face Product and Library documentation. Send an empty query to discover structure and navigation instructions. Knowledge up-to-date as at 8 April 2026. Combine with the Product filter to focus results.
Control
What Speakeasy can see and stop in ChatGPT
The gateway covers every client the same way. The rest depends on what ChatGPT exposes to Speakeasy.
Tool logs
Gateway
Every Hugging Face call is logged with the person and the client that made it.
Access by role
Gateway
People reach only the Hugging Face tools their team or role allows.
Request and response blocking
Gateway
A risk policy scoped to Hugging Face can reject a tool request before it reaches the server, or withhold a result from ChatGPT. MCP-scoped policies are enabled per organization.
Conversation import
ChatGPT
ChatGPT activity can be imported through OpenAI's Compliance API for review after the fact. It can't block in real time.
- The workspace import needs a ChatGPT Business, Enterprise or Edu admin.
Questions
Frequently asked questions
Can ChatGPT block a Hugging Face request as it happens?
Which ChatGPT plans can roll out Hugging Face through Speakeasy?
How do ChatGPT users get Hugging Face?
Are Hugging Face calls from ChatGPT logged?
Connect more