Atlas / MCP servers / evalstate / Hugging Face

Hugging FaceBLOCK

mcp/evalstate/hugging-face-1

Hugging Face MCP Server

Verdict
BLOCK
Grade
D
Trust score
64 /100
Exposed tools
21 19r · 2w · 0d
Transport
stdio · streamable-http
License
MIT
Stars
302
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Welcome to the official Hugging Face MCP Server 🤗. Connect your LLM to the Hugging Face Hub and thousands of Gradio AI Applications.

Installing the MCP Server

Follow the instructions below to get started:

Install in Claude Desktop or claude.ai

Click here to add the Hugging Face connector to your account.

Alternatively, navigate to https://claude.ai/settings/connectors, and add "Hugging Face" from the gallery.

Install in Claude Code

Enter the command below to install in Claude Code:

claude mcp add hf-mcp-server -t http https://huggingface.co/mcp?login

Then start claude and follow the instructions to complete authentication.

claude mcp add hf-mcp-server \
-t http https://huggingface.co/mcp \
-H "Authorization: Bearer "

Install in Gemini CLI

Enter the command below to install in Gemini CLI:

gemini mcp add -t http huggingface https://huggingface.co/mcp?login

Then start gemini and follow the instructions to complete authentication.

Install in VSCode

Click here to add the Hugging Face connector directly to VSCode. Alternatively, install from the gallery at https://code.visualstudio.com/mcp:

Read from source at commit 28fb65863538OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add hf-mcp --env DEFAULT_HF_TOKEN=${DEFAULT_HF_TOKEN} --env HF_TEST_TOKEN=${HF_TEST_TOKEN} --env HF_TOKEN=${HF_TOKEN} --env LOGGING_HF_TOKEN=${LOGGING_HF_TOKEN} -- npx -y @llmindset/[email protected]
claude-desktop
{
  "mcpServers": {
    "hf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@llmindset/[email protected]"
      ],
      "env": {
        "DEFAULT_HF_TOKEN": "${DEFAULT_HF_TOKEN}",
        "HF_TEST_TOKEN": "${HF_TEST_TOKEN}",
        "HF_TOKEN": "${HF_TOKEN}",
        "LOGGING_HF_TOKEN": "${LOGGING_HF_TOKEN}"
      }
    }
  }
}
03

Exposed tools (21)

19 read · 2 write · 0 destructive.

ToolRiskDescription
BadNamereadbad
OmniParser_v2_processread
aread
alphareadfirst skill
app_toolreadTool with an app
childreadchild
create_repowrite
dynamic_spacereadFind (semantic/task search), inspect (view parameter schema) and dynamically invoke Hugging Face Spaces.
extraread
firstreadFirst app tool
hf_jobswriteRemote compute for Hugging Face workflows. Run Python/UV or Docker jobs to deeply analyze Hub datasets, repos, traces, models, and large files; compute trends/statistics; run batch inference/evaluation; or perform long-running work with installed libraries.
hf_whoamiread
hub_repo_detailsreadGet details for one or more Hugging Face repos (model, dataset, or space).
hub_repo_searchreadSearch Hugging Face repositories with a shared query interface.
private-skillreadPRIVATE_DESCRIPTION
progress_testread
refundsreadProcess refunds
secondreadSecond app tool
test_toolreadTest tool
tool1readTool 1
tool2readTool 2
04

Trust audit

BLOCKgrade D · trust 64/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (10 observation(s))
Network
declared (10 observation(s))
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/mcp/src/sandbox-tool.ts:271
exec(conn: SandboxConnection, args: SandboxExecRequest, options?: SandboxExecOptions): Promise<SandboxExecResult>;
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
scripts/diagnose-oauth.mjs:632
console.log(`  client secret returned: ${clientInfo.client_secret ? 'yes (redacted)' : 'no'}`);
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
monitor/telemetry/test_tool_error_report.py:244
secret = 'SYNTHETIC_PRIVATE_DO_NOT_OUTPUT'
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/app/test/server/utils/hf-whoami-client.test.ts:60
const token = 'hf_oauth_header.payload.signature';
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/app/test/server/utils/hf-whoami-client.test.ts:177
const token = 'credential-must-not-appear';
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
monitor/tests/test-distribution.sh:154
"-----BEGIN RSA PRIVATE KEY-----",
LOWInventory / provenance · inv.hidden_file · CWE-1104
.env.test.example
.env.test.example
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.hintrc
.hintrc
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.prettierignore
.prettierignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/app/src/server/definition-digests/policy.ts:2
import { BOUQUETS } from '../../shared/bouquet-presets.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/app/src/server/definition-digests/policy.ts:4
import type { DefinitionDigestsStatus, DefinitionDigestsStats } from '../../shared/definition-digests-status.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/app/src/server/definition-digests/stats.ts:1
import type { DefinitionDigestsStats } from '../../shared/definition-digests-status.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/app/src/server/server-build-info.ts:4
const { version } = require('../../package.json') as { version: string };
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/app/src/server/skills/skill-catalog-cache.ts:1
import type { SkillCatalogStatus } from '../../shared/skill-catalog-status.js';
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
scripts/diagnose-oauth-network.test.mjs:45
'169.254.169.254',
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/oauth-diagnostics.md:63
pnpm oauth:diagnose -- --server 'http://127.0.0.1:3000/mcp?login'
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/oauth-diagnostics.md:82
1. Starts the OAuth callback at `http://127.0.0.1:8090/oauth/callback`.
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/oauth-diagnostics.md:86
5. Includes `http://127.0.0.1:8090/oauth/callback` in the document's `redirect_uris`.
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/oauth-diagnostics.md:95
--redirect-uri 'http://127.0.0.1:8090/oauth/callback'
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
monitor/tests/test-dashboard.py:139
with urlopen(f'http://127.0.0.1:{server.server_port}/healthz') as response:
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@types/node, concurrently, knip, prettier, typescript
Why it matters. 5 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
packages/app/package.json
@huggingface/hub, @radix-ui/react-checkbox, @radix-ui/react-dropdown-menu, @radix-ui/react-separator, @radix-ui/react-slot, @radix-ui/react-tabs, @tailwindcss/vite, @tanstack/react-table
Why it matters. 43 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
packages/mcp/package.json
@huggingface/hub, mime-types, picomatch, shell-quote, @eslint/js, @types/node, eslint, rimraf
Why it matters. 10 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
packages/app/src/server/definition-digests/README.md:108
curl -X POST 'https://host/api/definition-digests/salt?value=v2' -H 'X-Metrics-Password: ...'
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/space-monitor-architecture.md:45
The optional `MONITOR_HF_TOKEN` is passed only to the Doctor as its read-only `HF_TOKEN`; the parent credential is
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 28fb65863538full audit observations/trust-audit/mcp-server/evalstate__hugging-face-1.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0728fb65863538BLOCKD64first audit
06

Questions

What is the Hugging Face MCP server?

Hugging Face MCP Server

What tools does Hugging Face expose?

21 in total: 19 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Hugging Face safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (64/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does Hugging Face need?

It reads DEFAULT_HF_TOKEN, HF_TEST_TOKEN, HF_TOKEN, LOGGING_HF_TOKEN, MCP_STRICT_TOKEN, METRICS_PAGE_PASSWORD, MONITOR_HF_TOKEN, OPENAI_API_KEY, PROXY_TOKEN and RESPONSES_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Hugging Face run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @llmindset/hf-mcp at 0.4.28.

How current is this page?

The grade is for one exact copy of the source (28fb65863538), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement