Skip to main content

What is MCP?

The Model Context Protocol (MCP) is an open standard that enables AI applications to securely connect with external data sources and tools. MCP is supported by various AI tools including Claude Desktop, Cursor, VS Code, and other AI development environments. For detailed information about MCP, see:

Getting Started

MCP works out of the box — no workspace configuration needed. Just add the server to your AI client and authenticate:

Client Setup

Use the MCP server URL for your region:
RegionMCP Server URL
UShttps://mcp.us.synq.io/mcp
EUhttps://mcp.synq.io/mcp
Run in your terminal:
# US region
claude mcp add synq --transport http https://mcp.us.synq.io/mcp

# EU region
claude mcp add synq --transport http https://mcp.synq.io/mcp

Authentication

Coalesce Quality MCP uses OAuth2 with PKCE for secure authentication. This is the recommended way to connect — no API keys or tokens need to be pasted anywhere, and every action the AI takes is attributed to you, with a via MCP badge on the actor chip so it’s clear the change came from an AI assistant rather than the app. The flow is fully automatic:
  1. When your AI client connects for the first time, your browser will open automatically
  2. If you are already logged in to Coalesce Quality, the consent screen appears directly. Otherwise, you will be asked to log in first.
  3. Select the permission level you want to grant (see Permissions below)
  4. Click Approve to authorize
OAuth consent screen showing permission options
All actions performed through MCP are tracked as done on behalf of the authenticated user, and carry a via MCP marker so the audit trail distinguishes AI-driven actions from ones performed directly in the app.

Static tokens (legacy)

Long-lived workspace tokens (prefixed st-…) created under Settings → API still work with the MCP server — pass one as a Bearer token in the Authorization header of the MCP connection. Use this only when OAuth is not an option (for example, headless automation without a real user, or when user API access is disabled for the workspace). We recommend OAuth for all interactive AI clients: actions are attributed to the real user rather than to a shared service identity, tokens can be revoked per-user, and the scopes granted match what that user’s role already allows.

Permissions

During authorization, you choose what level of access to grant. The available permission scopes on the consent screen are determined by your user role in the workspace — you will only see options that your role allows.
PermissionWhat it allows
Read-only accessSearch and browse entities, view schemas and lineage, inspect issues and incidents, check monitor status, review execution history, query data, and profile columns. No changes are made.
Write accessEverything in read-only, plus acting on your behalf — manage issues, declare and close incidents, add comments, and more.
Deploy accessCreate and configure automatic and custom monitors for data quality checks.
The set of MCP tools available to your AI assistant depends on the permissions you grant during authorization. For example, if you only grant read-only access, tools that modify data (like managing issues or deploying monitors) will not be available.

Disabling User API Access

Workspace admins can prevent users from authorizing third-party applications (including MCP clients) to access the Coalesce Quality API via OAuth. The toggle lives in Settings → Workspace and can be flipped on or off at any time by a user with the admin role — individual users do not need to take any action when the setting changes.
Toggle to disable user API access
While this is enabled:
  • New OAuth consent attempts from MCP clients are rejected with an explanatory message on the consent screen.
  • Existing OAuth tokens issued to users stop working.
  • Workspace-provisioned long-lived tokens (st-…) and client credentials continue to work — use those if you need programmatic access in this mode.
Turning the setting back off immediately restores the OAuth path; users will need to re-authorize their MCP client the next time it connects.

Coalesce Quality MCP Tools

Once connected, your AI assistant has access to a wide range of tools for working with your data infrastructure. The tables below group them by purpose.
ToolDescription
search_entitiesSearch for entities by name, description, and other metadata with optional filtering by entity types
sample_entitiesGet entity count sampling by type for search queries to understand distribution before detailed searches
list_annotationsList all available annotations with their usage counts across entities

Core Entity Operations

ToolDescription
get_entity_detailsRetrieve detailed information about a specific data entity including properties, metadata, and current state
batch_entity_detailsGet details for multiple entities simultaneously - more efficient than multiple individual calls
get_schemaRetrieve schema definition including column names, types, and constraints for table-like entities
get_database_coordinates_from_entityRetrieve physical DWH coordinates (dialect, connection, instance, database, schema, object) for table entities
get_entity_from_database_coordinatesMap SQL table references (fully/partially/unqualified) to Coalesce Quality entity IDs
get_codeAccess the latest version of source code that defines or implements data entities (SQL definitions, dbt models, etc.)

Data Lineage Analysis

