Skip to main content
Glama
evalstate

Hugging Face MCP Server

by evalstate

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HF_TOKENNoUsed if running with stdio transport and DEFAULT_HF_TOKEN is not set.
TRANSPORTNoTransport type: stdio, streamableHttp, or streamableHttpJson. Default varies: npx uses stdio, Docker uses streamableHttpJson.
HF_API_TIMEOUTNoTimeout for Hugging Face API requests in milliseconds. Default: 12500.
PROXY_TOOLS_CSVNoOptional CSV that defines Streamable HTTP proxy tool sources.
USER_CONFIG_APINoURL to use for User settings. Defaults to Local front-end.
DEFAULT_HF_TOKENNo⚠️ Requests are serviced with the HF_TOKEN received in the Authorization: Bearer header. The DEFAULT_HF_TOKEN is used if no header was sent. Only set this in Development / Test environments or for local STDIO Deployments.
MCP_PING_ENABLEDNoEnable ping keep-alive for sessions. Default: true.
AUTHENTICATE_TOOLNoWhether to include an Authenticate tool to issue an OAuth challenge when called.
MCP_PING_INTERVALNoInterval between ping cycles. Default: 30000ms.
SEARCH_ENABLES_FETCHNoWhen set to true, automatically enables the hf_doc_fetch tool whenever hf_doc_search is enabled.
MCP_STRICT_COMPLIANCENoSet to True for GET 405 rejects in JSON Mode (default serves a welcome page).
GRADIO_SKIP_INITIALIZENoWhen set to true, Gradio MCP calls skip the initialize handshake and issue tools/call directly.
MCP_CLIENT_CONNECTION_CHECKNoHow often to check for stale sessions. Default: 90000ms.
ALLOW_INTERNAL_ADDRESS_HOSTSNoOptional comma-separated host allowlist to permit internal/reserved DNS resolutions for trusted domains during outbound checks.
MCP_CLIENT_CONNECTION_TIMEOUTNoRemove sessions inactive for this duration. Default: 300000ms.
MCP_CLIENT_HEARTBEAT_INTERVALNoHow often to check connection health. Default: 30000ms.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/evalstate/hf-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server