4,500+ servers built on MCP Fusion
Vinkius
Hugging Face logo
Vinkius
CrewAI logo

How to Use the Hugging Face MCP in CrewAI

Deploy collaborative agent crews that search Hugging Face and run open-source model inference using CrewAI.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Hugging Face MCP on Cursor AI Code Editor MCP Client Hugging Face MCP on Claude Desktop App MCP Integration Hugging Face MCP on OpenAI Agents SDK MCP Compatible Hugging Face MCP on Visual Studio Code MCP Extension Client Hugging Face MCP on GitHub Copilot AI Agent MCP Integration Hugging Face MCP on Google Gemini AI MCP Integration Hugging Face MCP on Lovable AI Development MCP Client Hugging Face MCP on Mistral AI Agents MCP Compatible Hugging Face MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
CrewAI

Connect Hugging Face MCP to CrewAI

Create your Vinkius account to connect Hugging Face to CrewAI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Find and test Hugging Face models using CrewAI teams

Using the Hugging Face MCP server, `list_models_by_task` enables your research CrewAI agent to scan the Hub for specialized models while an analyst agent evaluates their performance. The CrewAI crew collaborates to select the best Hugging Face model for your operational requirements.

Analyze Hugging Face datasets with specialized CrewAI agents

`get_dataset` pulls live Hugging Face dataset structures so your data engineer CrewAI agent can inspect the schema before an analyst agent runs calculations. This division of labor ensures that raw Hugging Face data gets validated before any processing begins.

Summarize text at scale using CrewAI and Hugging Face

`run_summarization` executes targeted text compression on Hugging Face while a moderator CrewAI agent reviews the output for accuracy and tone. The CrewAI team manages the entire editorial pipeline from raw input to final polished summary.

Setup guide

Set up Hugging Face MCP in CrewAI

Prerequisites

  • Python 3.10+ installed
  • crewai package (pip install crewai)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install CrewAI

    Run pip install crewai to install the framework. MCP support is built-in via the mcps parameter.

  2. 2

    Add the MCP URL to your agent

    Pass your Vinkius endpoint directly to the mcps list. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. CrewAI handles tool discovery and caching automatically.

  3. 3

    Kick off your crew

    Create a Crew with your agent and tasks. Call crew.kickoff() — the agent will automatically invoke Hugging Face tools as needed.

crew.py
from crewai import Agent, Task, Crew

agent = Agent(
    role="Hugging Face Analyst",
    goal="Access and analyze Hugging Face data via MCP.",
    backstory="Expert analyst with direct Hugging Face access.",
    mcps=[
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    ],
)

task = Task(
    description="List recent Hugging Face transactions",
    agent=agent,
    expected_output="A summary of recent activity",
)

crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result)

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Hugging Face MCP in CrewAI

CrewAI agents use their shared memory system to pass the output of `get_model` directly between team members. Once one agent retrieves the Hugging Face model details, the entire crew can access the metadata.
Yes, you configure a selective tool filter when using the CrewAI MCP integration to expose only `run_text_generation` to your writer agent while keeping other tools hidden. This prevents agents from making unauthorized Hugging Face API calls.
CrewAI coordinates multiple agents running `run_inference` concurrently by managing separate asynchronous execution threads. This ensures your multi-agent teams do not block each other while querying Hugging Face.
You can pass the HTTP URL directly into the CrewAI agent configuration to establish a connection. The framework automatically handles the underlying communication with the Hugging Face MCP server.
CrewAI routes all dataset metadata and inference payloads through an encrypted, zero-trust connection managed by the Vinkius MCP gateway. Your proprietary data is processed in ephemeral sandboxes, ensuring no Hugging Face transactions are stored or exposed.

Start using the Hugging Face MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 15 tools

We've already built the connector for Hugging Face. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 15 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.