Snowflake Cortex Code Remote MCP Connection Issues
When connecting Snowflake Cortex Code to the Atlan Remote MCP server, you may encounter issues related to server configuration, expired OAuth tokens, or the OAuth browser callback. This page covers the most common issues and how to fix them.
Atlan server doesn't appear in Cortex Code
No tools loaded from 'atlan' — the server is not listed among configured MCP servers.
Cause
The server wasn't saved to the Cortex Code configuration file at ~/.snowflake/cortex/mcp.json, or it was added with an incorrect name, URL, or transport type.
Solution
-
Inspect the saved configuration:
cortex mcp get atlan -
If the server is missing or incorrect, remove it and add it again:
cortex mcp remove atlancortex mcp add atlan https://mcp.atlan.com/mcp --transport http -
Restart the servers and confirm the connection:
cortex mcp start
Atlan MCP stops working after OAuth token expires
MCP connection failed. The server is not responding — your OAuth token may have expired.
Cause
OAuth tokens have a limited lifetime. Once the cached token under ~/.snowflake/cortex/mcp_oauth/ expires, the MCP server rejects requests and returns no results.
Solution
-
Remove the existing server:
cortex mcp remove atlan -
Re-add the server:
cortex mcp add atlan https://mcp.atlan.com/mcp --transport http -
Run
cortex mcp startand complete the OAuth flow again in your browser.
Browser doesn't open or OAuth callback fails
OAuth authorization required for 'atlan' — waiting for authorization callback.
Cause
The OAuth flow starts a local callback server (for example, on localhost:8585). If your browser doesn't open automatically, or a firewall or another process is using the callback port, the authorization never completes.
Solution
- Copy the authorization URL from the terminal output and open it manually in your browser.
- Make sure no firewall or other process is blocking the local callback port.
- If the port is in use, stop the conflicting process, then run
cortex mcp startagain to restart the flow.
See also
Need help
If you need assistance after trying these steps, contact Atlan Support.