Comprehensive Lineage
ToolDescription
get_lineageAdvanced dependency analysis with directional control (upstream, downstream, or both) and configurable depth
Upstream Analysis
ToolDescription
get_upstream_dependenciesFind all upstream dependencies with configurable traversal distance
get_immediate_upstream_dependenciesFind only direct upstream dependencies for quick analysis
get_upstream_sourcesTrace data lineage to find original data sources (dbt sources, SQLMesh external models, Coalesce sources)
Downstream Analysis
ToolDescription
get_downstream_dependenciesFind all downstream dependencies with configurable traversal distance
get_immediate_downstream_dependenciesFind only direct downstream dependencies for quick analysis
Cross-Entity Analysis
ToolDescription
get_common_upstream_dependenciesFind shared dependencies between two entities using connected components analysis

Orchestration

ToolDescription
get_orchestrationGet orchestration relationships for entities - shows what orchestrates them (upstream) and what they orchestrate (downstream)

Issue and Incident Management

ToolDescription
list_open_issuesList all open issues currently requiring attention with optional entity filtering
list_open_incidentsList all currently open incidents that need attention or resolution with optional entity filtering
get_issueReturn the core issue record for a specific issue ID (status, severity, trigger entity)
get_issue_detailsReturn the issue record plus the first page of comments and — for monitor-triggered issues — the monitor configuration and schema of the monitored entity. Prefer this over get_issue when you need context to reason about the issue
get_issue_commentsGet comments and discussions on issues if available
get_incident_detailsRetrieve detailed information about a specific incident by ID, including attached issues, state, and comment timeline
list_historyFind historical incidents and issues to identify patterns and recurring problems

Impact Analysis

ToolDescription
get_entity_impactGet impact analysis showing all entities and systems affected if there was an issue on the entity
get_issue_impactGet impact analysis showing all entities and systems affected by a specific issue

Data Quality and Monitoring

ToolDescription
list_checksRetrieve all data quality checks configured for a specific entity (direct and inherited)
get_monitorRetrieve detailed information about a specific monitor including configuration and status
get_monitor_predictionsReturn recent model predictions for a monitor with expected vs actual values and confidence bands — useful for diagnosing miscalibrated anomaly detection
get_entity_metricsReturn raw metric timeseries (row counts, freshness, etc.) for an entity; resolves logical assets (e.g., dbt models) to their underlying physical tables

Executions

ToolDescription
get_latest_executionsGet the most recent execution for each specified entity (monitors, dbt models, airflow tasks, etc.)
list_executionsList execution history for specific entities with filtering by time range, status, and execution type
batch_executionsGet detailed information for specific executions by their IDs
summarise_executionsGet aggregated execution statistics - counts by type and status, time ranges, and latest execution per entity

SQL Generation for Data Analysis

These tools generate the SQL that Coalesce Quality would run to analyse data, but the MCP server does not execute queries against your warehouse. The response includes the full executedSql — run it yourself (or let your AI client run it through a separate warehouse connection) to get actual results. This keeps your data inside your own warehouse and avoids giving the MCP server any standing database credentials.
ToolDescription
execute_monitorGenerate the SQL a monitor would run, including any extra segmentation, WHERE clauses, or time filters you pass in. Similar in spirit to get_code but for the check SQL — get_code returns the asset’s definition, execute_monitor returns the query the monitor executes against that asset
profile_columnsGenerate SQL that computes statistics for specific columns (supports String, Numeric, and Time types)
sample_column_valuesGenerate SQL that returns the frequency distribution of values for specific columns, with optional time-based filtering

Change Tracking and History

Database Changes
ToolDescription
list_database_changesRetrieve history of schema and SQL definition changes for specific entities
get_database_change_detailsReturn full change details for specific change IDs
Git Integration
ToolDescription
list_commitsList commits that affect a specific entity, providing git history and change information
get_commit_diffRetrieve exact diff content of specific commit changes with optional path filtering

Write Actions

The tools in this section modify workspace data and require Write access (for issue/incident actions) during OAuth consent. If the user granted only read-only access, these tools will not appear in the client.
ToolRequired scopeDescription
set_issue_statusWriteSet the status of a single issue (e.g., mark as expected behaviour, fixed upstream, no action needed). An optional note is posted as a comment to preserve the audit trail
add_commentWritePost a Markdown comment on an issue or incident, attributed to the authenticated user
create_incidentWriteCreate a new incident grouping one or more related issues under a shared name for coordinated investigation
update_incidentWriteEdit an existing incident — rename, change state, reassign owner, or attach/detach issues in a single call

Utilities

ToolDescription
batch_urlsGenerate Coalesce Quality application URLs for multiple entities and issues for easy navigation
submit_feature_requestSubmit a feature request or product feedback to the Coalesce Quality team from your AI assistant