VS Code Remote MCP Connection Issues
When connecting VS Code to the Atlan Remote MCP server, you may encounter issues related to API key validity, OAuth session state, or extension registration. This page covers the most common issues and how to fix them.
VS Code MCP API key authentication error
Authentication failed: The provided API key is invalid or does not have the necessary permissions.
Cause
The API key is invalid, expired, or lacks the required permissions in Atlan.
Solution
- In Atlan, go to Admin Settings → API access → Tokens and verify the key is active.
- Generate a new API key if the existing one is expired or revoked.
- Update the key in your
mcp.jsonand restart VS Code.
VS Code MCP OAuth sign-in failure
Sign in failed. We could not authenticate you with the connected service. Please try again.
Cause
Expired or stale Atlan session in the browser prevents the OAuth flow from completing.
Solution
Log out of Atlan in the browser, log back in, restart VS Code, then retry the OAuth flow.
Atlan extension not registering MCP server in VS Code
No MCP servers configured. The Atlan MCP server may not have been registered during extension activation.
Cause
Extension may not have registered the MCP server automatically on first activation, or the step was skipped.
Solution
Open Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux) and run Atlan: Setup MCP Server.
See also
Need help
If you need assistance after trying these steps, contact Atlan Support.