MCP-hfspace MCP Server: Seamless Integration with Hugging Face Spaces
The MCP Server enables seamless integration of Hugging Face Spaces with Claude Desktop, offering advanced capabilities like image generation, text-to-speech synthesis, speech-to-text transcription, and AI-powered workflows.
Details
Description
The MCP Server is a Node.js-based implementation designed to bridge Claude Desktop and Hugging Face Spaces effortlessly. It enables functionalities such as image generation, vision tasks, text-to-speech, speech-to-text transcription, and advanced AI-driven workflows with minimal setup. Whether you're working in Claude Desktop Mode or managing resources through Base64 encoded results, this tool provides powerful integration with Hugging Face Spaces. Complete with token support for private spaces and multi-instance capabilities, MCP Server makes AI projects efficient and streamlined.
Features
- Claude Desktop Mode: Simplified file-sharing mode for use in Claude Desktop.
- Support for Hugging Face Spaces: Automatically connects endpoints and retrieves results.
- Working Directory Override: Clear file management through directory customization.
- Token Support: Connects with private Spaces using Hugging Face tokens.
- Multi-instance Capability: Supports multiple server instances for different working directories or tokens.
- Base64 Encoded Resources: Returns results in embedded formats for non-desktop clients.
Running Instructions
To run the MCP server:
- Install Node.js and the NPM package @llmindset/mcp-hfspace.
- Update the
claude_desktop_config.json
file with the following structure:
{
"mcp=hfspace": {
"command": "npx",
"args": [ "-y", "@llmindset/mcp-hfspace" ]
}
}
- Additional Arguments:
- Specify Hugging Face spaces, working directory (
--work-dir
), and token (--hf-token
for private spaces). - Run the server using the command
npx -y @llmindset/mcp-hfspace
.
- Specify Hugging Face spaces, working directory (
Ensure the configuration file aligns with your AI workflow setup for optimal results.
Tools
hfspace MCP Server
Integrates multiple Hugging Face Spaces with Claude Desktop, enabling seamless AI-driven workflows via a simple Node.js-driven architecture.
Use Cases
- Generate AI-driven images.
- Extract insights using vision model tasks.
- Perform text-to-speech synthesis for audio content.
- Transcribe speech to text with precision.
- Execute advanced image-to-image processing workflows.
- Engage in chat-based reasoning and discussion.
Frequently Asked Questions
No frequently asked questions available.