huggingface-mcp / README.md
uratmangun's picture
Upload folder using huggingface_hub
9c936e6 verified

A newer version of the Gradio SDK is available: 5.43.1

Upgrade
metadata
title: huggingface-mcp
emoji: 💻
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 5.33.0
app_file: app.py
pinned: false
license: apache-2.0
short_description: some huggingface api as a mcp
tags:
  - mcp-server-track

Available MCP Functions

This Gradio application exposes the following functions as an MCP server:

  1. list_my_hf_spaces

    • Description: Lists all public Hugging Face Spaces for a given username or organization.
    • Parameters:
      • hf_username_or_org (string): The Hugging Face username or organization name.
    • Interface Tab: "List Spaces by User/Org"
  2. list_my_hf_organizations

    • Description: Lists the Hugging Face organizations the user (identified by the token) is a member of.
    • Parameters:
      • token (string, optional): Hugging Face API token. If left blank or not provided, it attempts to use the token from huggingface-cli login.
    • Interface Tab: "List My Organizations"
  3. list_organization_spaces

    • Description: Lists all public Hugging Face Spaces for a given organization.
    • Parameters:
      • org_name (string): The name of the Hugging Face organization.
    • Interface Tab: "List Org Spaces"

These functions can be called via the MCP protocol if this Gradio app is configured as an MCP server endpoint.

video demo