beginner⏱️ 16-26 minutes📅 Updated June 2026

Step-by-step guide to integrate Alation MCP server with Sourcegraph Cody. Includes alation_context and get_data_products.

Alation + Sourcegraph Cody: Complete MCP Integration

Alation is a MCP server that Unlock the power of the enterprise Data Catalog by harnessing tools provided by the Alation MCP server..

When integrated with Sourcegraph Cody, you can:

  • Retrieve metadata using natural language queries
  • Search and discover data products in the catalog
  • Flexible querying of catalog objects

This guide provides step-by-step instructions to set up Alation in Sourcegraph Cody, including configuration, examples, and troubleshooting.

What You'll Achieve

After completing this setup:

  • Alation will be fully integrated and operational
  • You can use Alation tools directly in Sourcegraph Cody
  • All Alation capabilities will be available for your workflows
  • Access to 5 different tools

Prerequisites

Before starting, ensure you have:

  • Alation instance URL
  • Service account client ID
  • Service account client secret
  • Sourcegraph Cody installed and configured
  • Compatible operating system (VS Code Extension, JetBrains Extension)

Installation

Step 1: Install Alation

Configuration

Step 2: Configure Sourcegraph Cody

  1. Open Sourcegraph Cody settings
  2. Navigate to MCP server configuration
  3. Add Alation server with appropriate settings
  4. Save and restart if needed

Examples

Once configured, you can use Alation in Sourcegraph Cody:

Data Discovery for Analytics

undefined

Ask Sourcegraph Cody: "Find all customer behavior data for Q4 analysis"

Expected Result: undefined

Data Governance Compliance

undefined

Ask Sourcegraph Cody: "Identify all GDPR-sensitive data and its lineage"

Expected Result: undefined

Role-Based Data Access

undefined

Ask Sourcegraph Cody: "Show data products available for marketing team"

Expected Result: undefined

Testing Your Setup

  1. Launch Sourcegraph Cody
  2. Verify Alation is available in the tools list
  3. Test basic Alation functionality

Troubleshooting

Common Issues

Tools Not Available

Symptoms: Cody does not see the connected tools

Cause: Incorrect config path or JSON syntax error

Solution:

  • Verify path is exactly ~/.config/cody/mcp_servers.json
  • Check JSON validity
  • Check Cody output logs in VS Code Output panel

Alation not appearing in Sourcegraph Cody

Symptoms: Server not listed, Tools not available

Cause: Configuration or installation issue

Solution:

  • Verify configuration syntax
  • Check Alation installation
  • Restart Sourcegraph Cody
  • Check logs for error messages

Next Steps

Now that Alation is integrated with Sourcegraph Cody:

  • Explore all Alation capabilities through Sourcegraph Cody
  • Check out other MCP servers that work with Sourcegraph Cody
  • Join the MCP community for tips and support
  • Consider contributing to Alation development

Need Help?

Related Resources

More Integrations

Explore other MCP servers that work with Sourcegraph Cody

Need Help?

Join the MCP community for support and discussions

Alation + Sourcegraph Cody: MCP Setup Guide (2026)