testit-mcp-server
v0.1.1
Published
MCP server for TestIT (WorkItems, TestRuns, TestPlans)
Maintainers
Readme
TestIT MCP
Production-ready MCP server for TestIT focused on WorkItems, TestRuns, and TestPlans.
Features
- Simple API Key authentication via
PrivateTokenorBearerscheme. - Project-aware tools with optional default project via
TESTIT_PROJECT_ID. - Project resolution by
projectId(UUID) orprojectName. - Support for TestIT v2 API.
stdiotransport for local MCP clients (npxor local build).
Tool Coverage
- Projects: list, search, get, create, update, delete
- Work Items: list, search, get, create, update, delete, history, versions, restore, attachments
- Test Runs: list, get, create, start, stop, delete, results
- Test Results: get, search, create, update
- Test Plans: list, get, create, update, delete
- Shared Steps: list, get (as specialized work items)
- Configurations: list, get, create, update
- Analytics: project analytics, test plan analytics, test run analytics
Authentication
This server uses the TestIT API Key:
- Use your user-generated API Secret Key in
TESTIT_TOKEN. - Server uses
Authorization: PrivateToken {token}by default. - If token starts with
Bearer, it uses it as is.
Environment Variables
TESTIT_URL=https://testit.instance.com/
TESTIT_TOKEN=your-api-token
# Optional default project (UUID):
# TESTIT_PROJECT_ID=550e8400-e29b-41d4-a716-446655440000TESTIT_URLrequiredTESTIT_TOKENrequiredTESTIT_PROJECT_IDoptional
Run Locally
Prerequisites
- Node.js v18+ and npm
Step-by-step
- Clone the repository:
git clone https://github.com/iampopovich/testit-mcp-server.git
cd testit-mcp-server- Install dependencies:
npm install- Create your local environment file from the example and fill required values:
cp .env.example .env- Build the project:
npm run build- Start the MCP server:
npm startMCP Client Setup
{
"mcpServers": {
"testit": {
"command": "npx",
"args": ["-y", "testit-mcp-server"],
"env": {
"TESTIT_URL": "https://{testit-instance-address}",
"TESTIT_TOKEN": "{your-api-token}",
"TESTIT_PROJECT_ID": "{TestIT-project-uuid}"
}
}
}
}