The e2e test asserts model_search is in the Hugging Face MCP server tool list. That tool no longer exists on the live server, causing CI to fail on any PR where e2e runs.
Summary
E2e test hardcodes model_search as an expected tool from the Hugging Face MCP server. The live server no longer exposes this tool, so the assertion fails. First surfaced on PR #279.
Steps to Reproduce
Run cd test && pnpm install && pnpm test against the current HF MCP server.
Environment
- mcp-remote: 0.1.38
- HF MCP server: live (
https://huggingface.co/mcp)
- CI: GitHub Actions, ubuntu-latest, Node 22
Expected Behavior
E2e passes on PRs unrelated to HF integration.
Actual Behavior
expected [ 'hf_whoami', 'space_search', …(6) ] to include 'model_search'
Fix
Update the assertion to a tool that currently exists, or mock the HF server to remove the live API dependency from CI.
The e2e test asserts
model_searchis in the Hugging Face MCP server tool list. That tool no longer exists on the live server, causing CI to fail on any PR where e2e runs.Summary
E2e test hardcodes
model_searchas an expected tool from the Hugging Face MCP server. The live server no longer exposes this tool, so the assertion fails. First surfaced on PR #279.Steps to Reproduce
Run
cd test && pnpm install && pnpm testagainst the current HF MCP server.Environment
https://huggingface.co/mcp)Expected Behavior
E2e passes on PRs unrelated to HF integration.
Actual Behavior
Fix
Update the assertion to a tool that currently exists, or mock the HF server to remove the live API dependency from CI.