Spaces:
Running
Running
File size: 1,404 Bytes
9710105 cf28a97 9710105 cf28a97 9710105 9c936e6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
---
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 |