@testkase/mcp-server 1.0.1 → 2.0.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.
@@ -0,0 +1,27 @@
1
+ PAT_ENABLED,MCP_IMPLEMENTED,ENDPOINT
2
+ true,true,POST /projects/testcases/create-testcase/{projectId}
3
+ true,true,POST /projects/testcases/create-bulk-testcase/{projectId}
4
+ true,true,GET /projects/testcases/get-testcase/{projectId}
5
+ true,true,GET /projects/testcases/get-testcase-detail/{projectId}/{id}
6
+ true,true,GET /projects/testcases/get-testcase-history/{projectId}/{id}
7
+ true,true,PATCH /projects/testcases/update-field/{projectId}
8
+ true,true,DELETE /projects/testcases/delete-testcase/{projectId}
9
+ true,true,POST /projects/testcases/clone/{projectId}/{id}
10
+ true,true,POST /projects/testcases/teststeps/{projectId}/{testcaseId}
11
+ true,true,DELETE /projects/testcases/teststeps/{testcaseId}
12
+ true,true,GET /projects/testcases/download/{projectId}
13
+ true,true,POST /projects/testcases/import/{projectId}
14
+ true,true,POST /folders/create-folders
15
+ true,true,GET /folders/get-folders
16
+ true,true,DELETE /folders/delete/{id}
17
+ true,true,PATCH /folders/{id}
18
+ true,true,POST /projects/labels/create/{projectId}
19
+ true,true,GET /projects/labels/get-label/{projectId}
20
+ true,true,GET /user/my-projects
21
+ true,true,GET /auth/me
22
+ true,true,GET /my-organization
23
+ true,true,GET /{organization_id}/{project_id}/{integration_type}/testcases/{testcase_id}/issues
24
+ true,true,GET /{project_id}/{integration_type}/issues/search
25
+ true,true,POST /{organization_id}/{project_id}/{testcase_id}/{integration_type}/issues/map
26
+ true,true,GET /{project_id}/testcases/generate
27
+ true,true,POST /projects/issues/create-issues/{projectId}
package/README.md CHANGED
@@ -3,8 +3,6 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@testkase/mcp-server.svg)](https://www.npmjs.com/package/@testkase/mcp-server)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- > ⚠️ **TEST MODE**: This package is currently in testing phase and connects to the TestKase QA environment.
7
-
8
6
  Model Context Protocol (MCP) server for TestKase API. Enables AI agents like Claude Desktop and GitHub Copilot to interact with your TestKase testcase management system.
9
7
 
10
8
  ## Features
@@ -34,7 +32,7 @@ npm install @testkase/mcp-server
34
32
 
35
33
  ### 1. Get Your PAT Token
36
34
 
37
- 1. Log in to [TestKase QA](https://qa.testkase.com)
35
+ 1. Log in to [TestKase](https://apiqa.testkase.com)
38
36
  2. Navigate to **Settings → Personal Access Tokens**
39
37
  3. Click **"Generate New Token"**
40
38
  4. Copy the token (starts with `xyz_`)
@@ -95,23 +93,47 @@ Ask your AI agent:
95
93
  - "Show high priority testcases from project ABC-123"
96
94
  - "Find testcases containing 'login' in project XYZ-456"
97
95
 
98
- ## Available Tools
99
-
100
- ### `get_testcases`
101
-
102
- Retrieve testcases from a project with optional filters and pagination.
103
-
104
- **Parameters:**
105
- - `projectId` (required): Project UUID
106
- - `organizationId` (required): Organization ID
107
- - `page`: Page number (default: 1)
108
- - `limit`: Items per page (default: 20)
109
- - `search`: Search term
110
- - `searchType`: `"normal"` or `"ai_search"`
111
- - `filters`: JSON string with filters
112
- - `sortBy`: Field to sort by
113
- - `sortOrder`: `"asc"` or `"desc"`
114
- - And more...
96
+ ## Available Tools (26 Total)
97
+
98
+ ### Testcases (12 tools)
99
+ - **`get_testcases`** - Retrieve testcases with filtering, pagination, and search
100
+ - **`get_testcase_detail`** - Get detailed information about a specific testcase
101
+ - **`get_testcase_history`** - View complete change history of a testcase
102
+ - **`create_testcase`** - Create a new testcase with optional test steps
103
+ - **`create_bulk_testcase`** - Create multiple testcases at once
104
+ - **`update_testcase_field`** - Update specific fields for one or multiple testcases
105
+ - **`delete_testcase`** - Delete single or multiple testcases
106
+ - **`clone_testcase`** - Clone an existing testcase with all its steps
107
+ - **`create_test_step`** - Create or update test steps for a testcase
108
+ - **`delete_test_step`** - Delete test steps from a testcase
109
+ - **`download_testcases`** - Download testcases as CSV file
110
+ - **`import_testcases`** - Import testcases from CSV file
111
+
112
+ ### Folders (4 tools)
113
+ - **`get_folders`** - Get folder/section structure of a project
114
+ - **`create_folder`** - Create a new folder in a project
115
+ - **`delete_folder`** - Delete a folder and its subfolders
116
+ - **`update_folder`** - Rename or update folder details
117
+
118
+ ### Labels (2 tools)
119
+ - **`get_labels`** - Get all labels/tags available in a project
120
+ - **`create_label`** - Create new labels for a project
121
+
122
+ ### Projects (1 tool)
123
+ - **`get_my_projects`** - Get all projects the user has access to
124
+
125
+ ### Auth & Organization (2 tools)
126
+ - **`get_user_profile`** - Get current logged-in user profile information
127
+ - **`get_organization`** - Get current user organization details
128
+
129
+ ### Integration (3 tools)
130
+ - **`get_mapped_issues`** - Get mapped issues for a specific testcase
131
+ - **`search_issues`** - Search issues from integrated platforms (Jira, GitHub, GitLab)
132
+ - **`map_issues`** - Map integration issues to a TestKase requirement/defect
133
+
134
+ ### AI & Issues (2 tools)
135
+ - **`generate_testcases`** - Generate testcases using AI from requirement text
136
+ - **`create_issue`** - Create or update a requirement or defect issue
115
137
 
116
138
  ## Configuration
117
139
 
@@ -120,28 +142,51 @@ Retrieve testcases from a project with optional filters and pagination.
120
142
  - **`TESTKASE_API_BASE_URL`**: API base URL (default: `https://apiqa.testkase.com`)
121
143
  - **`TESTKASE_PAT_TOKEN`**: Your Personal Access Token (required)
122
144
 
123
- > **Note**: This package is configured for the TestKase QA environment. The API base URL is pre-configured and should not be changed unless instructed by TestKase support.
145
+ ### Using with Different Environments
146
+
147
+ **Production:**
148
+ ```json
149
+ "env": {
150
+ "TESTKASE_API_BASE_URL": "https://api.testkase.com",
151
+ "TESTKASE_PAT_TOKEN": "xyz_your_token"
152
+ }
153
+ ```
154
+
155
+ **Local Development:**
156
+ ```json
157
+ "env": {
158
+ "TESTKASE_API_BASE_URL": "http://localhost:8080",
159
+ "TESTKASE_PAT_TOKEN": "xyz_your_token"
160
+ }
161
+ ```
124
162
 
125
163
  ## Usage Examples
126
164
 
127
- ### Basic Query
165
+ ### Basic Queries
128
166
  ```
129
167
  "Show me testcases for project PRJ-1030 organization 1171"
168
+ "Get high priority active testcases from project PRJ-1030 org 1171"
169
+ "Find testcases about 'authentication' in project PRJ-1030 org 1171"
170
+ "Show testcases updated this week in project PRJ-1030 org 1171"
130
171
  ```
131
172
 
132
- ### Filtered Query
173
+ ### Detailed Information
133
174
  ```
134
- "Get high priority active testcases from project PRJ-1030 org 1171"
175
+ "Get detailed information about testcase TC-123 in project PRJ-1030 org 1171"
176
+ "Show me the history of changes for testcase TC-456 in project PRJ-1030 org 1171"
135
177
  ```
136
178
 
137
- ### Search Query
179
+ ### Project Organization
138
180
  ```
139
- "Find testcases about 'authentication' in project PRJ-1030 org 1171"
181
+ "Show me all folders in project PRJ-1030 org 1171"
182
+ "List all labels available in project PRJ-1030 org 1171"
183
+ "Get all issues/defects for project PRJ-1030 org 1171"
140
184
  ```
141
185
 
142
- ### Date Range
186
+ ### User Projects
143
187
  ```
144
- "Show testcases updated this week in project PRJ-1030 org 1171"
188
+ "Show me all my projects"
189
+ "List all projects I have access to"
145
190
  ```
146
191
 
147
192
  ## Troubleshooting
@@ -168,8 +213,6 @@ Retrieve testcases from a project with optional filters and pagination.
168
213
 
169
214
  ## Support
170
215
 
171
- > **Note**: This is a test version connecting to the QA environment at `https://apiqa.testkase.com`
172
-
173
216
  - 📧 Email: support@testkase.com
174
217
  - 🌐 Website: [testkase.com](https://testkase.com)
175
218
 
@@ -186,6 +229,23 @@ MIT © TestKase
186
229
 
187
230
  ## Changelog
188
231
 
232
+ ### 1.1.0 (TBD)
233
+ - Added 6 new tools for comprehensive TestKase API access
234
+ - `get_testcase_detail` - Get detailed testcase information
235
+ - `get_testcase_history` - View testcase change history
236
+ - `get_folders` - List project folders/sections
237
+ - `get_labels` - List project labels/tags
238
+ - `get_issues` - List project issues/defects
239
+ - `get_my_projects` - List all accessible projects
240
+ - Improved error handling and validation
241
+ - Added helper functions for common operations
242
+
243
+ ### 1.0.1 (2026-01-30)
244
+ - Updated README with TEST MODE warning
245
+ - Updated PAT token generation URL to qa.testkase.com
246
+ - Removed local development configurations
247
+ - Added QA environment notes
248
+
189
249
  ### 1.0.0 (2026-01-30)
190
250
  - Initial release
191
251
  - Support for `get_testcases` tool