Cursor's MCP server isn't working
Where Cursor keeps its MCP servers, where it shows their tools and logs, and what to change when Hamloy or any remote server doesn't connect.
Cursor reads its MCP servers from two files, shows each server's tools in its settings, and writes what went wrong to a log of its own. From Cursor's own docs, read on 17 October 2026.
Where the file is
.cursor/mcp.jsonin the folder you work in, for that folder alone.~/.cursor/mcp.jsonin your home folder, for every folder.
Both put servers under mcpServers. A remote server needs only its address, in url:
{ "mcpServers": { "hamloy": { "url": "https://hamloy.com/mcp" } } }
The Add to Cursor button on Cursor's page writes the second file for you.
See whether it is on
Open Customize in Cursor's sidebar. Each server has a switch, and under it its Available Tools. A server that is on with no tools didn't connect: read its log. One that isn't listed wasn't read: check the file for a mistake, and if it looks right, start Cursor again.
Read the log
Open the Output panel (Cmd+Shift+U) and pick MCP Logs from its list. It says which server failed to start or to sign in, and why.
Make Cursor read the file again
Cursor usually notices a change to either file. If a server doesn't show, start Cursor again; that is also when it reads a variable such as HAMLOY_TOKEN from your shell.
Sign in again
Take the server out of the file, save, put it back and save: Cursor opens the sign-in window again. To cut the connection from Hamloy's side, the Connect page lists Cursor under Connected apps, with Disconnect.
Its own quirks
- Cursor asks before each tool call until you let it run that tool without asking.
- On an Enterprise plan, an admin can keep a list of the MCP servers Cursor may use, under Team Settings › MCP Configuration. If Hamloy is refused there, ask them to add
https://hamloy.com/mcp.
The errors, one by one
- The config is not valid JSON
- No sign-in window opens
- "This link doesn't work"
- The server is added, but there are no tools
- The token variable isn't read
Check that it worked
Ask "What's open in Hamloy?" The agent calls the list tool and you get your lists back:
Pebble · 4 open, 1 done
backlog
## Streaks
[ ] B-k3f9@2 Streak counter on the habit card (claimed by claude on streak-counter in pebble)
[ ] B-m2xq@1 Share a streak as an image
requests
[ ] R-q4ve@1 Create an Apple developer account
Setting it up from the start: Cursor. To check a file line by line, paste it into the MCP Config Validator.