MCP Integration
Model Context Protocol (MCP) Integration
Connect your AI assistant to Coalesce Catalog and unlock intelligent data discovery through natural conversation.
βWhat is MCP?β
The Model Context Protocol (MCP) is an open standard that enables AI assistants to connect to external data sources and tools. Think of it as a universal adapterβyour AI assistant can now understand and work with your organization's data catalog in real-time.
Instead of searching through documentation or clicking through UIs, simply ask your AI: "Find all customer tables owned by the {your-team-name} team" and get instant, accurate results.
β¨Why Use Coalesce MCP?β
The Coalesce MCP complements the AI search already available in Coalesce Catalog by letting you use your own AI assistant while leveraging the same powerful search capabilities. This means you can:
- Use Your Preferred AI - Work with Claude, ChatGPT, Cursor, or any MCP-compatible assistant
- Instant Answers - Get real-time information about tables, owners, and documentation from your catalog
- Contextual Understanding - Your AI knows your data warehouse structure and business terminology
ποΈ Quick Startβ
Prerequisitesβ
Before connecting, you'll need:
- Coalesce Catalog Account with API access
- API Token castor:xxx.. - see documentation here (do not share it, it is secret)
- MCP-Compatible AI Tool (Claude, ChatGPT, Cursor, Dust, β¦)
π§ Setup Instructionsβ
Claude Desktopβ
Claude Desktop does not support quick MCP setup for API token based authentification for now, we thus have to manually edit the configuration file.
Step 1: Create or edit your configuration file
Option A: direct access
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Option B: via Claude Desktop settings:
- Navigate to Claude Settings β Developer
- "Edit Config"
Step 2: Add Coalesce MCP server
{
"mcpServers": {
"coalesce-catalog": {
"command": "npx",
"args": [
"mcp-remote",
"https://api.castordoc.com/mcp/server",
"--header",
"Authorization: YOUR_API_TOKEN_HERE"
]
}
}
}
Step 3: Restart Claude Desktop
Step 4: Test the connection
Ask Claude: "Can you search for {your-data-topic} tables in Coalesce?"
Cursorβ
Step 1: Open Cursor Settings
- Navigate to Tools & MCP β New MCP server
Step 2: Configure the MCP server
Create or edit ~/.cursor/mcp.json:
{
"mcpServers": {
"Catalog": {
"url": "https://api.castordoc.com/mcp/server",
"headers": {
"Authorization": "YOUR_API_TOKEN_HERE"
}
}
}
}
Step 3: Restart Cursor
Step 4: Verify in Cursor Agent
Open Cursor Agent and ask: "Find tables with {your-data-topic} data in Coalesce"
Dustβ
-
Step 1: Access Dust workspace settings
- Navigate to your Dust workspace
- Go to Spaces β Tools β Add Tools
-
Step 2: Add new MCP connection
Click Add Tools β Add MCP Server and fill in:
- URL:
https://api.castordoc.com/mcp/server - Authentication:
- Type:
Bearer Token - Bearer Token:
YOUR_API_TOKEN_HERE
- Type:
- URL:
-
Step 3: Change name, tools stake settings if needed, Save changes
-
Step 4: Use in your Dust Agent
- Go to Chat
- Create or select an existing Agent β Edit Agent
- Knowledge & Tools β Add Tools
- Add the Catalog MCP
- Test & Save
In any Dust conversation, your AI can now access Coalesce:
"@your-agent Search Catalog for {your-data-topic} tables tagged as {your-tag}"
ποΈ Authorizationsβ
The MCP server uses Public API Token authentication (OAuth not yet supported). There is no Role-Based Access Control (RBAC) - the server has full access to all data available through the API token, including all Catalog and API resources.
π¨ Available Toolsβ
The Coalesce MCP Server provides 8 specialized tools for exploring your data catalog:
Search Toolsβ
These tools use the same search engine as Coalesce Catalog's AI search, giving your AI assistant access to the same powerful search capabilities.
| Tool | Purpose | Key Inputs |
|---|---|---|
| search_tables | Find data warehouse tables | query (required), name, ownerName, tag, limit |
| search_dashboards | Find BI dashboards | query (required), name, ownerName, tag, limit |
| search_columns | Find specific columns | query (required), name, tag, limit |
| search_terms | Search business glossary | query (required), name, ownerName, tag, limit |
Catalog API Toolsβ
| Tool | Purpose | Inputs |
|---|---|---|
| get_company_context | Retrieve organizational context and documentation | None |
| get_tags | List tags used to categorize assets | ids (optional), labelContains (optional) |
| get_users | Get all users and their profiles | None |
| get_teams | Get all teams and configurations | None |
π΅βπ« Troubleshootingβ
A. Connection Issuesβ
Problem: "Failed to connect to MCP server"
Solutions:
- Verify API token is valid and not expired
- Check endpoint URL matches your Coalesce instance
- Test network connectivity to your instance
B. AI Not Using Toolsβ
Problem: AI doesn't leverage MCP tools effectively
Tips:
- Be explicit: "Search Coalesce/Catalog MCP forβ¦" (depending on how you named it in your settings)
- Ask about specific assets: tables, columns, dashboards
- Mention owners/teams by name
- Reference tags when relevant
Support & Resourcesβ
Documentationβ
- MCP Specification: modelcontextprotocol.io
- API Reference: Coalesce API Documentation
βFAQβ
Q: Does this work with all AI assistants?
A: It works with any MCP-compatible client. We offer setup documentation for Claude, Cursor, and Dust. Others may work with custom configuration.
Q: What data does the AI assistant see?
A: The AI can search and read catalog metadata (table names, descriptions, owners, tags).
Q: What happens if my token expires?
A: The connection will fail with 401 Unauthorized. Generate a new token in your account settings and update your MCP configuration.
Last Updated: December 2025 | Version 0.0.1