uratmangun commited on
Commit
9c936e6
·
verified ·
1 Parent(s): cf28a97

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +25 -1
README.md CHANGED
@@ -13,4 +13,28 @@ tags:
13
  - mcp-server-track
14
  ---
15
 
16
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  - mcp-server-track
14
  ---
15
 
16
+ ## Available MCP Functions
17
+
18
+ This Gradio application exposes the following functions as an MCP server:
19
+
20
+ 1. **`list_my_hf_spaces`**
21
+ * **Description:** Lists all public Hugging Face Spaces for a given username or organization.
22
+ * **Parameters:**
23
+ * `hf_username_or_org` (string): The Hugging Face username or organization name.
24
+ * **Interface Tab:** "List Spaces by User/Org"
25
+
26
+ 2. **`list_my_hf_organizations`**
27
+ * **Description:** Lists the Hugging Face organizations the user (identified by the token) is a member of.
28
+ * **Parameters:**
29
+ * `token` (string, optional): Hugging Face API token. If left blank or not provided, it attempts to use the token from `huggingface-cli login`.
30
+ * **Interface Tab:** "List My Organizations"
31
+
32
+ 3. **`list_organization_spaces`**
33
+ * **Description:** Lists all public Hugging Face Spaces for a given organization.
34
+ * **Parameters:**
35
+ * `org_name` (string): The name of the Hugging Face organization.
36
+ * **Interface Tab:** "List Org Spaces"
37
+
38
+ These functions can be called via the MCP protocol if this Gradio app is configured as an MCP server endpoint.
39
+
40
+ # video demo