@uarlouski/testrail-mcp-server 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -65
- package/dist/client/testrail.js +3 -0
- package/dist/index.js +4 -2
- package/dist/tools/cases/get_case.js +2 -2
- package/dist/tools/cases/get_case_history.js +66 -0
- package/dist/tools/cases/index.js +2 -0
- package/dist/tools/cases/types.js +16 -0
- package/dist/tools/cases/update_case.js +2 -2
- package/dist/tools/registry.js +4 -1
- package/dist/utils/attachment_helper.js +1 -13
- package/dist/utils/sanitizer.js +13 -0
- package/package.json +17 -4
package/README.md
CHANGED
|
@@ -36,6 +36,9 @@ Managing test cases manually is tedious and error-prone. With the **TestRail MCP
|
|
|
36
36
|
|
|
37
37
|
**No context switching. No tedious copy-pasting. Just ask your AI.**
|
|
38
38
|
|
|
39
|
+
> [!NOTE]
|
|
40
|
+
> **Compatibility Baseline**: The primary baseline version this MCP server is tested and validated against is **TestRail 10.6.2** (API v2). Older TestRail instances (including pre-7.x pagination) are also supported via built-in backward compatibility.
|
|
41
|
+
|
|
39
42
|
## ✨ Key Features & Capabilities
|
|
40
43
|
|
|
41
44
|
| Capability | Description |
|
|
@@ -147,6 +150,7 @@ Once configured, turbo-charge your QA workflow by asking your AI assistant:
|
|
|
147
150
|
| `TESTRAIL_USERNAME` | Your TestRail user email address | ✅ | |
|
|
148
151
|
| `TESTRAIL_API_KEY` | Your TestRail API key ([Guide](https://support.testrail.com/hc/en-us/articles/7077039051412-Accessing-the-TestRail-API)) | ✅ | |
|
|
149
152
|
| `TESTRAIL_ENABLE_SHARED_STEPS` | Set to `true` to enable Shared Steps management tools | | `false` |
|
|
153
|
+
| `TESTRAIL_ENABLE_CASE_HISTORY` | Set to `true` to enable Case History and revision tracking tools | | `false` |
|
|
150
154
|
| `TESTRAIL_ALLOW_WRITE_OPERATIONS` | Allow write operations (e.g. adding/updating test cases, test runs, sections) | | `true` |
|
|
151
155
|
| `TESTRAIL_ALLOW_READ_OPERATIONS` | Allow read operations (e.g. retrieving projects, test cases, templates) | | `true` |
|
|
152
156
|
| `TESTRAIL_ALLOW_DELETE_OPERATIONS` | Allow delete operations (e.g. deleting cases or shared steps). Enabled strictly via `true`. | | `false` |
|
|
@@ -164,71 +168,19 @@ To ensure smooth transitions, deprecated tools remain available by default (`TES
|
|
|
164
168
|
|
|
165
169
|
---
|
|
166
170
|
|
|
167
|
-
##
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
| `get_sections` | Navigate the precise folder/section hierarchy of any test suite. |
|
|
181
|
-
| `mutate_suite` | Create a new test suite or update an existing one in TestRail. |
|
|
182
|
-
| `mutate_section` | Create a new section or update an existing section in TestRail. |
|
|
183
|
-
| `get_users` | Retrieve active users. Handles per-project filtering and automatic fallback polling for non-admin accounts. |
|
|
184
|
-
|
|
185
|
-
### 📋 Test Case Management
|
|
186
|
-
| Tool | Functionality |
|
|
187
|
-
|------|-------------|
|
|
188
|
-
| `get_cases` | Query test cases with advanced filtering (priority, template, type, etc.) and pagination. |
|
|
189
|
-
| `get_case` | Fetch complete, structured details of a specific test case, including custom steps and fields. |
|
|
190
|
-
| `add_case` | Seamlessly create a new test case equipped with robust custom field validation. |
|
|
191
|
-
| `update_case` | Modify an existing test case's steps, metadata, or titles. |
|
|
192
|
-
| `update_cases` | Execute bulk-updates on multiple test cases simultaneously to save time. |
|
|
193
|
-
|
|
194
|
-
### ▶️ Test Execution & Tracking
|
|
195
|
-
| Tool | Functionality |
|
|
196
|
-
|------|-------------|
|
|
197
|
-
| `query_run` | Retrieve a single test run (`action: "one"`) or all test runs for a project (`action: "many"`, supporting filters). |
|
|
198
|
-
| `mutate_run` | Create a new test run or update an existing one in TestRail. |
|
|
199
|
-
| `get_tests` | Retrieve individual tests for a specific test run, with optional status filtering. |
|
|
200
|
-
| `get_results` | Retrieve paginated results for a specific test ID. |
|
|
201
|
-
| `add_results` | Submit test results to a test run using the specific `test_id`. |
|
|
202
|
-
| `add_results_for_cases` | Submits results to a run mapping directly to `case_id`s, streamlining automation workflows. |
|
|
203
|
-
|
|
204
|
-
### 📎 Attachments & Media
|
|
205
|
-
| Tool | Functionality |
|
|
206
|
-
|------|-------------|
|
|
207
|
-
| `add_attachment` | Add an attachment (screenshot, log, file, or auto-zipped directory) to a test case or test run (`entity_type: "case" \| "run"`). |
|
|
208
|
-
| `query_attachment` | Download an attachment to a local file (`action: "one"`) or retrieve attachment metadata for a test case or test run (`action: "many"`, supporting `output_file` export). |
|
|
209
|
-
|
|
210
|
-
### 🔗 Shared Steps (Optional)
|
|
211
|
-
| Tool | Functionality |
|
|
212
|
-
|------|-------------|
|
|
213
|
-
| `get_shared_steps` | List shared test steps for a project with optional reference filtering. |
|
|
214
|
-
| `get_shared_step` | Retrieve precise details of a specific shared test step set. |
|
|
215
|
-
| `get_shared_step_history` | View the complete audit trail and version history of a shared step set. |
|
|
216
|
-
| `add_shared_step` | Create a new reusable set of shared test steps. |
|
|
217
|
-
| `update_shared_step` | Modify an existing shared step set (changes propagate to all linked test cases). |
|
|
218
|
-
|
|
219
|
-
### 🗑️ Deletion
|
|
220
|
-
| Tool | Functionality |
|
|
221
|
-
|------|-------------|
|
|
222
|
-
| `delete_entity` | Deletes a specified TestRail entity (supports `"case"`, `"shared_step"`, or `"attachment"`) by its ID. Requires `TESTRAIL_ALLOW_DELETE_OPERATIONS` to be set to `true` in your environment. |
|
|
223
|
-
|
|
224
|
-
### 🧠 System Metadata
|
|
225
|
-
| Tool | Functionality |
|
|
226
|
-
|------|-------------|
|
|
227
|
-
| `get_statuses` | Systematically list all configured test statuses (Passed, Failed, Blocked, Retest, etc.). |
|
|
228
|
-
| `get_priorities` | Retrieve priority levels configured within your instance structure. |
|
|
229
|
-
| `get_case_fields` | Discover custom field definitions, formats, and UI dropdown options. Supports filtering by `project_id`. |
|
|
230
|
-
| `get_templates` | Identify available case templates to mandate correct AI structuring. |
|
|
231
|
-
| `get_configurations` | Retrieve all configuration groups and configurations for a project. |
|
|
171
|
+
## 📚 Documentation & Complete Tool Reference
|
|
172
|
+
|
|
173
|
+
For a comprehensive guide, detailed configuration options, and a complete breakdown of all available tools, please visit our official documentation site:
|
|
174
|
+
|
|
175
|
+
**👉 [TestRail MCP Server Documentation](https://uarlouski.github.io/testrail-mcp-server/)**
|
|
176
|
+
|
|
177
|
+
The documentation includes detailed explanations for:
|
|
178
|
+
- 🔭 **Discovery & Navigation**: Exploring projects, suites, and sections.
|
|
179
|
+
- 📋 **Test Case Management**: Fetching, creating, and bulk-updating test cases.
|
|
180
|
+
- ▶️ **Execution & Tracking**: Managing test runs and submitting test results.
|
|
181
|
+
- 📎 **Attachments**: Automatically zipping and uploading files or directories.
|
|
182
|
+
- 🔗 **Shared Steps**: Managing reusable step definitions.
|
|
183
|
+
|
|
232
184
|
|
|
233
185
|
---
|
|
234
186
|
|
package/dist/client/testrail.js
CHANGED
|
@@ -25,6 +25,9 @@ export class TestRailClient {
|
|
|
25
25
|
async getCase(caseId) {
|
|
26
26
|
return this.get(`${API_BASE_V2}/get_case/${caseId}`);
|
|
27
27
|
}
|
|
28
|
+
async getCaseHistory(caseId) {
|
|
29
|
+
return this.paginateAll(`${API_BASE_V2}/get_history_for_case/${caseId}`, 'history');
|
|
30
|
+
}
|
|
28
31
|
async getCasesRecursively(projectId, sectionId, filter, excludedSectionNames) {
|
|
29
32
|
// Extract suite_id from filter if present, for getSections call
|
|
30
33
|
const suiteId = filter?.suite_id ? parseInt(filter.suite_id) : undefined;
|
package/dist/index.js
CHANGED
|
@@ -11,6 +11,7 @@ const EnvSchema = z.object({
|
|
|
11
11
|
TESTRAIL_USERNAME: z.email('Must be a valid email address'),
|
|
12
12
|
TESTRAIL_API_KEY: z.string().min(1, 'API key is required'),
|
|
13
13
|
TESTRAIL_ENABLE_SHARED_STEPS: z.string().optional().transform(val => val === 'true'),
|
|
14
|
+
TESTRAIL_ENABLE_CASE_HISTORY: z.string().optional().transform(val => val === 'true'),
|
|
14
15
|
TESTRAIL_ALLOW_WRITE_OPERATIONS: z.string().optional().transform(val => val === undefined ? true : val === 'true'),
|
|
15
16
|
TESTRAIL_ALLOW_READ_OPERATIONS: z.string().optional().transform(val => val === undefined ? true : val === 'true'),
|
|
16
17
|
TESTRAIL_ALLOW_DELETE_OPERATIONS: z.string().optional().transform(val => val === 'true'),
|
|
@@ -21,14 +22,15 @@ if (!parseResult.success) {
|
|
|
21
22
|
console.error("Invalid TestRail environment configuration:", JSON.stringify(z.treeifyError(parseResult.error), null, 2));
|
|
22
23
|
process.exit(1);
|
|
23
24
|
}
|
|
24
|
-
const { TESTRAIL_INSTANCE_URL, TESTRAIL_USERNAME, TESTRAIL_API_KEY, TESTRAIL_ENABLE_SHARED_STEPS, TESTRAIL_ALLOW_WRITE_OPERATIONS, TESTRAIL_ALLOW_READ_OPERATIONS, TESTRAIL_ALLOW_DELETE_OPERATIONS, TESTRAIL_ENABLE_DEPRECATED_TOOLS } = parseResult.data;
|
|
25
|
+
const { TESTRAIL_INSTANCE_URL, TESTRAIL_USERNAME, TESTRAIL_API_KEY, TESTRAIL_ENABLE_SHARED_STEPS, TESTRAIL_ENABLE_CASE_HISTORY, TESTRAIL_ALLOW_WRITE_OPERATIONS, TESTRAIL_ALLOW_READ_OPERATIONS, TESTRAIL_ALLOW_DELETE_OPERATIONS, TESTRAIL_ENABLE_DEPRECATED_TOOLS } = parseResult.data;
|
|
25
26
|
const server = new McpServer({
|
|
26
27
|
name: "TestRail MCP Server",
|
|
27
|
-
version: "2.
|
|
28
|
+
version: "2.4.0",
|
|
28
29
|
});
|
|
29
30
|
const client = new TestRailClient(TESTRAIL_INSTANCE_URL, TESTRAIL_USERNAME, TESTRAIL_API_KEY);
|
|
30
31
|
const tools = getToolsToRegister({
|
|
31
32
|
enableSharedSteps: TESTRAIL_ENABLE_SHARED_STEPS,
|
|
33
|
+
enableCaseHistory: TESTRAIL_ENABLE_CASE_HISTORY,
|
|
32
34
|
allowWrite: TESTRAIL_ALLOW_WRITE_OPERATIONS,
|
|
33
35
|
allowRead: TESTRAIL_ALLOW_READ_OPERATIONS,
|
|
34
36
|
allowDelete: TESTRAIL_ALLOW_DELETE_OPERATIONS,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { processCustomFields } from "../../utils/mapper.js";
|
|
3
|
+
import { normalizeEntityId } from "../../utils/sanitizer.js";
|
|
3
4
|
import { LabelSchema } from "../commons/types.js";
|
|
4
5
|
const parameters = {
|
|
5
6
|
case_id: z.string().describe("The ID of the test case (e.g. '123' or 'C123')"),
|
|
@@ -10,8 +11,7 @@ export const getCaseTool = {
|
|
|
10
11
|
description: "Get detailed information about a test case including its custom fields",
|
|
11
12
|
parameters,
|
|
12
13
|
handler: async ({ case_id }, client) => {
|
|
13
|
-
const
|
|
14
|
-
const id = Number(idString);
|
|
14
|
+
const id = normalizeEntityId(case_id);
|
|
15
15
|
const testCase = await client.getCase(id);
|
|
16
16
|
const [section, caseTypes, priorities, caseFields] = await Promise.all([
|
|
17
17
|
client.getSection(Number(testCase.section_id)),
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import fs from "fs";
|
|
3
|
+
import path from "path";
|
|
4
|
+
import { normalizeEntityId } from "../../utils/sanitizer.js";
|
|
5
|
+
import { CaseHistoryEntrySchema } from "./types.js";
|
|
6
|
+
const parameters = {
|
|
7
|
+
case_id: z.string().describe("The ID of the test case (e.g. '123' or 'C123')"),
|
|
8
|
+
limit: z.number().min(1).optional().describe("Maximum number of revisions to return (e.g. 5 for the last 5 revisions)"),
|
|
9
|
+
after_revision: z.number().optional().describe("Filter to only include revisions strictly newer than this revision ID (id > after_revision)"),
|
|
10
|
+
after_timestamp: z.number().optional().describe("Filter to only include revisions created after this unix timestamp (created_on > after_timestamp)"),
|
|
11
|
+
order: z.enum(["desc", "asc"]).optional().default("desc").describe("Sort order for the returned history entries ('desc' for newest-to-oldest, 'asc' for oldest-to-newest). Default is 'desc'"),
|
|
12
|
+
output_file: z.string().optional().describe("Absolute file path to save the JSON response to. Useful for large history change logs to avoid context limits."),
|
|
13
|
+
};
|
|
14
|
+
export const getCaseHistoryTool = {
|
|
15
|
+
name: "get_case_history",
|
|
16
|
+
mode: "read",
|
|
17
|
+
description: "Returns the revision and change history of a test case. Useful for tracking case updates, checking changes since a specific revision or timestamp, or getting the last N revisions.",
|
|
18
|
+
parameters,
|
|
19
|
+
handler: async ({ case_id, limit, after_revision, after_timestamp, order = "desc", output_file }, client) => {
|
|
20
|
+
const id = normalizeEntityId(case_id);
|
|
21
|
+
const allHistory = await client.getCaseHistory(id);
|
|
22
|
+
let latestRevision = null;
|
|
23
|
+
if (allHistory.length > 0) {
|
|
24
|
+
const sortedByRevisionDesc = [...allHistory].sort((a, b) => b.id - a.id);
|
|
25
|
+
latestRevision = sortedByRevisionDesc[0].id;
|
|
26
|
+
}
|
|
27
|
+
let filtered = [...allHistory];
|
|
28
|
+
if (after_revision !== undefined) {
|
|
29
|
+
filtered = filtered.filter(entry => entry.id > after_revision);
|
|
30
|
+
}
|
|
31
|
+
if (after_timestamp !== undefined) {
|
|
32
|
+
filtered = filtered.filter(entry => (entry.created_on ?? 0) > after_timestamp);
|
|
33
|
+
}
|
|
34
|
+
filtered.sort((a, b) => {
|
|
35
|
+
if (order === "asc") {
|
|
36
|
+
return a.id - b.id;
|
|
37
|
+
}
|
|
38
|
+
return b.id - a.id;
|
|
39
|
+
});
|
|
40
|
+
if (limit !== undefined) {
|
|
41
|
+
filtered = filtered.slice(0, limit);
|
|
42
|
+
}
|
|
43
|
+
const parsedHistory = filtered.map(h => CaseHistoryEntrySchema.parse(h));
|
|
44
|
+
const response = {
|
|
45
|
+
case_id: id,
|
|
46
|
+
latest_revision: latestRevision,
|
|
47
|
+
has_changes: parsedHistory.length > 0,
|
|
48
|
+
history: parsedHistory,
|
|
49
|
+
};
|
|
50
|
+
if (output_file) {
|
|
51
|
+
const dir = path.dirname(output_file);
|
|
52
|
+
if (dir && !fs.existsSync(dir)) {
|
|
53
|
+
await fs.promises.mkdir(dir, { recursive: true });
|
|
54
|
+
}
|
|
55
|
+
await fs.promises.writeFile(output_file, JSON.stringify(response, null, 2), "utf-8");
|
|
56
|
+
return {
|
|
57
|
+
success: true,
|
|
58
|
+
message: `Successfully exported ${response.history.length} history records to ${output_file}`,
|
|
59
|
+
file: output_file,
|
|
60
|
+
latest_revision: latestRevision,
|
|
61
|
+
has_changes: response.has_changes,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
return response;
|
|
65
|
+
},
|
|
66
|
+
};
|
|
@@ -4,6 +4,8 @@ import { getCaseFieldsTool } from "./get_case_fields.js";
|
|
|
4
4
|
import { updateCaseTool } from "./update_case.js";
|
|
5
5
|
import { updateCasesTool } from "./update_cases.js";
|
|
6
6
|
import { addCaseTool } from "./add_case.js";
|
|
7
|
+
import { getCaseHistoryTool } from "./get_case_history.js";
|
|
8
|
+
export { getCaseHistoryTool };
|
|
7
9
|
export const casesTools = [
|
|
8
10
|
getCaseTool,
|
|
9
11
|
getCasesTool,
|
|
@@ -38,3 +38,19 @@ export const CaseSchema = z.object({
|
|
|
38
38
|
suite_id: z.number(),
|
|
39
39
|
labels: z.array(LabelSchema),
|
|
40
40
|
}).loose();
|
|
41
|
+
export const CaseHistoryChangeSchema = z.object({
|
|
42
|
+
field: z.string(),
|
|
43
|
+
old_value: z.any().nullable().optional(),
|
|
44
|
+
new_value: z.any().nullable().optional(),
|
|
45
|
+
});
|
|
46
|
+
export const CaseHistoryEntrySchema = z.object({
|
|
47
|
+
id: z.number(),
|
|
48
|
+
created_on: z.number().optional(),
|
|
49
|
+
changes: z.array(CaseHistoryChangeSchema).optional().default([]),
|
|
50
|
+
});
|
|
51
|
+
export const CaseHistoryResponseSchema = z.object({
|
|
52
|
+
case_id: z.number(),
|
|
53
|
+
latest_revision: z.number().nullable(),
|
|
54
|
+
has_changes: z.boolean(),
|
|
55
|
+
history: z.array(CaseHistoryEntrySchema),
|
|
56
|
+
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { validateCaseFields } from "../../utils/validator.js";
|
|
3
|
+
import { normalizeEntityId } from "../../utils/sanitizer.js";
|
|
3
4
|
import { CASE_FIELDS_PARAM_DESCRIPTION } from "./get_case_fields.js";
|
|
4
5
|
const parameters = {
|
|
5
6
|
case_id: z.string().describe("The ID of the test case to update (e.g. '123' or 'C123')"),
|
|
@@ -17,8 +18,7 @@ export const updateCaseTool = {
|
|
|
17
18
|
parameters,
|
|
18
19
|
handler: async ({ case_id, fields }, client) => {
|
|
19
20
|
validateCaseFields(fields, await client.getCaseFields());
|
|
20
|
-
const
|
|
21
|
-
const id = Number(idString);
|
|
21
|
+
const id = normalizeEntityId(case_id);
|
|
22
22
|
const updatedCase = await client.updateCase(id, fields);
|
|
23
23
|
return {
|
|
24
24
|
success: true,
|
package/dist/tools/registry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { casesTools } from "./cases/index.js";
|
|
1
|
+
import { casesTools, getCaseHistoryTool } from "./cases/index.js";
|
|
2
2
|
import { projectsTools } from "./projects/index.js";
|
|
3
3
|
import { suitesTools } from "./suites/index.js";
|
|
4
4
|
import { sectionsTools } from "./sections/index.js";
|
|
@@ -21,6 +21,9 @@ export function getToolsToRegister(config) {
|
|
|
21
21
|
if (config.enableSharedSteps) {
|
|
22
22
|
tools.push(...sharedStepsTools);
|
|
23
23
|
}
|
|
24
|
+
if (config.enableCaseHistory) {
|
|
25
|
+
tools.push(getCaseHistoryTool);
|
|
26
|
+
}
|
|
24
27
|
const allowWrite = config.allowWrite !== false;
|
|
25
28
|
const allowRead = config.allowRead !== false;
|
|
26
29
|
const allowDelete = config.allowDelete === true;
|
|
@@ -2,19 +2,7 @@ import * as fs from "fs";
|
|
|
2
2
|
import * as path from "path";
|
|
3
3
|
import * as os from "os";
|
|
4
4
|
import archiver from "archiver";
|
|
5
|
-
|
|
6
|
-
* Normalizes an entity ID (case ID or run ID).
|
|
7
|
-
* Handles string IDs with 'C' prefixes (e.g. 'C123' -> 123) and numeric IDs.
|
|
8
|
-
*/
|
|
9
|
-
export function normalizeEntityId(id) {
|
|
10
|
-
const idString = typeof id === "string" ? id.trim() : String(id);
|
|
11
|
-
const cleaned = idString.toUpperCase().startsWith("C") ? idString.substring(1) : idString;
|
|
12
|
-
const parsed = Number(cleaned);
|
|
13
|
-
if (isNaN(parsed)) {
|
|
14
|
-
throw new Error(`Invalid entity ID: ${id}`);
|
|
15
|
-
}
|
|
16
|
-
return parsed;
|
|
17
|
-
}
|
|
5
|
+
export { normalizeEntityId } from "./sanitizer.js";
|
|
18
6
|
/**
|
|
19
7
|
* Prepares a file or directory for upload.
|
|
20
8
|
* If the path points to a directory, it will automatically be zipped to a temporary archive.
|
package/dist/utils/sanitizer.js
CHANGED
|
@@ -55,3 +55,16 @@ export function isActive(value) {
|
|
|
55
55
|
const activeFlag = (typeof value === 'object') ? value.is_active : value;
|
|
56
56
|
return activeFlag === 1 || activeFlag === true || activeFlag === '1' || activeFlag === 'true';
|
|
57
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* Normalizes an entity ID (e.g. case ID, run ID, attachment ID).
|
|
60
|
+
* Handles string IDs with 'C' prefixes (e.g. 'C123' -> 123), numeric IDs, and trims whitespace.
|
|
61
|
+
*/
|
|
62
|
+
export function normalizeEntityId(id) {
|
|
63
|
+
const idString = typeof id === "string" ? id.trim() : String(id);
|
|
64
|
+
const cleaned = idString.toUpperCase().startsWith("C") ? idString.substring(1) : idString;
|
|
65
|
+
const parsed = Number(cleaned);
|
|
66
|
+
if (isNaN(parsed)) {
|
|
67
|
+
throw new Error(`Invalid entity ID: ${id}`);
|
|
68
|
+
}
|
|
69
|
+
return parsed;
|
|
70
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uarlouski/testrail-mcp-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"mcpName": "io.github.uarlouski/testrail-mcp-server",
|
|
5
5
|
"description": "Model Context Protocol (MCP) server for TestRail integration, enabling LLMs to fetch test cases and metadata.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -14,13 +14,21 @@
|
|
|
14
14
|
"keywords": [
|
|
15
15
|
"mcp",
|
|
16
16
|
"model-context-protocol",
|
|
17
|
+
"mcp-server",
|
|
17
18
|
"testrail",
|
|
18
19
|
"server",
|
|
19
20
|
"typescript",
|
|
20
21
|
"llm",
|
|
21
22
|
"ai",
|
|
23
|
+
"ai-agents",
|
|
22
24
|
"testing",
|
|
23
|
-
"automation"
|
|
25
|
+
"automation",
|
|
26
|
+
"qa-automation",
|
|
27
|
+
"qa-tools",
|
|
28
|
+
"test-management",
|
|
29
|
+
"claude",
|
|
30
|
+
"cursor",
|
|
31
|
+
"windsurf"
|
|
24
32
|
],
|
|
25
33
|
"author": "Uladzislau Arlouski",
|
|
26
34
|
"repository": {
|
|
@@ -39,6 +47,7 @@
|
|
|
39
47
|
"zod": "^4.4.3"
|
|
40
48
|
},
|
|
41
49
|
"devDependencies": {
|
|
50
|
+
"@jest/globals": "^29.7.0",
|
|
42
51
|
"@types/archiver": "^7.0.0",
|
|
43
52
|
"@types/jest": "^30.0.0",
|
|
44
53
|
"@types/node": "^25.5.0",
|
|
@@ -47,7 +56,8 @@
|
|
|
47
56
|
"ts-jest": "^29.4.6",
|
|
48
57
|
"ts-node": "^10.9.2",
|
|
49
58
|
"typescript": "^5.9.3",
|
|
50
|
-
"
|
|
59
|
+
"vitepress": "^1.6.4",
|
|
60
|
+
"vue": "^3.5.41"
|
|
51
61
|
},
|
|
52
62
|
"devEngines": {
|
|
53
63
|
"packageManager": {
|
|
@@ -61,6 +71,9 @@
|
|
|
61
71
|
"start": "node dist/index.js",
|
|
62
72
|
"dev": "ts-node src/index.ts",
|
|
63
73
|
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
64
|
-
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"
|
|
74
|
+
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
|
|
75
|
+
"docs:dev": "vitepress dev docs",
|
|
76
|
+
"docs:build": "vitepress build docs",
|
|
77
|
+
"docs:preview": "vitepress preview docs"
|
|
65
78
|
}
|
|
66
79
|
}
|