Does TestGen work with AI coding assistants like Claude, Cursor, and Copilot?

Yes. DataOps TestGen ships an open-source Model Context Protocol server with 96 tools, as of its June 30, 2026 release, so any MCP client can profile data, generate and run tests, read scorecards, and triage failures. DataKitchen lists Claude, Claude Code, Cursor, GitHub Copilot, and Databricks Genie. Every tool runs under your existing TestGen role.

Key points

  • DataOps TestGen's MCP server has 96 tools in eight stages (discover, profile, hygiene, test, run, monitor, score, operate), completed in the June 30, 2026 release and open source under Apache 2.0.
  • TestGen's product page lists Claude, Claude Code, Cursor, GitHub Copilot, and Databricks Genie as MCP clients; DataKitchen's published walkthroughs as of October 2026 use Claude and Claude Code.
  • The TestGen MCP server authenticates as the person using it and runs every tool with that person's TestGen role, so an analyst's assistant can read quality scores but cannot delete scorecards.
  • In one DataKitchen session, a single question about data inventory and health returned a quality score of 78.9 and surfaced 30 hygiene issues nobody had tested for.
  • DataKitchen's remediation pattern keeps a human gate: TestGen and Claude propose the exact SQL in a Jira ticket, a person approves it, and a second program applies only approved fixes.

Your assistant can already write SQL. What it can’t do on its own is see your data. It guesses from column names and whatever you pasted into the chat. TestGen’s MCP server closes that gap: the model reads a real profile, real test results, and real history, and it cites the run instead of inventing a plausible one.

What the 96 tools cover

The MCP cheat sheet puts all 96 on one page, grouped by stage. Every tool that writes to TestGen carries an orange dot on the sheet, so your security team can see the read and write boundary before anyone clicks “always allow.”

StageAn example of what to ask (illustrative)
DiscoverWhat data do I have, and how healthy is it?
ProfileProfile this table group and show me what changed since the last run
HygieneWhat’s dragging the score? Show me the rows behind that issue
TestGenerate tests for this table; add a rule that fares are never negative
RunRun the suite and list what failed
MonitorWhich tables are late, short, or reshaped?
ScoreBuild a scorecard for these critical data elements
OperateDismiss the recency issue; it’s historical. Confirm the rest

The Discover, Hygiene, and Operate prompts come from a real session the cheat sheet describes. In it, one question returned an inventory and a quality score of 78.9. The follow-up surfaced 30 hygiene issues nobody had tested for, including a “clean” table still carrying names, emails, zip codes, and income flagged as PII. “Generate tests and run them” came back with 12 failures that matched the hygiene story, and every disposition landed in TestGen with an audit trail.

Which clients, and what “supported” means here

MCP is a standard, so TestGen doesn’t ship one integration per assistant. The product page lists Claude, Claude Code, Cursor, GitHub Copilot, and Databricks Genie. DataKitchen’s published walkthroughs use Claude and Claude Code. The NYC taxi run had Claude Code read a TestGen profile over MCP and write seven business rules. The cheat sheet’s setup steps don’t name a client: point it at the /mcp path on your TestGen host, sign in through your browser, approve the connection, and ask it to list your projects. DataKitchen hasn’t published a Cursor or Copilot walkthrough, so check that your client supports remote MCP servers and read the setup guide.

The server authenticates as you, and every tool runs with your existing TestGen role, so the assistant can do what you can and nothing more. An analyst’s assistant reads scores. It can’t delete scorecards.

Triage first, remediation with a gate

DataKitchen’s advice in While You Slept, an Agent Fixed 14 Data Quality Failures is to start with triage. Let the model explain failures and recommend tests before you give it anything to change. You learn how good its reasoning is on your data at no risk.

When you do let it fix things, keep a human in the loop. The design pattern DataKitchen published in June 2026 splits the job in two. Program one uses TestGen and Claude to find problems and propose exact SQL, filed as a Jira ticket with the affected row counts. A person approves or rejects each fix. Program two applies only the approved ones, in one transaction. The agent writes the SQL well. It can’t decide whether 222 invalid state codes should become NULL or map to real states.

That’s a business call, and it stays yours.

Where the dashboard still wins

Not every job belongs in a chat window. The Stop Clicking, Start Asking webinar argues for three ways of working (the UI, a dialogue, and delegation to an agent) and says the UI still wins for some jobs. Scanning a scorecard you read every morning is faster than asking for it.

An assistant also can’t grade its own homework. It writes the tests and reads the results, and TestGen runs them against real rows. If you want to know what the model writes well and where it stops, can AI write your data quality tests has the numbers from two public datasets.

Frequently asked questions

Short answers to the follow-up questions people ask next.

Which AI assistants can connect to TestGen?

Any client that speaks the Model Context Protocol. DataKitchen's product page lists Claude, Claude Code, Cursor, GitHub Copilot, and Databricks Genie, and an agent you build yourself can call the same server. DataKitchen's own published walkthroughs, as of October 2026, use Claude and Claude Code. If your client supports remote MCP servers, point it at your TestGen host and approve the connection.

What can an AI assistant do in TestGen through MCP?

Nearly everything the UI does. TestGen's 96 MCP tools cover eight stages: discover, profile, hygiene, test, run, monitor, score, and operate. An assistant can create table groups, run profiles, generate and run tests, pull the source rows behind a failure, set dispositions, and manage monitors and scorecards. Each action is recorded in TestGen the same way as work done in the UI.

Can an AI assistant change my data through TestGen?

Not on its own, if you follow DataKitchen's pattern. TestGen and Claude find problems and propose the exact remediation SQL in a Jira ticket with affected row counts, a person approves or rejects it, and a second program applies only what was approved. The SQL is usually right in mechanics. What an agent can't decide is intent, such as whether invalid state codes become NULL.

Is the TestGen MCP server free?

Yes. The MCP server is bundled with open-source TestGen under the Apache 2.0 license, with all 96 tools. Open-source TestGen covers one user, one connection, and one project. TestGen Enterprise lists at $100 per user and $100 per connection per month as of October 2026, and the product page promises no per-seat agent tax in either edition. One MCP option is Enterprise-only: hiding source data values from AI clients.

How long does it take to connect an assistant to TestGen?

About five minutes, per DataKitchen's MCP cheat sheet. Point the MCP client at the /mcp path on your TestGen host, sign in through your browser, and approve the connection; personal access tokens cover clients that need them. Then ask the assistant to list the projects you have access to in TestGen. If your projects come back, the connection works.

Try it on your own data

DataOps TestGen is free and open source. Profile a table and generate its tests this afternoon.