Skip to main content

MCP Server

The Qarion MCP Server implements the Model Context Protocol (MCP), allowing LLM-based agents like Claude, Cursor, and Windsurf to interact with the Qarion platform directly. It wraps the Python SDK and exposes 255 tools covering the Qarion SDK surface for agent integration.

Installation

cd mcp-server
pip install -e .

Configuration

Set one authentication environment variable before starting the server. Use QARION_API_KEY for service-style access, or QARION_BEARER_TOKEN when the agent should act with user-context authorization.

VariableRequiredDescription
QARION_API_KEYYes, unless bearer token is setQarion API key for service-style auth
QARION_BEARER_TOKENYes, unless API key is setBearer token for user-context auth
QARION_BASE_URLNoOverride the target Qarion API base URL

Running

# Via module
python -m qarion_mcp

# Via entry point
qarion-mcp

Client Integration

Claude Desktop

Add to your claude_desktop_config.json:

{
"mcpServers": {
"qarion": {
"command": "python",
"args": ["-m", "qarion_mcp"],
"env": {
"QARION_API_KEY": "qk_your_api_key_here"
}
}
}
}

Cursor / Windsurf

Add an MCP server entry in your IDE settings pointing to python -m qarion_mcp with either QARION_API_KEY or QARION_BEARER_TOKEN set.

Coverage and Tool Design

The MCP server exposes 255 registered tools backed by the Qarion Python SDK. SDK coverage is tracked in a machine-readable manifest so every async SDK method is either exposed to MCP or explicitly excluded.

High-value domains such as source systems, incidents, integrations, connectors, product alerts, and quality workflows use typed, agent-friendly tool signatures. Lower-value long-tail SDK methods may still be exposed through the generic parity layer with a payload object.

Safety and Confirmation

Read-only lookup, list, and search tools are classified as read and can run without confirmation. Tools that create or update data are classified as write; delete, archive, remove, resolve, cancel, and unpublish tools are classified as destructive; webhook tests, integration syncs, downstream notifications, and similar operations are classified as external_side_effect.

The in-platform copilot requires confirmation for write, destructive, and external_side_effect tools. Credential and secret material is redacted from MCP responses, including fields such as secret, password, token, and api_key.

Available Tools

The server currently registers the following MCP tools. Tools that write data, delete/archive resources, or trigger external side effects are classified in the AI capability registry and require confirmation in the in-platform copilot.

