No browser window opens to sign in to an MCP server
You added a remote MCP server and the app never asks you to sign in. A header in the entry, an app that wasn't restarted, or no browser to open.
A remote MCP server that you sign in to should open your browser the first time the app calls it. With Hamloy, the window asks Let "Cursor" in? and you choose Allow. When no window comes, the app either hasn't tried yet, was told not to, or has no browser to open.
The app hasn't tried yet
- Cursor. It reads
.cursor/mcp.jsonwhen it starts. Start Cursor again after saving the file. - Claude Code. Type
/mcp, pick hamloy and choose Authenticate. - Codex. Run
codex mcp login hamloy. - Gemini CLI. Type
/mcp auth hamloy. - VS Code. Check that it shows the hamloy server as running, and start it from there if not.
The entry has a header, so the app doesn't sign in
An entry can carry an Authorization header, for an API token. When it does, the app sends the header and never offers to sign in. Zed does this, and it is worth checking in any app. If you meant to sign in, the entry should hold the address and nothing else:
{
"context_servers": {
"hamloy": {
"url": "https://hamloy.com/mcp"
}
}
}
Take headers out, check the address is exactly https://hamloy.com/mcp (or your project's own from the Connect page), and turn the server off and on in the app's MCP settings.
There is no browser to open
Over SSH, in a container or on a CI machine, the app has nowhere to open a window. Use an API token there. Make one on Hamloy's Connect page under API tokens, named for the machine, and give it to the app as a header:
{
"mcpServers": {
"hamloy": {
"url": "https://hamloy.com/mcp",
"headers": { "Authorization": "Bearer ${env:HAMLOY_TOKEN}" }
}
}
}
How the variable is written differs per app: see The token in a variable isn't read.
The app's sandbox stopped it
An agent that sets the server up for you may run in a sandbox with no network, and then nothing reaches the browser step. That shows as "Could not resolve host", which has a page of its own.
Check that it worked
After Allow, the app is listed under Connected apps on the Connect page, and "What's open in Hamloy?" brings your lists back. If the window opens and says the link doesn't work, see "This link doesn't work".
Signing in or a token, and when to use which: Remote link or API token.