Connect Claude Code to your TestCollab projects. Create, list, filter, and update test cases directly from your terminal without switching to the browser.
First, add the TestCollab marketplace to Claude Code:
/plugin marketplace add TCSoftInc/testcollab-claude-pluginThen install the plugin:
/plugin install testcollab@testcollab-claude-pluginAfter installing, configure your API token:
- Go to your TestCollab profile and generate an API token
- Open your Claude Code settings file at
~/.claude/settings.jsonand add the token under the plugin's environment:
{
"env": {
"TC_API_TOKEN": "your-api-token-here",
"TC_DEFAULT_PROJECT": "12"
}
}TC_API_TOKEN(required) - your API token from step 1TC_DEFAULT_PROJECT(optional) - your project ID, so you don't have to specify it on every command. You can find this in your TestCollab project URL.
If your TestCollab account is hosted in the EU region, add TC_API_URL to point to the EU API server:
{
"env": {
"TC_API_TOKEN": "your-api-token-here",
"TC_DEFAULT_PROJECT": "12",
"TC_API_URL": "https://api-eu.testcollab.io"
}
}US region users don't need to set this - it defaults to https://api.testcollab.io.
| Tool | Description |
|---|---|
get_project_context |
Fetch project metadata - suites, tags, custom fields, requirements |
list_test_cases |
List test cases with advanced filtering, sorting, and pagination |
create_test_case |
Create a new test case with steps, tags, and custom fields |
update_test_case |
Update an existing test case (partial updates supported) |
Create test cases while coding: Ask Claude to generate test cases for the feature you're implementing. It will create them directly in TestCollab with proper steps, priorities, and suite assignments.
Check test coverage before a PR: Ask Claude to list test cases for a specific suite or requirement to verify coverage before submitting your changes.
Update tests after refactoring: After changing code, ask Claude to update the related test cases to reflect the new behavior.
| Variable | Required | Description |
|---|---|---|
TC_API_TOKEN |
Yes | API token from your TestCollab profile |
TC_DEFAULT_PROJECT |
No | Default project ID (avoids specifying it each time) |