huggingface-mcp
If you are the rightful owner of huggingface-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is a Model Context Protocol (MCP) server for interacting with the Hugging Face Hub API, focusing on managing Spaces.
The Hugging Face Hub MCP Server is designed to facilitate seamless interaction with the Hugging Face Hub API, specifically targeting the management of Spaces. This server provides a comprehensive suite of tools for users to efficiently manage their Spaces, including creating, updating, and deleting Spaces, as well as managing files within them. It also offers functionalities to retrieve logs and runtime information, search for Spaces, and modify Space settings such as hardware, privacy, and SDK options. The server is built using TypeScript and requires Node.js for installation and execution. It leverages a hardcoded API token for authentication, ensuring that all operations are securely performed under the authenticated user's account. This server is ideal for developers and organizations looking to automate and streamline their workflow with Hugging Face Spaces.
Features
- List, create, update, and delete Hugging Face Spaces
- Manage files within Spaces (list, get, upload, delete)
- Get Space logs and runtime information
- Search for Spaces
- Change Space settings (hardware, privacy, SDK)
Tools
list-my-spaces
List all Hugging Face spaces for the authenticated user
get-spaces-by-user
List Hugging Face spaces by a specific user or organization
get-space
Get details about a specific Hugging Face space
create-space
Create a new Hugging Face space
duplicate-space
Duplicate an existing Hugging Face space
update-space
Update metadata of a Hugging Face space
delete-space
Delete a Hugging Face space
rename-space
Rename a Hugging Face space
get-space-hardware
Get available hardware options for Hugging Face spaces
get-space-runtimes
Get available runtime options for Hugging Face spaces
restart-space
Restart a Hugging Face space
pause-space
Pause a running Hugging Face space
list-space-files
List files in a Hugging Face space
get-space-file
Get the content of a file from a Hugging Face space
upload-text-file
Upload text content to a file in a Hugging Face space
upload-file
Upload a file from the local filesystem to a Hugging Face space
delete-space-file
Delete a file from a Hugging Face space
get-space-logs
Get logs for a Hugging Face space
search-spaces
Search for Hugging Face spaces