Testkube MCP Server
Check out https://testkube.io/blog/building-ai-assisted-test-workflows-testkube-mcp-github-copilot for a complete example on AI-driven remediation using the Testkube MCP Server with Github and Vs-Code.
Overview
The Testkube MCP Server brings Testkube's test orchestration capabilities directly into your development environment and AI-powered workflows, enabling AI assistants and runners to interact directly with your Testkube workflows, executions, and artifacts.
More specifically, it allows you and your AI agents to:
- Execute and Monitor Test Workflows: Run workflows, check execution status, and retrieve results
- Analyze Test Results: Access execution logs, artifacts, and failure details
- Navigate Test History: Search through past executions and analyze trends
- Create and Manage Test Resources: List workflows, view configurations, create workflows and access metadata
Model Context Protocol (MCP) is an open standard that enables AI assistants to connect with external systems and data sources.
The MCP Server gives your runner access to Testkube. To also teach a runner how to use Testkube — discovering tests in a repository, authoring valid TestWorkflow YAML, diagnosing failed executions — install the Testkube Agent Skills. The two work well together.
When used with agentic AI tools like GitHub Copilot with Claude Sonnet 4 in VS Code or Cursor, the Testkube MCP enables:
- Multi-step Problem Solving: AI agents can run multiple tools in sequence to solve complex testing scenarios.
- Automated Debugging: Runners can analyze failures, examine logs, and suggest fixes.
- Intelligent Test Management: Automated workflow creation, execution, and result analysis.
Getting Started
Choose the setup method that works best for you:
1. Hosted MCP Endpoint (Recommended)
The easiest way to get started - Connect directly to the Testkube Control Plane without any local installation.
- ✅ No installation required
- ✅ OAuth authentication — just log in via browser, no API keys needed
- ✅ Always available
- ✅ Best for remote access and team collaboration
- ✅ Works with Claude Code, VS Code, Cursor, and other MCP clients
Get Started with Hosted Endpoint →
2. Testkube CLI
Run the MCP Server locally using the Testkube CLI for full control and local development.
- 🔧 Full control over the MCP server process
- 🔧 Best for local development
- 🔧 Supports stdio and shttp transports
- 🔧 Works with all MCP-compatible tools
3. Docker Container
Run the MCP Server in a Docker container for containerized deployments.
- 🐳 Container-friendly deployment
- 🐳 Ideal for CI/CD pipelines
- 🐳 Easy to integrate with existing Docker workflows
- 🐳 Supports both stdio and shttp transports
Configuration Examples
Once you've set up the Testkube MCP Server, configure your AI tools:
Available Tools
The MCP Server offers tools for workflows, workflow templates, Runners, executions, artifacts, queries, schemas, Insights metrics and Insights boards. See Testkube MCP Server Tools for the full list.
Example Prompts
Once configured, you can interact with Testkube using natural language:
List my test workflows and their recent execution status
Help me debug my last failed workflow execution
Create a new test workflow for my Python API and run it
Show me test execution trends for the past week and identify failing patterns
Analyze the logs of execution "api-tests-123" and suggest fixes
How has the p95 latency of my k6 tests changed over the last two weeks, and which executions had the worst values?
Create an Insights board with the pass/fail ratio and average duration of my API workflows over the last month
Need Help?
Don't hesitate to reach out to us on Slack if you run into any issues!