MCP.so
登录

HuggingMCP - Hugging Face MCP Server

@ProCreations-Official

基本信息

分类

AI 与智能体

许可证

MIT license

传输方式

stdio

作者

ProCreations-Official

关于 HuggingMCP - Hugging Face MCP Server

Model Context Protocol (MCP) server for HuggingFace integration - lets Claude create, manage, and interact with HuggingFace spaces, models, datasets, and collections

HuggingMCP - Hugging Face MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "HuggingMCP": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

HuggingMCP - Hugging Face MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is HuggingMCP?

HuggingMCP is a comprehensive Model Context Protocol (MCP) server that allows Claude and other MCP-compatible AI assistants to interact seamlessly with the Hugging Face ecosystem. It enables natural language management of models, datasets, files, pull requests, and collections.

How to use HuggingMCP?

Install the server in a Python 3.10+ environment with uv or pip, then configure your Hugging Face token and permission settings in the Claude Desktop configuration file. After restarting Claude, you can use natural language commands to perform operations like creating repositories, editing files, searching models, and managing pull requests.

Key features of HuggingMCP

  • Create, delete, and manage Hugging Face repositories
  • Create and manage pull requests with file uploads
  • Read, write, edit, and delete files on repositories
  • Search models, datasets, and spaces with filters
  • Organize repositories into collections

Use cases of HuggingMCP

  • Use Claude to create a new model repository with a custom README
  • Edit a training script by replacing a specific line of code
  • Search for the top 10 most downloaded text classification models
  • Create a pull request to improve a model card on a public repo
  • Organize favorite models and datasets into a personal collection

常见问题

1

What permissions are available?

Read-only, write-only, and admin mode are set via environment variables (`HF_READ_ONLY`, `HF_WRITE_ONLY`, `HF_ADMIN_MODE`). Default mode provides full read/write access.

2

What Python version is required?

Python 3.10 or higher is required.

3

How do I enable admin mode for deleting repositories?

Set the `HF_ADMIN_MODE` environment variable to `"true"` in the Claude Desktop configuration.

4

How can I test that the server is connected properly?

Look for the 🔨 hammer icon in Claude Desktop or use the `hf_test` tool to verify the connection.

5

Where can I find debug logs if something goes wrong?

On macOS: `~/Library/Logs/Claude/mcp.log`; on Windows: `%APPDATA%/Claude/Logs/mcp.log`. You can also enable verbose logging in `main.py`.

评论

AI 与智能体 分类下的更多 MCP 服务器