How to integrate Hugging Face MCP with ChatGPT

How to integrate Hugging Face MCP with ChatGPT ChatGPT is one of the most popular AI tools today, with capabilities ranging from deep research and image generation to writing, coding, and everyday productivity. In this guide, I will explain the easiest and most secure way to connect your Hugging Face account to ChatGPT via Composio Connect, so it can summarize unread updates from this morning, create draft replies to urgent messages, fetch contact details for recent senders, and more without ever putting your account credentials at risk.

Hugging Face logoHugging Face
Api KeyOauth2

Hugging Face is an open-source platform for building, training, and deploying machine learning models. It empowers developers with easy access to state-of-the-art AI tools and model sharing.

143 Tools

How to integrate Hugging Face MCP with ChatGPT

ChatGPT is one of the most popular AI tools today, with capabilities ranging from deep research and image generation to writing, coding, and everyday productivity.

In this guide, I will explain the easiest and most secure way to connect your Hugging Face account to ChatGPT via Composio Connect, so it can summarize unread updates from this morning, create draft replies to urgent messages, fetch contact details for recent senders, and more without ever putting your account credentials at risk.

Also integrate Hugging Face with

Why use Composio over default connectors?

  • Apps with read and write access. Default connectors mostly can read your data. Composio's Hugging Face integration lets ChatGPT take actions like creating drafts, sending updates, labeling records, and more.
  • 1,000+ SaaS toolkits out of the box. Composio gives you instant access to a vast catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
  • One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
  • Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand.
  • Cross-app automation. Chain actions across multiple apps in a single run - fetch a thread, summarize it in Notion, and post highlights to Slack without leaving the conversation.

Prerequisites

  • A ChatGPT account with Plus subscription or higher (Business, Enterprise, Edu, or Pro). We will use ChatGPT Web.
  • Access to the Hugging Face workspace you want to connect.
  • Composio MCP.

Note: Composio connects through OAuth. You will be asked to sign in and approve specific permissions. Review the permission screen carefully if you are using a work account.

Step-by-step: Connect Hugging Face to ChatGPT

1. Enable Developer Mode

In ChatGPT, go to Settings > Apps > Advanced settings and turn on Developer Mode.

ChatGPT settings showing Developer Mode toggle

2. Add the MCP server

Click Create app, then paste the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
ChatGPT create app flow with Composio MCP URL

3. Authorize in your browser

A browser window will open automatically. Sign in to authorize ChatGPT to access your Composio account.

Composio authorization screen for ChatGPT MCP setup

4. Start using Composio

Composio tools are now available in ChatGPT chats and Deep Research. In every new chat, click the + icon at the bottom, click More, and select Composio to enable tools for that conversation.

What you can do after connecting Hugging Face

  • Run text summarization on uploaded document
  • List all your Hugging Face model repositories
  • Deploy a new model to Spaces

Security + privacy notes (important)

  • Use least-privilege access: Only grant permissions you actually need.
  • Review OAuth permissions before approving: Make sure requested scopes match what you expect Composio and ChatGPT to do.
  • Keep write actions human-reviewed: For actions like sending messages, creating labels, or editing drafts, keep manual confirmation enabled.
  • Be careful with sensitive data: Avoid using this setup with highly sensitive information unless allowed by your personal, company, or client policies.
TOOLS

Supported Tools

Every Hugging Face action and event your agent gets out of the box.

Change Discussion Status

Tool to change the status of a Hugging Face repository discussion.

Check Dataset Validity

Tool to check whether a specific dataset is valid on Hugging Face Hub.

Check Models Upload Method

Tool to check if files should be uploaded through the Large File mechanism or directly.

Check Spaces Upload Method

Tool to check if files should be uploaded through the Large File mechanism or directly to Hugging Face Spaces.

Claim Paper Authorship

Tool to claim authorship of a paper on Hugging Face.

Request Repository Access

Tool to request access to a gated repository on Hugging Face Hub.

Create Collection

Tool to create a new collection on Hugging Face.

Create Datasets Branch

Tool to create a new branch in a Hugging Face dataset repository.

Create Datasets Commit

Tool to create a commit in a Hugging Face dataset repository.

Check Dataset File Upload Method

