This is what the Cursor built-in Agent says:
The [MCP:user-hf-mcp-server output] logs show Cursor connected and found 12 tools from hf-mcp-server, but they aren’t exposed to me.
What’s happening:
Cursor connects to the HF MCP server
It discovers 12 tools, 4 prompts, 0 resources
Those tools aren’t available in my tool list
This is a Cursor bug: the MCP layer discovers the tools but doesn’t expose them to the AI agent. The connection works, but the tool exposure layer is broken.
Steps to Reproduce
in Cursor Settings open Tools & MCP and add this snippet to the MCP config:
connect to your HuggingFace account and notice that it is green and shows 12 tools, 4 prompts enabled.
Now, ask the Agent if it can use the hf-mcp-server tools. The answer is above.
NB> this works fine and as expected in VS Code and its Agent
Expected Behavior
The agent should be able to use these tools so that I can give him tasks to explore HuggingFace resources
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Hey, thanks for the report. I tested the HuggingFace MCP setup on my end, and the tools are working correctly, so there’s something specific about your configuration or environment causing this issue.
To help identify the difference, could you share:
Which mode are you using? (Ask mode, Agent?)
New or existing chats? Does this happen in newly created chats or existing ones?
Request ID: Try asking the Agent to use one of the HuggingFace tools in a new chat, then click the context menu (top right) → Copy Request ID
This will help us understand where the tools are getting lost between connection and display.
A: Exploring the project to identify available hf-mcp-server tools.
Checking the workspace configuration and searching for Hugging Face MCP server setup:
I don’t have access to any hf-mcp-server tools. My available tools are the standard Cursor read-only tools (codebase_search, grep, file_search, web_search, read_file, list_dir, glob_file_search).
This matches what you noted in your README: the Hugging Face MCP server shows as registered with 12 tools in Cursor settings, but the tools aren’t accessible to the agent.
This is a Cursor MCP integration issue. The server is registered, but the tools aren’t being exposed to me. I can’t fix this from my side.
To verify:
Check Cursor’s MCP settings to confirm the Hugging Face server is configured and shows as active.
Try restarting Cursor or reloading the MCP servers.
Check Cursor’s logs/console for MCP connection errors.
If the tools were available, I’d see them in my tool list and could use them. Since they’re not, this is a Cursor-side problem, not a code issue.
```
Thanks for the details. HF MCP connects (shows 12 tools, green status), but the Agent doesn’t see these tools.
The Agent only uses standard Cursor tools (read_file, codebase_search), but HF tools are not available. Logs show only WARN about standard tool calls, no calls to hf-mcp-server.
Temporary workaround: use mcp-remote as a proxy instead of direct SSE:
The hf-mcp-server tools aren’t available. Your README notes this issue with Cursor: the server appears registered (shows 12 tools), but the tools aren’t accessible.
The agent.json file only has a Playwright MCP server configured, not the Hugging Face one. The HF MCP server needs to be configured in Cursor’s MCP settings, not in agent.json.
What to check:
Cursor MCP settings — verify the Hugging Face MCP server is configured there
Server status — confirm it’s running and authenticated (you’re logged in as ‘madrusnl’)
Restart Cursor — sometimes a restart is needed after MCP changes
If the server shows as registered but tools aren’t accessible, this matches the bug you reported. The tools should appear as mcp_hf-mcp-server_* in the available tools list, but they’re not showing up.
Want help troubleshooting the Cursor MCP configuration, or should we test with a different setup?
try once more. I have restarted cursor
Checking if the hf-mcp-server tools are available:
The hf-mcp-server tools still aren’t available. The error shows the available tools, and there are no mcp_hf-mcp-server_* tools in the list.
This matches the issue in your README: the server may show as registered in Cursor’s settings, but the tools aren’t exposed to the agent runtime.
Possible causes:
MCP server configuration in Cursor — the server may not be properly connected despite showing as “green”
Authentication — the HF token might not be passed correctly to the MCP server
Server startup — the server may be failing to start or crashing silently
To debug:
Check Cursor’s MCP server logs/console for errors
Verify the HF MCP server command/args in Cursor’s MCP settings
Confirm your HF token is set (via hf auth login or environment variable)
The tools should appear as mcp_hf-mcp-server_list_repos, mcp_hf-mcp-server_search_models, etc., but they’re not in the available tools list. This is a Cursor MCP integration issue, not something I can fix from here.
Want help checking the Cursor MCP configuration, or should we test with a different approach?
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:
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”.
Enabling tools
In the chat, open “Available Tools” and check that the HF group is enabled (toggle is active).
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.
Try in Agent Window and in the main editor - write where it reproduces.
I do NOT have `.cursor/mcp.json`, only `~/.cursor/mcp.json`, so it is not clear what may cause duplicates. As my mcp.json contains many hardcoded tokens, I will not post it here. However, you can be assured that contains no duplicate entries either. The only one for “hf-mcp-server" is:
I do not see “Available Tools" option in the chat. Please be more specific. But they are all green in Cursor settings showing 11 tools and 4 prompts for hf-mcp-server. And here is its analysis now: Your hf-mcp-server configuration looks correct:
The issue: Even though the server shows as connected (green) in Cursor Settings, I don’t see tools from hf-mcp-server in my available tools list, while I can see tools from other MCP servers (serena, filesystem, linear, etc.).