๐ MCP Integration
X-AutoMate can be exposed via MCP (Model Context Protocol) and connected to any AI agent of your choice โ Claude, ChatGPT, Cursor, your own custom agent, anything that speaks MCP.
This opens up unlimited possibilities to inject X-AutoMate into your agentic workflows โ from autonomous test generation to data-quality copilots.
๐ Why MCP?โ
The MCP integration gives your agent first-class access to X-AutoMate's core capabilities:
- ๐งช Run, create, and update tests from any agent
- ๐งผ Inspect DQ coverage and the latest run results
- ๐ Read data contracts and their generated checks
- ๐ Browse connections, schemas, and metadata
- ๐ Ask the X-AutoMate knowledge base for platform concepts
๐ก If your agent can call tools, it can now drive X-AutoMate.
โ๏ธ Setupโ
Getting connected is three steps:
- Generate an API key in X-AutoMate
- Add the MCP endpoint to your agent of choice:
- URL:
your.xautomate.host/main/mcp - Header:
Authorization: Bearer <your_api_key>
- URL:
- Confirm the tools appear in your agent โ you're done

๐ Available Toolsโ
Once connected, the following tool groups become available to your agent.
๐ Database Connections & Metadataโ
get_database_connectionsโ list all DB connectionsget_database_connectionโ details for a specific connectioncreate_database_connectionโ register a new DB connectiontest_database_connection_by_idโ verify a connection worksget_db_with_schema,get_db_schema_with_tableโ browse configs with schemas/tablesget_db_metadata,get_db_metadata_for_configโ list metadata for a connectionlookup_db_metadata,get_dq_checks_by_data_contract_fieldโ find metadata and related DQ checksget_db_coverage_statisticsโ test-coverage stats for a DB
๐ Data Contractsโ
get_data_contract_by_name,list_data_contractsโ work with data contractsget_data_contract_sectionโ pull a specific section of a contractget_dq_checks_by_data_contract_nameโ fetch DQ checks linked to a contract
๐งช Test Cases, Suites & Executionsโ
get_test_cases,get_test_cases_by_test_suite_id,get_test_cases_by_test_suite_nameget_test_case,get_test_suites,get_test_suite,get_test_suite_by_namesearch_items_by_nameโ search test cases, suites, approaches, DQ checks, or keywordscreate_etl_test_case,update_etl_test_caseโ manage ETL test cases with SQL keywordsget_executions,get_execution_by_name,get_execution_by_celery_task_id,get_executions_by_idscancel_execution,rerun_execution,rerun_execution_with_variablesget_execution_runtime_variablesโ fetch runtime variables for an executionexecute_task,execute_templateโ run test suites or templates
๐งผ Data Qualityโ
get_dq_checks_latest_runs_details,get_dq_checks_latest_runs_overviewget_dq_test_casesโ search DQ test cases with filterscreate_dq_checkโ create a custom DQ check with three SQL queries
๐ Releases & Schedulingโ
get_releases,get_releaseget_schedules,get_schedule,pause_schedule,resume_schedulecreate_schedule,update_schedule,schedule_template_by_idget_templates,get_templateโ DAG / workflow templates
๐ Git & Source Controlโ
get_git_connections,get_git_connection
๐ Knowledgeโ
ask_knowledge_baseโ query the X-AutoMate knowledge base for platform concepts and docs
๐ฌ Examples in Actionโ
๐ Asking Your Agent About DQ Coverageโ
Your agent can pull DQ coverage stats straight from X-AutoMate:

The reply with a clear, structured answer:

๐งช Proposing New Testsโ
Ask your agent to suggest tests based on what's already in your environment:

๐ Returning DQ Run Resultsโ
Your agent fetches the latest DQ run results directly:

๐ Data Contract MCPโ
X-AutoMate also exposes a dedicated Data Contract MCP that lets your agent get insights from your data contracts and the DQ checks attached to them. This is great for giving your agent a quick view of your data shape and the quality rules in play โ without it having to dig into the UI.

The agent calls the DC tool to read the contract:

And replies with a clean summary of what's inside:

๐ก Pair the Data Contract MCP with the main MCP for agents that need both contract context and operational control.
๐ Summaryโ
| Step | What you do |
|---|---|
| 1 | Generate an API key in X-AutoMate |
| 2 | Point your agent at your.xautomate.host/main/mcp with Authorization: Bearer <key> |
| 3 | Use the available tools โ connections, tests, DQ, contracts, executions, knowledge |
๐ Want to use the built-in chat instead of an external agent? Check out the X-AutoMate AI Assistant.