@daghis/teamcity-mcp 2.1.9 → 2.2.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/CHANGELOG.md +15 -0
- package/CLAUDE.md +11 -0
- package/dist/index.js +50 -4
- package/package.json +4 -4
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.2.0](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.1.10...teamcity-mcp-v2.2.0) (2026-02-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add cancel_build tool to dev tools ([091e23d](https://github.com/Daghis/teamcity-mcp/commit/091e23d7d74b12723825dbebca716df536df6cac))
|
|
9
|
+
|
|
10
|
+
## [2.1.10](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.1.9...teamcity-mcp-v2.1.10) (2026-02-12)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* bump axios to ^1.13.5 for CVE-2026-25639 ([3d2a87c](https://github.com/Daghis/teamcity-mcp/commit/3d2a87c39daad7392e5276091bfc9bc3415b48bf))
|
|
16
|
+
* bump axios to ^1.13.5 to address CVE-2026-25639 DoS vulnerability ([ca60f67](https://github.com/Daghis/teamcity-mcp/commit/ca60f67f05d7591d14944fc90ec1a1f474dac7cf))
|
|
17
|
+
|
|
3
18
|
## [2.1.9](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.1.8...teamcity-mcp-v2.1.9) (2026-02-06)
|
|
4
19
|
|
|
5
20
|
|
package/CLAUDE.md
CHANGED
|
@@ -57,3 +57,14 @@ Three parameter sets exist:
|
|
|
57
57
|
- **Build config output parameters**: `/buildTypes/{id}/output-parameters` (no type support)
|
|
58
58
|
|
|
59
59
|
Type support includes: `password`, `text`, `checkbox`, `select` with spec format in `type.rawValue`.
|
|
60
|
+
|
|
61
|
+
## Workflows
|
|
62
|
+
|
|
63
|
+
### "Check-in with GitHub"
|
|
64
|
+
|
|
65
|
+
When Marc says he wants to "check-in with GitHub", run these steps:
|
|
66
|
+
|
|
67
|
+
1. Pull latest pulse stats (via project-pulse MCP, repo: `Daghis/teamcity-mcp`, npm: `@daghis/teamcity-mcp`)
|
|
68
|
+
2. Check new issues
|
|
69
|
+
3. Check new PRs
|
|
70
|
+
4. Check security alerts
|
package/dist/index.js
CHANGED
|
@@ -1207,7 +1207,7 @@ function debug2(message, meta) {
|
|
|
1207
1207
|
// package.json
|
|
1208
1208
|
var package_default = {
|
|
1209
1209
|
name: "@daghis/teamcity-mcp",
|
|
1210
|
-
version: "2.
|
|
1210
|
+
version: "2.2.0",
|
|
1211
1211
|
description: "Model Control Protocol server for TeamCity CI/CD integration with AI coding assistants",
|
|
1212
1212
|
mcpName: "io.github.Daghis/teamcity",
|
|
1213
1213
|
main: "dist/index.js",
|
|
@@ -1272,9 +1272,9 @@ var package_default = {
|
|
|
1272
1272
|
},
|
|
1273
1273
|
dependencies: {
|
|
1274
1274
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
1275
|
-
axios: "^1.13.
|
|
1275
|
+
axios: "^1.13.5",
|
|
1276
1276
|
"axios-retry": "^4.5.0",
|
|
1277
|
-
dotenv: "17.2.
|
|
1277
|
+
dotenv: "17.2.4",
|
|
1278
1278
|
tslib: "^2.8.1",
|
|
1279
1279
|
winston: "^3.11.0",
|
|
1280
1280
|
zod: "^4.3.5"
|
|
@@ -1305,7 +1305,7 @@ var package_default = {
|
|
|
1305
1305
|
typescript: "^5.3.2"
|
|
1306
1306
|
},
|
|
1307
1307
|
overrides: {
|
|
1308
|
-
axios: "^1.13.
|
|
1308
|
+
axios: "^1.13.5",
|
|
1309
1309
|
"body-parser": "^2.2.1",
|
|
1310
1310
|
"glob@>=10.2.0 <10.5.0": "^10.5.0",
|
|
1311
1311
|
hono: "^4.11.7",
|
|
@@ -39488,6 +39488,52 @@ var DEV_TOOLS = [
|
|
|
39488
39488
|
}
|
|
39489
39489
|
// Available in dev and full modes (developer convenience)
|
|
39490
39490
|
},
|
|
39491
|
+
{
|
|
39492
|
+
name: "cancel_build",
|
|
39493
|
+
description: "Cancel or stop a running (or queued) build by ID. Supports an optional comment and requeue flag.",
|
|
39494
|
+
inputSchema: {
|
|
39495
|
+
type: "object",
|
|
39496
|
+
properties: {
|
|
39497
|
+
buildId: { type: "string", description: "Build ID" },
|
|
39498
|
+
comment: { type: "string", description: "Optional cancellation comment" },
|
|
39499
|
+
readdIntoQueue: {
|
|
39500
|
+
type: "boolean",
|
|
39501
|
+
description: "If true, a new identical build will be queued after cancel (running builds only). Defaults to false."
|
|
39502
|
+
}
|
|
39503
|
+
},
|
|
39504
|
+
required: ["buildId"]
|
|
39505
|
+
},
|
|
39506
|
+
handler: async (args) => {
|
|
39507
|
+
const schema = import_zod4.z.object({
|
|
39508
|
+
buildId: import_zod4.z.string().min(1),
|
|
39509
|
+
comment: import_zod4.z.string().optional(),
|
|
39510
|
+
readdIntoQueue: import_zod4.z.boolean().optional()
|
|
39511
|
+
});
|
|
39512
|
+
return runTool(
|
|
39513
|
+
"cancel_build",
|
|
39514
|
+
schema,
|
|
39515
|
+
async (typed) => {
|
|
39516
|
+
const adapter = createAdapterFromTeamCityAPI(TeamCityAPI.getInstance());
|
|
39517
|
+
await adapter.modules.builds.cancelBuild(
|
|
39518
|
+
`id:${typed.buildId}`,
|
|
39519
|
+
void 0,
|
|
39520
|
+
{
|
|
39521
|
+
comment: typed.comment ?? "Cancelled via MCP",
|
|
39522
|
+
readdIntoQueue: typed.readdIntoQueue ?? false
|
|
39523
|
+
},
|
|
39524
|
+
{ headers: { "Content-Type": "application/json" } }
|
|
39525
|
+
);
|
|
39526
|
+
return json({
|
|
39527
|
+
success: true,
|
|
39528
|
+
action: "cancel_build",
|
|
39529
|
+
buildId: typed.buildId,
|
|
39530
|
+
comment: typed.comment
|
|
39531
|
+
});
|
|
39532
|
+
},
|
|
39533
|
+
args
|
|
39534
|
+
);
|
|
39535
|
+
}
|
|
39536
|
+
},
|
|
39491
39537
|
{
|
|
39492
39538
|
name: "get_build_status",
|
|
39493
39539
|
description: "Get build status with optional test/problem and queue context details",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daghis/teamcity-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Model Control Protocol server for TeamCity CI/CD integration with AI coding assistants",
|
|
5
5
|
"mcpName": "io.github.Daghis/teamcity",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
68
|
-
"axios": "^1.13.
|
|
68
|
+
"axios": "^1.13.5",
|
|
69
69
|
"axios-retry": "^4.5.0",
|
|
70
|
-
"dotenv": "17.2.
|
|
70
|
+
"dotenv": "17.2.4",
|
|
71
71
|
"tslib": "^2.8.1",
|
|
72
72
|
"winston": "^3.11.0",
|
|
73
73
|
"zod": "^4.3.5"
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"typescript": "^5.3.2"
|
|
99
99
|
},
|
|
100
100
|
"overrides": {
|
|
101
|
-
"axios": "^1.13.
|
|
101
|
+
"axios": "^1.13.5",
|
|
102
102
|
"body-parser": "^2.2.1",
|
|
103
103
|
"glob@>=10.2.0 <10.5.0": "^10.5.0",
|
|
104
104
|
"hono": "^4.11.7",
|
package/server.json
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
9
|
"websiteUrl": "https://github.com/Daghis/teamcity-mcp",
|
|
10
|
-
"version": "2.
|
|
10
|
+
"version": "2.2.0",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
15
15
|
"identifier": "@daghis/teamcity-mcp",
|
|
16
|
-
"version": "2.
|
|
16
|
+
"version": "2.2.0",
|
|
17
17
|
"runtimeHint": "npx",
|
|
18
18
|
"runtimeArguments": [
|
|
19
19
|
{
|