hf-mcp-server
If you are the rightful owner of hf-mcp-server 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.
HF Services MCP Server provides a framework for integrating with the HuggingFace API using various transport modes, including STDIO, SSE, and StreamableHTTP.
The HF Services MCP Server is designed to facilitate the integration of the HuggingFace API with an MCP Server. It supports multiple transport modes such as STDIO, SSE, and StreamableHTTP, including a stateless JSON mode. The server is equipped with a web application and a set of transports that can be deployed on port 3000 by default. The server allows for dynamic switching of tools, notifying the MCP client of any changes. It is Docker-compatible, with npm scripts provided for ease of use. The server supports environment variables for configuration, including the Hugging Face API token, transport type, and port settings. The StreamableHTTP transport can operate in session-based or JSON stateless modes, offering flexibility in client implementations.
Features
- Multiple Transport Modes: Supports STDIO, SSE, and StreamableHTTP, including a JSON stateless mode.
- Dynamic Tool Switching: Allows tools to be switched on and off, notifying the MCP client of changes.
- Docker Compatibility: Provides npm scripts and manual commands for Docker operations.
- Environment Variable Configuration: Supports configuration via environment variables for port, transport type, and API token.
- StreamableHTTP JSON Mode: Offers a JSON stateless mode for easier client implementation.