EM

evalstate/mcp-hfspace

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

390 stars 59 forks 품질 61 트렌드 20MIT

HuggingFace 공간을 사용할 수 있는 MCP 서버, 쉬운 설정 및 Claude 데스크톱 모드.

개요

https://hf.co/mcp,에서 직접 Hugging Face MCP 서비스에 접근하고 구성할 수 있으며, Gradio 공간도 포함됩니다. 이 프로젝트는 공식 Hugging Face MCP 서버와 Gradio MCP 엔드포인트로 대체되었습니다. 또는 hf-mcp-server를 STDIO 서버로 로컬에서 실행하거나, SSE, Streaming HTTP 및 Streaming HTTP JSON Mode를 강력히 지원할 수도 있습니다. 이 서비스는 도구와 엔드포인트 선택을 위한 로컬 UI를 실행하며, ToolListChangedNotifications도 지원합니다. 서문을 여기에서 읽어보세요 llmindset.co.uk/resources/mcp-hfspace/ 최소한의 설정으로 Hugging Face Spaces에 연결하세요 - 공간만 추가하고 바로 시작하세요! 기본적으로 black-forest-labs/FLUX.1-schnell에 연결되어 Claude Desktop에 이미지 생성 기능을 제공합니다. Gradio 5.28은 이제 SSE를 통한 통합 MCP 지원을 제공합니다: https://huggingface.co/blog/gradio-mcp. 목표 공간이 MCP 활성화되어 있는지 확인해 보세요!

개요(AI 번역)

[! 팁]

Hugging Face MCP 서비스에 직접 접근하고 설정할 수 있으며, Gradio 공간도 포함됩니다.

이 프로젝트는 공식 Hugging Face MCP 서버와 Gradio MCP 엔드포인트에 의해 대체되었습니다.

또는 hf-mcp-server를 STDIO 서버로 로컬에서 실행하거나, SSE, 스트리밍 HTTP, 스트리밍 HTTP JSON 모드를 강력히 지원할 수도 있습니다. 이 모드는 도구와 엔드포인트 선택을 위한 로컬 UI를 실행하며 ToolListChangedNotifications도 지원합니다.

hf.co/mcp

MCP-HFSPACE

서문을 여기에서 읽어보세요 llmindset.co.uk/resources/mcp-hfspace/

최소한의 설정으로 Hugging Face Spaces에 연결하세요 - 공간만 추가하고 바로 시작하세요!

기본적으로 black-forest-labs/FLUX.1-schnell와 연결되어 Claude Desktop에 이미지 생성 기능을 제공합니다.

그라디오 MCP 지원

[! 팁] Gradio 5.28은 이제 SSE를 통한 통합 MCP 지원을 제공합니다: https://huggingface.co/blog/gradio-mcp. 목표 공간이 MCP 활성화되어 있는지 확인해 보세요!

설치

NPM 패키지는 @llmindset/mcp-hfspace입니다.

플랫폼용 최신 버전의 NodeJS를 설치한 후, claude_desktop_config.json 파일의 mcpServers 섹션에 다음 내용을 추가하세요:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

mcp-hfspace MCP Server 🤗

[!TIP]

You can access and configure Hugging Face MCP services directly at https://hf.co/mcp, including Gradio spaces.

This project has been superceded by the official Hugging Face MCP Server and Gradio MCP Endpoints.

Alternatively you can run hf-mcp-server locally as a STDIO Server, or with robust support for SSE, Streaming HTTP and Streaming HTTP JSON Mode. This also runs a local UI for selecting tools and endpoints and supports ToolListChangedNotifications too.

hf.co/mcp

mcp-hfspace

Read the introduction here llmindset.co.uk/resources/mcp-hfspace/

Connect to Hugging Face Spaces with minimal setup needed - simply add your spaces and go!

By default, it connects to black-forest-labs/FLUX.1-schnell providing Image Generation capabilities to Claude Desktop.

Gradio MCP Support

[!TIP] Gradio 5.28 now has integrated MCP Support via SSE: https://huggingface.co/blog/gradio-mcp. Check out whether your target Space is MCP Enabled!

Installation

NPM Package is @llmindset/mcp-hfspace.

Install a recent version of NodeJS for your platform, then add the following to the mcpServers section of your claude_desktop_config.json file:

    "mcp-hfspace": {
      "command": "npx",
      "args": [
        "-y",
        "@llmindset/mcp-hfspace"
      ]
    }

Please make sure you are using Claude Desktop 0.78 or greater.

This will get you started with an Image Generator.

Basic setup

Supply a list of HuggingFace spaces in the arguments. mcp-hfspace will find the most appropriate endpoint and automatically configure it for usage. An example claude_desktop_config.json is supplied below.

By default the current working directory is used for file upload/download. On Windows this is a read/write folder at \users\\AppData\Roaming\Claude\<version.number\, and on MacOS it is the is the read-only root: /.

It is recommended to override this and set a Working Directory for handling the upload and download of images and other file-based content. Specify either the --work-dir=/your_directory argument or MCP_HF_WORK_DIR environment variable.

An example configuration for using a modern image generator, vision model and text to speech, with a working directory set is below:

    "mcp-hfspace": {
      "command": "npx",
      "args": [
        "-y",
        "@llmindset/mcp-hfspace",
        "--work-dir=/Users/evalstate/mcp-store",
        "shuttleai/shuttle-jaguar",
        "styletts2/styletts2",
        "Qwen/QVQ-72B-preview"
      ]
    }
GitHub에서 전체 README 보기

설치

npx -y @llmindset/mcp-hfspace
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mcp-hfspace": { "command": "npx" "args": [ "-y", "@llmindset/mcp-hfspace", "--work-dir=~/mcp-files/ or x:/temp/mcp-files/", "--HF_TOKEN=HF_{optional token}" "Qwen/Qwen2-72B-Instruct", "black-forest-labs/FLUX.1-schnell", "space/example/specific-endpint" (... and so on) ] } } }