Tool to check if files should be uploaded via Large File Storage (LFS) or directly to a Hugging Face dataset repository.

Create Datasets Tag

Tool to create a tag on a Hugging Face dataset repository.

Create Discussion

Tool to create a new discussion on a Hugging Face repository (model, dataset, or Space).

Create Discussion Comment

Tool to create a new comment on a Hugging Face repository discussion.

Pin discussion

Tool to pin or unpin a discussion on a Hugging Face repository (model, dataset, or Space).

Create models branch

Tool to create a new branch in a Hugging Face model repository.

Create Models Commit

Tool to create a commit to a Hugging Face model repository.

Create Models Tag

Tool to create a tag on a Hugging Face model repository.

Create Paper Comment

Tool to create a new comment on a Hugging Face paper.

Create Papers Comment Reply

Tool to create a reply to a comment on a Hugging Face paper.

Create Papers Index

Tool to index a paper from arXiv by its ID on Hugging Face.

Create Repository

Tool to create a new repository (model, dataset, or Space) on Hugging Face Hub.

Create spaces branch

Tool to create a new branch in a Hugging Face space repository.

Create Spaces Commit

Tool to create a commit in a Hugging Face Space repository.

Create or update Space secret

Tool to create or update a secret in a Hugging Face Space.

Create Spaces Tag

Tool to create a tag on a Hugging Face space repository.

Create or update Space variable

Tool to create or update a variable in a Hugging Face Space.

Create SQL Console Embed

Tool to create a SQL Console embed for querying datasets on Hugging Face.

Create Webhook

Tool to create a webhook on Hugging Face that triggers on repository or discussion events.

Delete dataset branch

Tool to delete a branch from a Hugging Face dataset repository.

Delete Dataset Tag

Tool to delete a tag from a Hugging Face dataset.

Delete discussion

Tool to delete a discussion from a Hugging Face repository.

Delete network CIDR list

Tool to delete a network CIDR list entry from Hugging Face Inference Endpoints.

Delete notifications

Tool to delete notifications from Hugging Face.

Delete Settings Webhook

Tool to delete a webhook from Hugging Face settings.

Delete space branch

Tool to delete a branch from a Hugging Face space repository.

Delete space secret

Tool to delete a secret from a Hugging Face space.

Delete Spaces Tag

Tool to delete a tag from a Hugging Face space.

Delete space variable

Tool to delete a variable from a Hugging Face space.

Filter dataset rows

Tool to filter rows in a Hugging Face dataset split based on SQL-like query conditions.

Generate Chat Completion

Tool to generate a response given a list of messages in a conversational context.

Generate Text Embeddings

Tool to convert text into vector embeddings for feature extraction, semantic search, and similarity tasks.

Get Daily Papers

Tool to retrieve daily papers from Hugging Face.

Get Dataset Croissant Metadata

Tool to get Croissant metadata about a Hugging Face dataset.

Get Dataset First Rows

Tool to get the first 100 rows of a dataset split along with column data types and features.

Get Dataset Info

Tool to get general information about a dataset including description, citation, homepage, license, and features (column schemas).

Get Dataset Repository Info

Tool to retrieve detailed information about a Hugging Face dataset repository.

Get Dataset Rows

Tool to retrieve a slice of rows from a Hugging Face dataset split at any given location (offset).

Get Datasets Compare

Tool to get a comparison (diff) between two revisions of a Hugging Face dataset.

Get Dataset Size

Tool to get the size of a Hugging Face dataset including number of rows and size in bytes.

Get Datasets JWT

Tool to generate a JWT token for accessing a Hugging Face dataset repository.

Get Datasets Leaderboard

Tool to retrieve evaluation results ranked by score for a dataset's leaderboard.

Get Dataset Notebook URL

Tool to get a Jupyter notebook URL from a Hugging Face dataset repository.

Get Datasets Resolve

Tool to resolve and download a file from a Hugging Face dataset repository.

Get Dataset Security Scan

Tool to retrieve the security scan status of a Hugging Face dataset repository.

Get Dataset Tags by Type

Tool to retrieve all possible tags used for datasets on Hugging Face, grouped by tag type.

Get Dataset Statistics

Tool to get comprehensive statistics about a dataset split including column statistics and data distribution information.

