• RUNS
  • INSTANCES
  • TESTS
  • HUMAN

How to create test runs and instances with your AI

Connect PractiTest to your AI client once. From then on, you can feed JSON payloads to your agent to build out your testing environment.

Ask AI about this page

Short answer

How can I use my AI to set up test runs and instances?

You provide your agent with a JSON object containing your test data. It uses the PractiTest MCP to build the runs, instances, and tests you need. You'll see these objects appear in your PractiTest dashboard immediately.

Where your data goes.

The outcomes of your request.

Your agent maps your JSON input to specific objects in PractiTest.

RUNS

New test runs

The AI creates execution cycles based on your JSON. You get a fresh run ready for your team.

INSTANCES

Test instances

Your agent builds specific instances for each test. These are ready for immediate execution.

TESTS

New test cases

The AI can add new test definitions to your repository. This populates your test suite automatically.

HUMAN

Manual execution

The AI stops once the data is in the system. You still need to log in to PractiTest to run the tests.

The workflow

What your AI does when the JSON arrives.

Your agent handles the data mapping and tool calls so you don't have to type manually.

  1. Parse input

    Your agent reads the JSON you provide to extract test names, run IDs, and instance details.

    create_run
  2. Create runs

    The AI uses the provided data to initialize a new test run in the system.

    create_run
  3. Generate instances

    The agent creates the specific test instances required for the run you just built.

    create_instance
  4. Add tests

    If your JSON includes new test definitions, the AI adds them to your repository.

    create_test

Try it

Copy these to start.

Use these prompts to trigger the creation process.

Starting points

Replace the bracketed text with your actual JSON data or specific test names.

PractiTest Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_aImDfxsnDktkH2b8NuISoxnqQMdLW9rlwg57urZq/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — PractiTest capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "practitest-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_aImDfxsnDktkH2b8NuISoxnqQMdLW9rlwg57urZq/mcp"
    }
  }
}
Copy into chat04
  • Create a new test run in PractiTest using this JSON: [paste JSON here]

  • Use this data to create a new test instance: [paste JSON here]

  • Add these new tests to PractiTest from this JSON: [paste JSON here]

  • Set up a test run and its instances using this JSON: [paste JSON here]

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect PractiTest once, then ask.

Connect your account with one click. Your credentials stay encrypted on our side, and you can start using the tools in your favorite AI client immediately.

Connect PractiTest to your AI

FAQ

How this task behaves.

  • 01

    Can the AI delete my existing test runs?

    No. The tools only allow for creating new runs, instances, and tests.

  • 02

    Does the AI run the tests after creating them?

    No. The AI only handles the setup. You must log in to PractiTest to execute the tests.

  • 03

    Can I use this to update existing test cases?

    No. The current tools are limited to creating new objects, not modifying existing ones.

  • 04

    Do I have to manually enter data into PractiTest?

    No. Once you provide the JSON to your agent, it handles the entry for you.

  • 05

    Can I use this with Cursor or VS Code?

    Yes. Any MCP-compatible client will work once you connect the PractiTest MCP.

  • More questions about PractiTest? The Connector page answers them. See everything the PractiTest Connector can do

Connect PractiTest to Claude, Cursor, ChatGPT & more