@daghis/teamcity-mcp 2.6.0 → 2.6.2
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 +14 -0
- package/dist/index.js +31 -14
- package/package.json +18 -13
- package/server.json +2 -2
- package/tsconfig.test.json +21 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.6.2](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.6.1...teamcity-mcp-v2.6.2) (2026-04-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **deps:** resolve 7 Dependabot security alerts (hono, undici) ([#453](https://github.com/Daghis/teamcity-mcp/issues/453)) ([e43de4a](https://github.com/Daghis/teamcity-mcp/commit/e43de4ac131477b8fe545ecd3ed8fab365cfd1c6))
|
|
9
|
+
|
|
10
|
+
## [2.6.1](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.6.0...teamcity-mcp-v2.6.1) (2026-04-10)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **deps:** upgrade axios to 1.15.0 to fix CVE-2025-62718 SSRF ([#451](https://github.com/Daghis/teamcity-mcp/issues/451)) ([f9068c7](https://github.com/Daghis/teamcity-mcp/commit/f9068c7a4e5515474c3a75d10763cbca8f66fd49))
|
|
16
|
+
|
|
3
17
|
## [2.6.0](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.5.0...teamcity-mcp-v2.6.0) (2026-03-30)
|
|
4
18
|
|
|
5
19
|
|
package/dist/index.js
CHANGED
|
@@ -1205,7 +1205,7 @@ function debug2(message, meta) {
|
|
|
1205
1205
|
// package.json
|
|
1206
1206
|
var package_default = {
|
|
1207
1207
|
name: "@daghis/teamcity-mcp",
|
|
1208
|
-
version: "2.6.
|
|
1208
|
+
version: "2.6.2",
|
|
1209
1209
|
description: "Model Control Protocol server for TeamCity CI/CD integration with AI coding assistants",
|
|
1210
1210
|
mcpName: "io.github.Daghis/teamcity",
|
|
1211
1211
|
main: "dist/index.js",
|
|
@@ -1269,10 +1269,10 @@ var package_default = {
|
|
|
1269
1269
|
url: "https://github.com/Daghis/teamcity-mcp/issues"
|
|
1270
1270
|
},
|
|
1271
1271
|
dependencies: {
|
|
1272
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
1273
|
-
axios: "^1.
|
|
1272
|
+
"@modelcontextprotocol/sdk": "^1.27.0",
|
|
1273
|
+
axios: "^1.15.0",
|
|
1274
1274
|
"axios-retry": "^4.5.0",
|
|
1275
|
-
dotenv: "17.
|
|
1275
|
+
dotenv: "17.4.1",
|
|
1276
1276
|
tslib: "^2.8.1",
|
|
1277
1277
|
winston: "^3.11.0",
|
|
1278
1278
|
zod: "^4.3.5"
|
|
@@ -1285,10 +1285,10 @@ var package_default = {
|
|
|
1285
1285
|
"@types/jest": "^30.0.0",
|
|
1286
1286
|
"@types/js-yaml": "^4.0.9",
|
|
1287
1287
|
"@types/node": "^25.0.2",
|
|
1288
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
1289
|
-
"@typescript-eslint/parser": "^8.
|
|
1290
|
-
esbuild: "^0.
|
|
1291
|
-
eslint: "^10.0
|
|
1288
|
+
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
1289
|
+
"@typescript-eslint/parser": "^8.58.0",
|
|
1290
|
+
esbuild: "^0.28.0",
|
|
1291
|
+
eslint: "^10.1.0",
|
|
1292
1292
|
"eslint-config-prettier": "^10.1.8",
|
|
1293
1293
|
"eslint-plugin-prettier": "^5.0.1",
|
|
1294
1294
|
globals: "^17.4.0",
|
|
@@ -1296,18 +1296,23 @@ var package_default = {
|
|
|
1296
1296
|
"jest-junit": "^16.0.0",
|
|
1297
1297
|
"js-yaml": "^4.1.1",
|
|
1298
1298
|
prettier: "^3.1.0",
|
|
1299
|
-
"ts-jest": "^29.4.
|
|
1299
|
+
"ts-jest": "^29.4.9",
|
|
1300
1300
|
"tsc-alias": "^1.8.8",
|
|
1301
1301
|
"tsconfig-paths": "^4.2.0",
|
|
1302
1302
|
tsx: "^4.6.0",
|
|
1303
|
-
typescript: "^
|
|
1303
|
+
typescript: "^6.0.2"
|
|
1304
1304
|
},
|
|
1305
1305
|
overrides: {
|
|
1306
|
-
|
|
1306
|
+
"@hono/node-server": "^1.19.13",
|
|
1307
|
+
axios: "^1.15.0",
|
|
1307
1308
|
"body-parser": "^2.2.1",
|
|
1308
1309
|
"glob@>=10.2.0 <10.5.0": "^10.5.0",
|
|
1309
|
-
hono: "^4.12.
|
|
1310
|
-
"js-yaml@<4.0.0": "^3.14.2"
|
|
1310
|
+
hono: "^4.12.12",
|
|
1311
|
+
"js-yaml@<4.0.0": "^3.14.2",
|
|
1312
|
+
"lodash-es": "^4.18.0",
|
|
1313
|
+
"picomatch@>=2 <2.3.2": "^2.3.2",
|
|
1314
|
+
"picomatch@>=4 <4.0.4": "^4.0.4",
|
|
1315
|
+
undici: "^6.24.0"
|
|
1311
1316
|
}
|
|
1312
1317
|
};
|
|
1313
1318
|
|
|
@@ -1426,6 +1431,7 @@ var AgentRequirementsManager = class {
|
|
|
1426
1431
|
constructor(client) {
|
|
1427
1432
|
this.client = client;
|
|
1428
1433
|
}
|
|
1434
|
+
client;
|
|
1429
1435
|
async addRequirement(input) {
|
|
1430
1436
|
const { buildTypeId } = input;
|
|
1431
1437
|
const payload = this.buildPayload(void 0, input);
|
|
@@ -2925,6 +2931,7 @@ var BuildDependencyManager = class {
|
|
|
2925
2931
|
constructor(client) {
|
|
2926
2932
|
this.client = client;
|
|
2927
2933
|
}
|
|
2934
|
+
client;
|
|
2928
2935
|
async addDependency(input) {
|
|
2929
2936
|
const { buildTypeId, dependencyType, dependsOn } = input;
|
|
2930
2937
|
if (!dependsOn || dependsOn.trim() === "") {
|
|
@@ -3138,6 +3145,7 @@ var BuildFeatureManager = class {
|
|
|
3138
3145
|
constructor(client) {
|
|
3139
3146
|
this.client = client;
|
|
3140
3147
|
}
|
|
3148
|
+
client;
|
|
3141
3149
|
async addFeature(input) {
|
|
3142
3150
|
const { buildTypeId, type } = input;
|
|
3143
3151
|
if (!type || type.trim() === "") {
|
|
@@ -4253,6 +4261,9 @@ var MCPToolError = class extends Error {
|
|
|
4253
4261
|
this.name = "MCPToolError";
|
|
4254
4262
|
Error.captureStackTrace(this, this.constructor);
|
|
4255
4263
|
}
|
|
4264
|
+
code;
|
|
4265
|
+
statusCode;
|
|
4266
|
+
data;
|
|
4256
4267
|
};
|
|
4257
4268
|
var MCPTeamCityError = class extends MCPToolError {
|
|
4258
4269
|
teamCityCode;
|
|
@@ -4279,6 +4290,7 @@ var MCPRateLimitError = class extends MCPToolError {
|
|
|
4279
4290
|
this.retryAfter = retryAfter2;
|
|
4280
4291
|
this.name = "MCPRateLimitError";
|
|
4281
4292
|
}
|
|
4293
|
+
retryAfter;
|
|
4282
4294
|
};
|
|
4283
4295
|
function formatError(err, context) {
|
|
4284
4296
|
if (err instanceof MCPToolError) {
|
|
@@ -4389,6 +4401,8 @@ var ComponentErrorLogger = class {
|
|
|
4389
4401
|
this.componentName = componentName;
|
|
4390
4402
|
this.errorLogger = errorLogger2;
|
|
4391
4403
|
}
|
|
4404
|
+
componentName;
|
|
4405
|
+
errorLogger;
|
|
4392
4406
|
logError(message, error3, context) {
|
|
4393
4407
|
return this.errorLogger.logError(message, error3, {
|
|
4394
4408
|
...context,
|
|
@@ -4422,6 +4436,7 @@ var GlobalErrorHandler = class _GlobalErrorHandler {
|
|
|
4422
4436
|
...options
|
|
4423
4437
|
};
|
|
4424
4438
|
}
|
|
4439
|
+
options;
|
|
4425
4440
|
static instance;
|
|
4426
4441
|
static getInstance(options) {
|
|
4427
4442
|
_GlobalErrorHandler.instance ??= new _GlobalErrorHandler(options);
|
|
@@ -41225,7 +41240,9 @@ var DEV_TOOLS = [
|
|
|
41225
41240
|
successCount: results.filter((item) => item.success).length,
|
|
41226
41241
|
failureCount: results.filter((item) => !item.success).length
|
|
41227
41242
|
});
|
|
41228
|
-
const failures = results.filter(
|
|
41243
|
+
const failures = results.filter(
|
|
41244
|
+
(item) => !item.success
|
|
41245
|
+
);
|
|
41229
41246
|
if (results.length > 0 && failures.length === results.length) {
|
|
41230
41247
|
const reason = failures.map((item) => `${item.path}: ${item.error ?? "unknown error"}`).join("; ");
|
|
41231
41248
|
throw new Error(`All artifact downloads failed: ${reason}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daghis/teamcity-mcp",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.2",
|
|
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",
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
"url": "https://github.com/Daghis/teamcity-mcp/issues"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
68
|
-
"axios": "^1.
|
|
67
|
+
"@modelcontextprotocol/sdk": "^1.27.0",
|
|
68
|
+
"axios": "^1.15.0",
|
|
69
69
|
"axios-retry": "^4.5.0",
|
|
70
|
-
"dotenv": "17.
|
|
70
|
+
"dotenv": "17.4.1",
|
|
71
71
|
"tslib": "^2.8.1",
|
|
72
72
|
"winston": "^3.11.0",
|
|
73
73
|
"zod": "^4.3.5"
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
"@types/jest": "^30.0.0",
|
|
81
81
|
"@types/js-yaml": "^4.0.9",
|
|
82
82
|
"@types/node": "^25.0.2",
|
|
83
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
84
|
-
"@typescript-eslint/parser": "^8.
|
|
85
|
-
"esbuild": "^0.
|
|
86
|
-
"eslint": "^10.0
|
|
83
|
+
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
84
|
+
"@typescript-eslint/parser": "^8.58.0",
|
|
85
|
+
"esbuild": "^0.28.0",
|
|
86
|
+
"eslint": "^10.1.0",
|
|
87
87
|
"eslint-config-prettier": "^10.1.8",
|
|
88
88
|
"eslint-plugin-prettier": "^5.0.1",
|
|
89
89
|
"globals": "^17.4.0",
|
|
@@ -91,17 +91,22 @@
|
|
|
91
91
|
"jest-junit": "^16.0.0",
|
|
92
92
|
"js-yaml": "^4.1.1",
|
|
93
93
|
"prettier": "^3.1.0",
|
|
94
|
-
"ts-jest": "^29.4.
|
|
94
|
+
"ts-jest": "^29.4.9",
|
|
95
95
|
"tsc-alias": "^1.8.8",
|
|
96
96
|
"tsconfig-paths": "^4.2.0",
|
|
97
97
|
"tsx": "^4.6.0",
|
|
98
|
-
"typescript": "^
|
|
98
|
+
"typescript": "^6.0.2"
|
|
99
99
|
},
|
|
100
100
|
"overrides": {
|
|
101
|
-
"
|
|
101
|
+
"@hono/node-server": "^1.19.13",
|
|
102
|
+
"axios": "^1.15.0",
|
|
102
103
|
"body-parser": "^2.2.1",
|
|
103
104
|
"glob@>=10.2.0 <10.5.0": "^10.5.0",
|
|
104
|
-
"hono": "^4.12.
|
|
105
|
-
"js-yaml@<4.0.0": "^3.14.2"
|
|
105
|
+
"hono": "^4.12.12",
|
|
106
|
+
"js-yaml@<4.0.0": "^3.14.2",
|
|
107
|
+
"lodash-es": "^4.18.0",
|
|
108
|
+
"picomatch@>=2 <2.3.2": "^2.3.2",
|
|
109
|
+
"picomatch@>=4 <4.0.4": "^4.0.4",
|
|
110
|
+
"undici": "^6.24.0"
|
|
106
111
|
}
|
|
107
112
|
}
|
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.6.
|
|
10
|
+
"version": "2.6.2",
|
|
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.6.
|
|
16
|
+
"version": "2.6.2",
|
|
17
17
|
"runtimeHint": "npx",
|
|
18
18
|
"runtimeArguments": [
|
|
19
19
|
{
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"esModuleInterop": true,
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"strict": false,
|
|
7
|
+
"noImplicitAny": false,
|
|
8
|
+
"strictNullChecks": false,
|
|
9
|
+
"strictFunctionTypes": false,
|
|
10
|
+
"strictBindCallApply": false,
|
|
11
|
+
"strictPropertyInitialization": false,
|
|
12
|
+
"noImplicitThis": false,
|
|
13
|
+
"useUnknownInCatchVariables": false,
|
|
14
|
+
"noUnusedLocals": false,
|
|
15
|
+
"noUnusedParameters": false,
|
|
16
|
+
"noImplicitReturns": false,
|
|
17
|
+
"noUncheckedIndexedAccess": false,
|
|
18
|
+
"noImplicitOverride": false,
|
|
19
|
+
"types": ["jest", "node"]
|
|
20
|
+
}
|
|
21
|
+
}
|