Get dataset repository size

Tool to get the total size of a Hugging Face dataset repository at a specific revision and path.

Get Datasets XET Read Token

Tool to get a read short-lived access token for XET from Hugging Face datasets.

Get Discussion Details

Tool to get detailed information about a specific discussion or pull request on Hugging Face Hub.

Get Discussion Details

Tool to retrieve discussion details from a Hugging Face repository.

Get Available Job Hardware

Tool to retrieve available hardware configurations for Hugging Face Jobs with their specifications and pricing.

Get Model Information

Tool to retrieve detailed information about a Hugging Face model repository.

Get Models Compare

Tool to compare two revisions of a Hugging Face model repository.

Get Models JWT

Tool to generate a JWT token for accessing a Hugging Face model repository.

Get Models Notebook

Tool to retrieve a Jupyter notebook URL from a Hugging Face model repository.

Get Model Security Scan Status

Tool to retrieve the security scan status of a Hugging Face model repository.

Get model repository size

Tool to get the total size of a Hugging Face model repository at a specific revision and path.

Get Model XET Read Token

Tool to retrieve a short-lived XET read access token for a Hugging Face model repository.

Get Model Tags By Type

Tool to retrieve all possible tags used for Hugging Face models, grouped by tag type.

Get Organization Avatar

Tool to retrieve the avatar URL for a Hugging Face organization.

Get Organization Members

Tool to retrieve a list of members for a Hugging Face organization.

Get Organization Social Handles

Tool to retrieve an organization's social media handles from Hugging Face.

Get Resolve

Tool to resolve a file in a Hugging Face repository.

Get Resolve Cache Datasets

Tool to resolve a file from cache in a Hugging Face dataset repository.

Get Resolve Cache Models

Tool to resolve and retrieve files from the Hugging Face model cache.

Get Resolve Cache Spaces

Tool to resolve and retrieve a file from Hugging Face Spaces cache.

Get Billing Usage

Tool to retrieve user billing usage for a given period from Hugging Face.

Get Jobs Usage

Tool to retrieve Jobs usage and billing information for the current subscription period from Hugging Face.

Get Live Billing Usage

Tool to retrieve live billing usage stream from Hugging Face.

Get Billing Usage V2

Tool to retrieve user billing usage for a custom date range from Hugging Face.

Get MCP Settings

Tool to retrieve MCP (Model Context Protocol) tools configuration for the authenticated user.

Get Settings Webhook

Tool to retrieve a specific webhook configuration from Hugging Face settings.

Get Space Info

Tool to retrieve detailed information about a Hugging Face Space repository.

Get Spaces Compare

Tool to compare two revisions of a Hugging Face Space repository.

Get Spaces Events

Tool to stream status updates for a Hugging Face Space using SSE protocol.

Get Spaces JWT

Tool to generate a JWT token for accessing a Hugging Face space repository.

Get Space Metrics

Tool to get live metrics for a specific Space in a streaming fashion, with SSE protocol, such as current Zero-GPU usage.

Get Spaces Notebook

Tool to retrieve a Jupyter notebook URL from a Hugging Face space repository.

Get Spaces Resolve

Tool to resolve and retrieve a file from a Hugging Face Space repository.

Get Space Security Scan Status

Tool to retrieve the security scan status of a Hugging Face space repository.

Get space repository size

Tool to get the total size of a Hugging Face space repository at a specific revision and path.

Get Space XET Read Token

Tool to retrieve a short-lived XET read access token for a Hugging Face Space repository.

Get Spaces XET Write Token

Tool to retrieve a short-lived XET write access token for a Hugging Face space repository.

Get Trending Repositories

Tool to retrieve trending repositories from Hugging Face.

Get User Avatar

Tool to retrieve the avatar URL for a Hugging Face user.

Get User Overview

Tool to retrieve a comprehensive overview of a Hugging Face user's profile.

Get User Social Handles

Tool to retrieve a user's social media handles from Hugging Face.

Get Authenticated User Info

Tool to get information about the authenticated Hugging Face user including username, email, organizations, and token details.

Handle Dataset User Access Request

Tool to handle a user's access request to a gated Hugging Face dataset.

List Collections

