Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.43.1
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:
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"
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 fromhuggingface-cli login
.
- Interface Tab: "List My Organizations"
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.