@daghis/teamcity-mcp 1.0.4 → 1.0.6

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,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.6](https://github.com/Daghis/teamcity-mcp/compare/v1.0.5...v1.0.6) (2025-09-14)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * authorize_agent uses authorizedInfo JSON endpoint (TeamCity 2025.07 compatibility) ([#83](https://github.com/Daghis/teamcity-mcp/issues/83)) ([198fd02](https://github.com/Daghis/teamcity-mcp/commit/198fd02ca8b6e89d83f87a1a94aafeadda593504)), closes [#78](https://github.com/Daghis/teamcity-mcp/issues/78)
9
+
10
+ ## [1.0.5](https://github.com/Daghis/teamcity-mcp/compare/v1.0.4...v1.0.5) (2025-09-14)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * delete_parameter: correct endpoint + arg order ([#84](https://github.com/Daghis/teamcity-mcp/issues/84)) ([9832821](https://github.com/Daghis/teamcity-mcp/commit/9832821e65fd945ec5ff0da2b85f744f413e7782))
16
+
3
17
  ## [1.0.4](https://github.com/Daghis/teamcity-mcp/compare/v1.0.3...v1.0.4) (2025-09-12)
4
18
 
5
19
 
package/README.md CHANGED
@@ -5,11 +5,11 @@
5
5
  [![codecov](https://codecov.io/gh/Daghis/teamcity-mcp/branch/main/graph/badge.svg)](https://codecov.io/gh/Daghis/teamcity-mcp)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
7
7
 
8
- A Model Control Protocol (MCP) server that bridges AI coding assistants with JetBrains TeamCity CI/CD server, enabling natural language control of builds, tests, and deployments.
8
+ A Model Control Protocol (MCP) server that bridges AI coding assistants with JetBrains TeamCity CI/CD server, exposing TeamCity operations as MCP tools.
9
9
 
10
10
  ## Overview
11
11
 
12
- The TeamCity MCP Server allows developers using AI-powered coding assistants (Claude Code, Cursor, Windsurf) to interact with TeamCity directly from their development environment using natural language commands.
12
+ The TeamCity MCP Server allows developers using AI-powered coding assistants (Claude Code, Cursor, Windsurf) to interact with TeamCity directly from their development environment via MCP tools.
13
13
 
14
14
  ## Features
15
15
 
@@ -18,7 +18,7 @@ The TeamCity MCP Server allows developers using AI-powered coding assistants (Cl
18
18
  - **Dev Mode**: Safe CI/CD operations
19
19
  - Trigger builds
20
20
  - Monitor build status and progress
21
- - Fetch and analyze build logs
21
+ - Fetch build logs
22
22
  - Investigate test failures
23
23
  - List projects and configurations
24
24
 
@@ -32,13 +32,11 @@ The TeamCity MCP Server allows developers using AI-powered coding assistants (Cl
32
32
 
33
33
  ### 🎯 Key Capabilities
34
34
 
35
- - **Natural Language Control**: Execute CI/CD tasks using conversational commands
36
- - **Intelligent Analysis**: Automatic test failure summarization and build problem identification
37
- - **Real-time Monitoring**: Live build status updates via WebSocket/SSE
38
- - **Enterprise Security**: Token-based authentication with audit logging
39
- - **Modern Architecture**: Simple, direct implementation with singleton pattern
40
- - **Performance Optimized**: Fast startup time with minimal overhead
41
- - **Clean Codebase**: Well-organized modules with clear separation of concerns
35
+ - Trigger and monitor builds, fetch logs, and inspect test failures
36
+ - Token-based authentication to TeamCity; sensitive values redacted in logs
37
+ - Modern architecture: simple, direct implementation with a singleton client
38
+ - Performance-conscious: fast startup with minimal overhead
39
+ - Clean codebase with clear module boundaries
42
40
 
43
41
  ## Installation
44
42
 
@@ -73,7 +71,7 @@ Run the MCP server via npx (requires Node 20.x). Set your TeamCity environment v
73
71
  ```bash
74
72
  # One-off run (inline envs)
75
73
  TEAMCITY_URL="https://teamcity.example.com" \
76
- TEAMCITY_TOKEN="tc_<your_token>" \
74
+ TEAMCITY_TOKEN="<your_token>" \
77
75
  MCP_MODE=dev \
78
76
  npx -y @daghis/teamcity-mcp
79
77
 
package/dist/index.js CHANGED
@@ -1140,7 +1140,7 @@ var BuildConfigurationUpdateManager = class {
1140
1140
  if (updates.removeParameters) {
1141
1141
  for (const paramName of updates.removeParameters) {
1142
1142
  try {
1143
- await this.client.buildTypes.deleteBuildParameterOfBuildType(
1143
+ await this.client.buildTypes.deleteBuildParameterOfBuildType_2(
1144
1144
  paramName,
1145
1145
  currentConfig.id
1146
1146
  );
@@ -26835,7 +26835,7 @@ var FULL_MODE_TOOLS = [
26835
26835
  handler: async (args) => {
26836
26836
  const typedArgs = args;
26837
26837
  const api = TeamCityAPI.getInstance();
26838
- await api.buildTypes.deleteBuildParameterOfBuildType(typedArgs.buildTypeId, typedArgs.name);
26838
+ await api.buildTypes.deleteBuildParameterOfBuildType_2(typedArgs.name, typedArgs.buildTypeId);
26839
26839
  return json({
26840
26840
  success: true,
26841
26841
  action: "delete_parameter",
@@ -26898,10 +26898,11 @@ var FULL_MODE_TOOLS = [
26898
26898
  handler: async (args) => {
26899
26899
  const typedArgs = args;
26900
26900
  const api = TeamCityAPI.getInstance();
26901
- await api.agents.setAgentField(
26901
+ await api.agents.setAuthorizedInfo(
26902
26902
  typedArgs.agentId,
26903
- "authorized",
26904
- typedArgs.authorize ? "true" : "false"
26903
+ void 0,
26904
+ { status: Boolean(typedArgs.authorize) },
26905
+ { headers: { "Content-Type": "application/json", Accept: "application/json" } }
26905
26906
  );
26906
26907
  return json({
26907
26908
  success: true,