Let GitHub Copilot in VS Code test what it built
Add Testsy to VS Code as an MCP server so Copilot can save a plain-language test, run it on your deployed site or a phone build, and read the verdict before it says done.

Why Copilot should not grade itself#
Copilot can write a feature and its test in one go, from the same understanding of what you asked. If that understanding is wrong, the test checks the wrong thing and passes. A check from outside does not share those assumptions: it opens your deployed app, does what the sentence says, and reports what was on the screen. Over MCP, Copilot can ask Testsy for that check itself.
Connect it#
Create an API key in Settings → API keys in Testsy. Choose the kind that can also create and edit tests if Copilot should save new tests.
Then add the server to VS Code. The quickest way is the command palette: run Chat: Open Customizations, select MCP Servers, choose Add Server, pick HTTP, and enter https://app.testsy.dev/mcp, then add the key as an Authorization: Bearer header as below. To share it with your team, put it in .vscode/mcp.json instead, with the key as a prompted input so it never sits in the file:
{
"inputs": [
{ "type": "promptString", "id": "testsy-key", "description": "Testsy API key", "password": true }
],
"servers": {
"testsy": {
"type": "http",
"url": "https://app.testsy.dev/mcp",
"headers": { "Authorization": "Bearer ${input:testsy-key}" }
}
}
}VS Code asks for the key the first time the server starts and stores it in its secret storage. This follows VS Code's MCP configuration reference. Do not commit a real key or paste it into chat.
What Copilot does with it#
Ask in plain words in the chat: "Check that a new user can sign up and create a project on our staging site." Copilot picks the Testsy tools itself:
list_projects, thenplan_testwith what you asked. Testsy drafts the steps and the checks.- It shows you the plan. Correct it ("the button says Create workspace") and it calls
plan_testagain with the change. create_testsaves the confirmed plan;run_teststarts it and returns a watch link you can open to see the run live.wait_rununtil the verdict is final, then it reads each check, its reason and the value it was decided on.- If a check failed, it fixes the code, you deploy, and it runs the same test again.

The test stays saved in your workspace, so the next change, CI or a teammate can run it again.
Apps too#
For an iPhone or Android app, Copilot can upload the build it just made and run the app's tests on it: find_build to reuse a build already there, otherwise create_build_upload and the shell command it returns. The steps are in the MCP docs.
Keep a person in the loop#
- Review the plan before the first run. Runs can create accounts and change data, so point them at staging with made-up details.
- Leave VS Code's tool approvals on until you trust the flow.
- Read the evidence, not only the verdict. Every result keeps the screen each check was read from, and a fix prompt for anything that failed.
Every run counts toward your plan like any other. The free trial has 10. Get your free 10 tests.
The same setup for other agents: Claude Code, Cursor, Codex, Gemini CLI and the Claude app. Wondering whether Playwright MCP is enough? See Testsy vs Playwright MCP.
Filed underWebAI-built appsCI, schedules and agents