Hugging Face MCP Server

An MCP (Model Context Protocol) server that provides access to Hugging Face's AI image generation models, including Stable Diffusion.

Local serverstdioMIT

What is the Hugging Face MCP Server?

Hugging Face MCP Server is an MCP project maintained in the nikolausm/huggingface-mcp-server repository. The maintainer describes its purpose as “An MCP (Model Context Protocol) server that provides access to Hugging Face's AI image generation models, including Stable Diffusion”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares HUGGINGFACE_TOKEN. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Hugging Face MCP Server

{
  "mcpServers": {
    "huggingface": {
      "command": "node",
      "args": [
        "/path/to/huggingface-mcp-server/index.js"
      ],
      "env": {
        "HUGGINGFACE_TOKEN": "YOUR_HUGGINGFACE_TOKEN"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
HUGGINGFACE_TOKENDeclared in the maintainer’s client configuration.Check documentation