Skip to content

[BUG] E2E test fails: Hugging Face MCP server no longer exposes model_search tool #280

Description

@clouatre

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions