Cursor agent unable to use the HuggingFace MCP tools

Thanks for the logs - I see “Found 9 tools, 4 prompts” via mcp-remote and multiple CreateClient (“A second client was created while connecting, discarding it.”). It looks like duplicate configuration for the same server.

Please check:

  1. Duplicates in the config
    • Open both files and send their contents:
      • Global: ~/.cursor/mcp.json
      • Project: .cursor/mcp.json
    • Make sure “hf-mcp-server” is described in only one place. Either remove the duplicate or rename the entry for mcp-remote, for example to “hf-mcp-remote”.
  2. Enabling tools
    • In the chat, open “Available Tools” and check that the HF group is enabled (toggle is active).
  3. Logs + Request ID
    • Create a new chat, ask the Agent to explicitly use the HF-tool, then:
      • Copy the Request ID (chat menu → Copy Request ID)
      • Open Output Cmd+Shift+U → select “MCP Logs” and send the logs around this attempt.
  4. Try in Agent Window and in the main editor - write where it reproduces.
  5. Network test
    • Settings → Network → Run Diagnostics
    • Temporary test: Settings → “Disable HTTP/2” → restart Cursor → repeat the attempt.

If the problem persists after removing duplicates and restarting, send:

  • New Request ID after mcp-remote
  • MCP Logs from Output
  • Contents of both mcp.json
    I’ll attach this data to the investigation with the engineers.