Tool to list collections on the Hugging Face Hub.

List Dataset Parquet Files

Tool to get the list of Parquet files for a dataset.

List Dataset Paths Info

Tool to list detailed information about specific paths in a Hugging Face dataset repository.

List Datasets

Tool to list datasets on the Hugging Face Hub.

List Dataset Commits

Tool to list commits from a Hugging Face dataset repository.

List Dataset Splits

Tool to get the list of subsets and splits of a dataset.

List Dataset References

Tool to list all references (branches, tags, converts, pull requests) in a Hugging Face dataset repository.

List datasets tree

Tool to list the content of a Hugging Face dataset repository tree with pagination support.

List Dataset Access Requests

Tool to list access requests for a gated Hugging Face dataset repository.

List Discussions

Tool to list discussions for a Hugging Face repository.

List Repository Discussions

Tool to list discussions and pull requests for a Hugging Face repository.

List Available Documentation

Tool to retrieve the list of available documentation from Hugging Face.

List Inference Endpoints

Tool to list Hugging Face Inference Endpoints for a specific user or organization.

List models on Hugging Face Hub

Tool to list models on the Hugging Face Hub with filtering options.

List Model Commits

Tool to list commits from a Hugging Face model repository.

List Model Paths Info

Tool to list detailed information about specific paths in a Hugging Face model repository.

List Model References

Tool to list all references (branches, tags, converts, and optionally pull requests) in a Hugging Face model repository.

List model repository tree

Tool to list the contents of a Hugging Face model repository tree at a specific revision and path, with pagination support.

List Notifications

Tool to list notifications for the authenticated Hugging Face user.

List Repository Commits

Tool to list commits for a Hugging Face repository.

List repository files

Tool to get the file tree of a Hugging Face repository with pagination support.

List Webhooks

Tool to list all webhooks configured in Hugging Face settings.

List Spaces on Hugging Face Hub

Tool to list Spaces on the Hugging Face Hub with filtering options.

List Space Commits

Tool to list commits from a Hugging Face Space repository.

List Available Space Hardware

Tool to retrieve available hardware configurations for Hugging Face Spaces with their specifications and pricing.

List Space LFS Files

Tool to list LFS (Large File Storage) files from a Hugging Face Space repository.

List Space Paths Info

Tool to list detailed information about specific paths in a Hugging Face space repository.

List Space References

Tool to list all references (branches, tags, converts, pull requests) in a Hugging Face space repository.

List spaces tree

Tool to list the content of a Hugging Face space repository tree with pagination support.

List Cloud Provider Vendors

Tool to list available cloud provider vendors for Hugging Face Inference Endpoints.

Search dataset

Tool to search text in a dataset split on Hugging Face.

Search Documentation

Tool to search Hugging Face documentation across all products and libraries.

Search Papers

Tool to perform hybrid semantic/full-text search on papers in Hugging Face.

Squash Dataset Commits

Tool to squash all commits in a dataset ref into a single commit with the given message.

Squash Spaces Commits

Tool to squash all commits in a space ref into a single commit with the given message.

Update Dataset Settings

Tool to update settings for a Hugging Face dataset repository.

Update Discussion Title

Tool to change the title of an existing discussion on a Hugging Face repository (model, dataset, or Space).

Update Model Repository Settings

Tool to update settings for a Hugging Face model repository.

Update Notification Settings

Tool to update notification settings for the authenticated Hugging Face user.

Update Watch Settings

Tool to update watch settings for your Hugging Face account.

Update Webhook

Tool to update an existing webhook in Hugging Face settings.

Update Spaces Repository Settings

Tool to update settings for a Hugging Face Spaces repository.

Update SQL Console Embed

Tool to update an existing SQL console embed for a Hugging Face dataset.

Enable or Disable Webhook

Tool to enable or disable a webhook on Hugging Face.

FAQ

Frequently asked questions

With a standalone Hugging Face MCP server, the agents and LLMs can only access a fixed set of Hugging Face tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Hugging Face and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. ChatGPT fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Hugging Face tools.

Yes, absolutely. You can configure which Hugging Face scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Hugging Face data and credentials are handled as safely as possible.

Start with Hugging Face.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Hugging Face tool your agent needs.Free to start.

Start building