Testiny MCP Server
The Testiny MCP (Model Context Protocol) Server enables AI tools like Claude (Code, Desktop), VS Code with Copilot, and other MCP-compatible applications to interact directly with your Testiny project data. This allows AI assistants to create and read test cases, create test runs, update test results, and manage your testing workflow seamlessly.
Why use Testiny with AI assistants?
The Testiny MCP Server lets AI assistants work directly with your test management data. Instead of manually searching for test cases, creating runs, or updating results, you can describe what you want in natural language and let your AI assistant perform the work.
Connect Testiny to Claude, ChatGPT, GitHub Copilot, Cursor, or any MCP-compatible client to:
- Create and organize test cases
- Search and analyze existing test repositories
- Generate new tests from requirements or user stories
- Create and manage test runs
- Execute tests and update results
- Track testing progress across projects
Setup
To use the Testiny MCP server, you'll need to configure it with your Testiny credentials and add it to your AI tool's MCP configuration.
Prerequisites
- A Testiny account with API access
- A Testiny paid or trial plan
- An optional API key from your Testiny API Keys settings
- If no API key is used, the Authorization header is not needed and OAuth will be used instead
Configuration Examples
Here are examples of how to configure the MCP server with specific clients. You can use the MCP server with any MCP compatible client (protocol '2025-06-18').
- VS Code with Copilot
- Claude (Desktop)
- Claude (Code)
- ChatGPT
Configure the Testiny MCP server in your VS Code settings mcp.json or workspace configuration:
{
"servers": {
"testiny": {
"url": "https://app.testiny.io/api/v1/mcp-server",
"type": "http",
"headers": {
"Authorization": "Bearer your-api-key-here"
}
}
}
}
Add the Testiny MCP Server as a custom connector to Claude and connect via OAuth using Url https://app.testiny.io/api/v1/mcp-server:

Add the Testiny MCP Server as a remote HTTP server using the claude mcp add command:
claude mcp add --transport http testiny https://app.testiny.io/api/v1/mcp-server
To authenticate, run the /mcp command inside Claude Code and select testiny to start the OAuth login flow in your browser. Once connected, the Testiny tools become available in your session.
Alternatively, you can authenticate with an API key by passing an Authorization header:
claude mcp add --transport http testiny https://app.testiny.io/api/v1/mcp-server --header "Authorization: Bearer your-api-key-here"
Open Settings and navigate to Apps. Add the Testiny MCP Server by creating an App and connect via OAuth using MCP Server URL https://app.testiny.io/api/v1/mcp-server:

Treat your API key like a password and keep it secure. The API key inherits the same permissions as the user who created it. Consider creating dedicated API keys with limited project access for MCP server usage.
Available Tools
The Testiny MCP server provides the following tools for AI assistants to interact with your Testiny data:
Project Management
listProjects- Retrieve all accessible Testiny projectslistTestCaseFolders- Browse test case folder structure within projectslistTestCases- Get test cases with optional keyword filteringlistTestRuns- Get test runs with optional keyword filtering
Test Cases & Folders
createFolder- Create a folder with a title, and optionally a description and parent foldereditFolder- Edit the title or description of a foldermoveFolder- Move a folder into other folderscreateTestCase- Create test cases (in a folder) with a precondition, steps, expected results and custom fieldseditTestCase- Edit the title, precondition, steps and custom fieldsmoveTestCases- Move test cases into (other) folders
Test Execution
createTestRun- Create a test run for organizing test executionsetTestResult- Update a test case result (passed, failed, blocked, skipped) in a test runsetTestResultBatch- Update test case results (passed, failed, blocked, skipped) in a test rungetTestStatus- Check current test case status for one or all test cases within a test runaddTestResultComment- Add a comment to a test result
Troubleshooting
If you encounter issues with the MCP server:
- Verify API Key: When using an API key, ensure your API key is valid and has appropriate permissions
- Ensure OAuth enabled: Ensure that OAuth is enabled in your Testiny organization settings
- MCP feature available: Make sure you have a paid Testiny plan or are in the trial phase
- Check Base URL: Confirm the base URL matches your Testiny instance (Cloud vs Server)
- Project Access: Verify the API key's user has access to the projects you're trying to access
For additional support or feature requests, please contact our support team as explained here.
Use Cases
Test Cases as Context
Your test repository contains valuable knowledge about how your application works. Test cases often capture business rules, edge cases, validation requirements, and expected behavior that may not exist in specifications or documentation.
With the Testiny MCP Server, AI assistants can use this information as context when helping with development and testing tasks.
For example:
"Generate API tests for the new subscription feature based on our existing billing test cases."
An AI assistant can:
- Search related billing and subscription test cases
- Identify existing patterns and business rules
- Generate consistent new test cases
- Create them directly in Testiny
Faster Test Planning
When new requirements arrive, AI assistants can help identify what needs testing. You can also connect with other MCP servers (for example, Jira MCP or GitLab MCP) to leverage project information, requirements, issues and merge requests.
Example prompt:
"Review these requirements and suggest missing test cases based on our current regression suite."
The assistant can compare requirements against existing test coverage and propose additional test cases or exploratory testing ideas.
Streamlined Test Execution
AI assistants can also help manage execution activities.
Example prompt:
"Create a regression test run for Sprint 24 and mark all authentication tests as passed."
The assistant can locate the appropriate project, create the test run, and update results through the MCP tools.
Example Workflows
Generate Test Cases from Requirements
When new functionality is introduced, AI assistants can transform requirements into structured test cases and create the test cases directly in Testiny.
"Create test cases for password reset functionality in the Web Application project."
"Review the requirements TNY-123, TNY-124 and TNY-125 and create test cases in project Web Application."
Use specific prompts, e.g. define the Testiny project you're working in.
Analyze Test Coverage & Investigate Failed Tests
Understanding what is tested, what might be missing, and where failures occur is critical for maintaining quality. AI assistants can analyze your test repository and execution results to provide quick insights.
"Show me all test cases related to checkout and identify potential coverage gaps."
"Show me all failed tests from test run 'Release v1.25.0' from project 'Demo' and summarize the affected areas."
Assisted Test Automation Integration
You can ask your AI assistant to help automate test result reporting:
"Mark all smoke tests in today's regression run as passed and add a summary comment."
or
"Create a new test run called 'Sprint 24 Regression Tests' in the Mobile App project and execute the test case TC-123"
The AI assistant will:
- Find the Mobile App project using
listProjects - Create the test run using
createTestRun - Try to execute the steps in the specified test case
- Update the test result using
setTestResult - Add comments using
addTestResultComment
Always include enough context information for the assistant to be able to use e.g. a browser MCP server with URLs and test logins.
By combining Testiny's test management capabilities with AI assistants, teams can spend less time on repetitive administration and more time improving test quality.
Code Generation Example
Generate test automation code based on your Testiny test cases:
"Generate Selenium WebDriver test code for test case TC-456 in Java."
The AI assistant will:
- Retrieve the test case details using
listTestCases - Analyze the test steps and expected results
- Generate appropriate automation code
- Suggest how to integrate with your test reporting using
setTestResult
Include information about specific libraries, code style and existing test structure like page objects in your prompt.
Related Documentation
- API Quickstart Guide - Learn about the underlying REST API
- API Keys Management - How to create and manage API keys
- Test Automation - Integrate with CI/CD pipelines
- CLI Tool - Alternative command-line interface for automation