VS Code Setup
Connect your Alation catalog to VS Code using the Remote MCP server with OAuth authentication.
Prerequisites
Section titled “Prerequisites”- OAuth Client credentials from your Alation instance (Create OAuth Client)
- VS Code with MCP support enabled
Adding the MCP Server
Section titled “Adding the MCP Server”-
Create the configuration file
In your project root, create a
.vscodefolder if it doesn’t exist, then create a file namedmcp.jsoninside it. -
Add the Alation server configuration
{"servers": {"alation_mcp": {"url": "https://<YOUR_INSTANCE>.alationcloud.com/ai/mcp/","type": "http"}},"inputs": []}
Connecting (Authentication)
Section titled “Connecting (Authentication)”-
Start the MCP server
In the
mcp.jsonfile, click Start above the server configuration.
-
Proceed through Dynamic Client Registration
A modal appears saying “Dynamic Client Registration not supported”. Click Proceed.

-
Enter your credentials
VS Code prompts you for:
- Client ID - Enter your OAuth client ID
- Client Secret - Enter your OAuth client secret
Press Enter after each.
-
Allow authentication
Click Allow when prompted that the MCP server wants to authenticate.

-
Cancel the first browser prompt
A modal asks to open an external website. Check the URL - if it contains
127.0.0.1, click Cancel.
-
Accept the second browser prompt
A toast appears asking “Having trouble authenticating?”. Click Yes.
Another external website modal appears. This time the URL contains
vscode.dev/redirect. Click Open.
-
Sign in to Alation
Your browser opens the Alation login page. Sign in with your credentials.
-
Verify connection
After signing in, VS Code shows the server as “Running” with available tools.

Enabling Tools
Section titled “Enabling Tools”Tools are available once connected. Click the tool count (e.g., “26 tools”) to open the Configure Tools panel and select which tools are available to chat.

Example Prompts
Section titled “Example Prompts”Once connected, try queries like:
- “Use catalog context search agent and fetch all columns in the sales table” (You can also point to a specific tool and ask your questions like this)
- “What tables are related to customer data?”
Troubleshooting
Section titled “Troubleshooting”-
Stuck on “Authentication…”? Restart VS Code and follow the authentication steps again.
-
Always showing localhost and never redirecting to your server? Check Managed Trusted Domains and remove your Alation instance:
- Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows)
- Select
Manage Trusted Domains - Remove your Alation instance URL from the list
- Save and retry authentication
-
Need to rotate credentials? Clear saved OAuth state:
- Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows)
- Select
Authentication: Remove Dynamic Authentication Providers - Check the Alation MCP server entry and click OK, then Remove