ToolDescription
add_downstream_productAdd downstream product via the Qarion SDK.
add_lineage_edgeAdd a manual lineage edge between two products.
add_space_organizationAdd space organization via the Qarion SDK.
add_steward_domainAdd steward domain via the Qarion SDK.
add_team_memberAdd a user to a team.
add_upstream_productAdd upstream product via the Qarion SDK.
add_user_organizationAdd user organization via the Qarion SDK.
allocate_manual_costsApply allocation rules to unattributed manual cost line items.
annotate_alertAdd an annotation to an alert.
apply_ce_marking_conformity_assessmentApply ce marking conformity assessment via the Qarion SDK.
apply_quality_configApply quality config via the Qarion SDK.
approve_workflowApprove or reject a workflow approval step.
archive_contractArchive a data contract.
archive_cycle_recertification_cycleArchive cycle recertification cycle via the Qarion SDK.
assign_product_domainAssign product domain via the Qarion SDK.
browse_marketplaceBrowse published data marketplace listings.
cancel_recertification_cycleCancel a recertification cycle.
check_integration_quality_gateCheck whether a product passes an integration quality gate.
check_permissionCheck whether the current user can perform an action.
complete_recertification_cycleMark a recertification cycle as completed.
complete_review_conformity_assessmentComplete review conformity assessment via the Qarion SDK.
complete_risk_assessmentComplete a risk assessment and optionally sync tier to product.
create_audit_request_recertification_cycleCreate audit request recertification cycle via the Qarion SDK.
create_change_requestCreate a change request for a data product.
create_conformity_assessmentCreate a new conformity assessment for a product.
create_connectorCreate a connector in a space.
create_contractCreate a new data contract.
create_domainCreate a new data domain.
create_for_product_issueCreate for product issue via the Qarion SDK.
create_glossary_termCreate a new business glossary term.
create_issueCreate a new issue ticket.
create_manual_cost_finopsCreate manual cost finops via the Qarion SDK.
create_meetingCreate a new DQ meeting.
create_organizationCreate a new organization.
create_policyCreate a new governance policy.
create_productCreate a new data product in a space.
create_product_alertCreate an alert for a product.
create_quality_checkCreate a new quality check.
create_recertification_cycleCreate a new recertification cycle.
create_risk_assessmentCreate a new risk assessment for a product.
create_risk_entryCreate a new risk register entry.
create_screeningCreate a new Art. 5 prohibited practices screening.
create_source_systemCreate a source system.
create_source_system_credentialCreate a source-system credential with secret output redacted.
create_source_system_roleCreate a source-system access role.
create_teamCreate a new team in a space.
create_ticket_alertCreate ticket alert via the Qarion SDK.
create_training_run_productCreate training run product via the Qarion SDK.
create_webhookCreate a new webhook.
create_workflow_definitionCreate a new workflow definition.
delete_connectorDelete a connector.
delete_contractDelete a data contract.
delete_cycle_recertification_cycleDelete cycle recertification cycle via the Qarion SDK.
delete_definition_workflowDelete definition workflow via the Qarion SDK.
delete_domainDelete domain via the Qarion SDK.
delete_glossary_termDelete a glossary term.
delete_organizationDelete organization via the Qarion SDK.
delete_policyDelete policy via the Qarion SDK.
delete_product_alertDelete a product alert.
delete_source_systemDelete a source system.
delete_source_system_credentialDelete a source-system credential.
delete_source_system_roleDelete a source-system role.
delete_teamDelete a team.
delete_training_run_productDelete training run product via the Qarion SDK.
delete_webhookDelete webhook via the Qarion SDK.
detect_cost_anomaliesManually trigger cost anomaly detection.
evaluate_all_policyEvaluate all policy via the Qarion SDK.
evaluate_policyEvaluate a policy against all products in the space.
execute_workflowExecute a workflow definition.
export_audit_logExport audit log via the Qarion SDK.
export_csv_glossary_termExport csv glossary term via the Qarion SDK.
generate_declaration_conformity_assessmentGenerate declaration conformity assessment via the Qarion SDK.
get_approvers_domainGet approvers domain via the Qarion SDK.
get_compliance_summaryGet compliance dashboard summary for a space.
get_conformity_assessmentGet details of a conformity assessment.
get_connectorGet details for a connector.
get_contractGet a data contract by ID.
get_cross_space_dependenciesGet cross-space upstream/downstream dependencies for a product.
get_domainGet details of a data domain.
get_domain_scorecardGet governance health scorecard for a domain.
get_domain_treeGet the hierarchy tree of data domains.
get_filter_suggestions_recertification_cycleGet filter suggestions recertification cycle via the Qarion SDK.
get_finops_assetsGet paginated list of all data assets with cost/usage metrics.
get_finops_cost_trendGet daily attributed vs unattributed cost trend.
get_finops_ledgerGet unified ledger entries for an organization.
get_finops_overviewGet org-wide FinOps KPI summary.
get_glossary_termGet details of a glossary term.
get_incidentGet incident details.
get_incident_timelineGet timeline events for an incident.
get_issueGet a ticket by UUID.
get_issues_organizationGet issues organization via the Qarion SDK.
get_latest_refresh_productGet latest refresh product via the Qarion SDK.
get_lineage_edgesGet lineage edges for a product.
get_lineage_impactRun downstream impact analysis for a product.
get_lineage_productGet lineage product via the Qarion SDK.
get_marketplace_featuredGet featured and trending marketplace listings.
get_marketplace_listingGet details of a marketplace listing.
get_meetingGet details of a meeting.
get_my_governance_rolesGet governance roles the current user holds in a space.
get_my_marketplace_listingsList marketplace listings published by the current user.
get_my_roleGet the current user's role in a space.
get_organizationGet details of an organization.
get_organization_productsList products across all spaces in an organization.
get_organization_statsGet aggregated statistics for an organization.
get_page_urlGet the URL for a Qarion platform page.
get_policyGet details of a governance policy.
get_productGet detailed information about a data product.
get_product_by_idGet detailed information about a data product by its UUID.
get_quality_checkGet a quality check by slug.
get_quality_check_by_idGet a quality check by UUID.
get_quality_check_statsGet aggregated statistics for a quality check.
get_quality_executionsGet execution history for a quality check.
get_quality_trendsGet daily quality trend aggregation for a data product.
get_ratings_marketplace_listingGet ratings marketplace listing via the Qarion SDK.
get_recertification_cycleGet a recertification cycle with all its audit items.
get_refresh_stats_productGet refresh stats product via the Qarion SDK.
get_resource_historyGet audit history for a specific resource.
get_resource_permissionsGet all permissions the current user has on a resource.
get_risk_assessmentGet details of a risk assessment.
get_risk_entryGet details of a risk register entry.
get_risk_heat_mapGet aggregated risk heat map data for a space.
get_screeningGet details of a prohibited practices screening.
get_source_systemGet source system details.
get_source_system_roleGet a source-system role.
get_space_cross_space_lineage_edgesGet space cross space lineage edges via the Qarion SDK.
get_teamGet a team by slug.
get_terms_for_product_glossary_termGet terms for product glossary term via the Qarion SDK.
get_training_run_productGet training run product via the Qarion SDK.
get_workflow_definitionGet a workflow definition by ID.
get_workflow_instanceGet a workflow instance by ID.
import_csv_glossary_termImport csv glossary term via the Qarion SDK.
link_incident_ticketLink an incident to a ticket.
link_product_glossary_termLink product glossary term via the Qarion SDK.
link_products_risk_entryLink products risk entry via the Qarion SDK.
list_alertsList central alerts for a space.
list_audit_logList audit log entries for a space.
list_by_product_contractList by product contract via the Qarion SDK.
list_by_space_contractList by space contract via the Qarion SDK.
list_categories_glossary_termList categories glossary term via the Qarion SDK.
list_change_requestsList change requests for a data product.
list_conformity_assessmentsList EU AI Act conformity assessments for a product.
list_connectorsList data connectors in a space.
list_contract_versionsList version history for a data contract.
list_contractsList data contracts.
list_deliveries_webhookList deliveries webhook via the Qarion SDK.
list_domainsList all data domains in an organization.
list_evaluations_policyList evaluations policy via the Qarion SDK.
list_for_product_issueList for product issue via the Qarion SDK.
list_glossary_termsList business glossary terms in a space.
list_incidentsList incidents in a space.
list_issuesList tickets (issues) in a space.
list_manual_costs_finopsList manual costs finops via the Qarion SDK.
list_meetingsList DQ meetings for a space.
list_organizationsList organizations you have access to.
list_platform_pagesList available Qarion platform pages.
list_policiesList governance policies for a space.
list_product_alertsList alerts for a product.
list_productsList data products in a space.
list_products_domainList products domain via the Qarion SDK.
list_quality_checksList all quality checks in a space.
list_quality_checks_for_productList all quality checks linked to a specific data product.
list_recertification_cyclesList recertification cycles in a space.
list_refreshes_productList refreshes product via the Qarion SDK.
list_risk_assessmentsList risk assessments for a product.
list_risk_entriesList risk register entries for a space.
list_screeningsList Art. 5 prohibited practices screenings for a product.
list_source_system_credentialsList credentials for a source system with secret fields redacted.
list_source_systemsList source systems in a space.
list_space_membersList members of a space with their roles.
list_spacesList all spaces the authenticated user has access to.
list_teamsList all teams in a space.
list_training_runs_productList training runs product via the Qarion SDK.
list_webhooksList all webhooks in a space.
list_workflow_definitionsList all workflow definitions.
log_training_run_productLog training run product via the Qarion SDK.
marketplace_checklistEvaluate the publishing checklist for a product.
notify_incident_downstreamNotify downstream subscribers about an incident.
override_screeningOverride screening via the Qarion SDK.
populate_recertification_cycleAuto-populate audit items for a recertification cycle.
preview_impact_analysisPreview downstream impact of changing a data product.
publish_to_marketplacePublish a data product to the marketplace.
push_integration_quality_resultPush a quality result through the integrations API.
push_quality_resultPush an externally computed quality check result.
rate_marketplace_listingRate and optionally review a marketplace listing.
recertify_all_recertification_cycleRecertify all recertification cycle via the Qarion SDK.
register_external_quality_checkCreate an external quality check if needed and push a result.
register_integration_lineageRegister lineage between two products.
register_integration_refreshRegister a product refresh event.
register_model_productRegister model product via the Qarion SDK.
register_product_productRegister product product via the Qarion SDK.
register_prompt_productRegister prompt product via the Qarion SDK.
register_refresh_productRegister refresh product via the Qarion SDK.
reindex_documentationReindex documentation via the Qarion SDK.
remove_lineage_edgeRemove lineage edge via the Qarion SDK.
remove_space_organizationRemove space organization via the Qarion SDK.
remove_steward_domainRemove steward domain via the Qarion SDK.
remove_team_memberRemove a user from a team.
remove_user_organizationRemove user organization via the Qarion SDK.
resolve_alertResolve an alert.
resolve_incidentResolve an incident.
resolve_source_system_spaceResolve the owning space slug for a source system.
review_recertification_auditApprove or reject a recertification audit item.
run_quality_configRun quality config via the Qarion SDK.
searchSearch across all entity types within a space.
search_documentationSearch Qarion platform documentation.
search_organizationSearch across all spaces in an organization.
set_lineage_productSet lineage product via the Qarion SDK.
submit_conformity_assessmentSubmit a conformity assessment for compliance review.
submit_screeningSubmit a screening for automated evaluation.
sync_connectorTrigger a metadata sync for a connector.
sync_integration_dbt_manifestSync a dbt manifest through an integration connector.
sync_integration_record_issuesSync record-level issues from an external integration.
templates_risk_entryTemplates risk entry via the Qarion SDK.
test_webhookSend a test event to a webhook.
transition_change_requestTransition a change request status (pending→under_review→approved→implemented).
trigger_quality_checkTrigger execution of a quality check.
unarchive_contractRestore an archived data contract.
unarchive_cycle_recertification_cycleUnarchive cycle recertification cycle via the Qarion SDK.
unassign_product_domainUnassign product domain via the Qarion SDK.
unlink_product_glossary_termUnlink product glossary term via the Qarion SDK.
unlink_product_risk_entryUnlink product risk entry via the Qarion SDK.
unpublish_from_marketplaceRemove a listing from the marketplace.
update_config_recertification_cycleUpdate config recertification cycle via the Qarion SDK.
update_conformity_assessmentUpdate conformity assessment via the Qarion SDK.
update_connectorUpdate connector metadata or configuration.
update_contractUpdate a data contract.
update_definition_workflowUpdate definition workflow via the Qarion SDK.
update_domainUpdate domain via the Qarion SDK.
update_glossary_termUpdate an existing glossary term.
update_incidentUpdate incident fields.
update_issueUpdate an issue ticket.
update_meetingUpdate meeting via the Qarion SDK.
update_member_role_teamUpdate member role team via the Qarion SDK.
update_mitigation_risk_assessmentUpdate mitigation risk assessment via the Qarion SDK.
update_organizationUpdate organization via the Qarion SDK.
update_policyUpdate policy via the Qarion SDK.
update_productUpdate a data product.
update_product_alertUpdate a product alert.
update_quality_checkUpdate a quality check by slug.
update_risk_assessmentUpdate risk assessment via the Qarion SDK.
update_risk_entryUpdate risk entry via the Qarion SDK.
update_screeningUpdate screening via the Qarion SDK.
update_severity_alertUpdate severity alert via the Qarion SDK.
update_source_systemUpdate source system fields.
update_source_system_credentialUpdate a source-system credential with secret output redacted.
update_source_system_roleUpdate a source-system role.
update_teamUpdate team via the Qarion SDK.
update_training_run_productUpdate training run product via the Qarion SDK.
update_user_role_organizationUpdate user role organization via the Qarion SDK.
update_webhookUpdate webhook via the Qarion SDK.
upload_dbt_manifest_connectorUpload a dbt manifest file for connector sync.
validate_change_requestValidate change request via the Qarion SDK.
validate_file_contractValidate file contract via the Qarion SDK.
validate_quality_configValidate quality config via the Qarion SDK.
validate_records_contractValidate records contract via the Qarion SDK.