@daghis/teamcity-mcp 2.5.0 → 2.6.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.6.0](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.5.0...teamcity-mcp-v2.6.0) (2026-03-30)
4
+
5
+
6
+ ### Features
7
+
8
+ * add remove_agent tool to delete stale build agents ([#444](https://github.com/Daghis/teamcity-mcp/issues/444)) ([c32824b](https://github.com/Daghis/teamcity-mcp/commit/c32824b8952d862349b3f39d99f1ca2c306f1493)), closes [#439](https://github.com/Daghis/teamcity-mcp/issues/439)
9
+
3
10
  ## [2.5.0](https://github.com/Daghis/teamcity-mcp/compare/teamcity-mcp-v2.4.3...teamcity-mcp-v2.5.0) (2026-03-18)
4
11
 
5
12
 
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.5.0",
1208
+ version: "2.6.0",
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",
@@ -43221,6 +43221,24 @@ var FULL_MODE_TOOLS = [
43221
43221
  },
43222
43222
  mode: "full"
43223
43223
  },
43224
+ {
43225
+ name: "remove_agent",
43226
+ description: "Remove (delete) a build agent from the TeamCity server. Use this to clean up disconnected or ghost agent entries.",
43227
+ inputSchema: {
43228
+ type: "object",
43229
+ properties: {
43230
+ agentId: { type: "string", description: "Agent ID to remove" }
43231
+ },
43232
+ required: ["agentId"]
43233
+ },
43234
+ handler: async (args) => {
43235
+ const typedArgs = args;
43236
+ const adapter = createAdapterFromTeamCityAPI(TeamCityAPI.getInstance());
43237
+ await adapter.modules.agents.deleteAgent(typedArgs.agentId);
43238
+ return json({ success: true, action: "remove_agent", agentId: typedArgs.agentId });
43239
+ },
43240
+ mode: "full"
43241
+ },
43224
43242
  // === Build Step Management ===
43225
43243
  {
43226
43244
  name: "manage_build_steps",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daghis/teamcity-mcp",
3
- "version": "2.5.0",
3
+ "version": "2.6.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",
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.5.0",
10
+ "version": "2.6.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.5.0",
16
+ "version": "2.6.0",
17
17
  "runtimeHint": "npx",
18
18
  "runtimeArguments": [
19
19
  {