Hugging Face MCP Server
by huggingface
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HF_TOKEN | No | Hugging Face token used if DEFAULT_HF_TOKEN is not set (when running with stdio transport) | |
| TRANSPORT | No | The transport type to use (stdio, sse, streamableHttp, or streamableHttpJson) | streamableHttpJson |
| HF_API_TIMEOUT | No | Timeout for Hugging Face API requests in milliseconds | 12500 |
| USER_CONFIG_API | No | URL to use for User settings (defaults to Local front-end) | |
| DEFAULT_HF_TOKEN | No | Default Hugging Face token used if no Authorization header is sent. Only set this in Development/Test environments or for local STDIO Deployments. | |
| MCP_PING_ENABLED | No | Enable ping keep-alive for sessions | true |
| MCP_PING_INTERVAL | No | Interval between ping cycles (in milliseconds) | 30000 |
| MCP_STRICT_COMPLIANCE | No | Set to True for GET 405 rejects in JSON Mode (default serves a welcome page) | |
| MCP_CLIENT_CONNECTION_CHECK | No | How often to check for stale sessions (in milliseconds) | 90000 |
| MCP_CLIENT_CONNECTION_TIMEOUT | No | Remove sessions inactive for this duration (in milliseconds) | 300000 |
| MCP_CLIENT_HEARTBEAT_INTERVAL | No | How often to check SSE connection health (in milliseconds) | 30000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/huggingface/hf-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server