@daghis/teamcity-mcp 0.2.1 → 0.9.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.
Files changed (2) hide show
  1. package/README.md +19 -2
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -66,10 +66,27 @@ cp .env.example .env
66
66
  npm run dev
67
67
  ```
68
68
 
69
- ### npm Package (Coming Soon)
69
+ ### npm Package
70
+
71
+ Run the MCP server via npx (requires Node 20.x). Set your TeamCity environment variables inline or via a `.env` in the working directory.
72
+
73
+ ```bash
74
+ # One-off run (inline envs)
75
+ TEAMCITY_URL="https://teamcity.example.com" \
76
+ TEAMCITY_TOKEN="tc_<your_token>" \
77
+ MCP_MODE=dev \
78
+ npx -y @daghis/teamcity-mcp
79
+
80
+ # Or rely on .env in the current directory
81
+ npx -y @daghis/teamcity-mcp
82
+ ```
83
+
84
+ Register with Claude Code’s MCP (user scope):
70
85
 
71
86
  ```bash
72
- npx @daghis/teamcity-mcp --mode=dev
87
+ claude mcp add teamcity -s user \
88
+ -- env TEAMCITY_URL="https://teamcity.example.com" TEAMCITY_TOKEN="tc_<your_token>" MCP_MODE=dev \
89
+ npx -y @daghis/teamcity-mcp
73
90
  ```
74
91
 
75
92
  ## Configuration
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@daghis/teamcity-mcp",
3
- "version": "0.2.1",
3
+ "version": "0.9.0",
4
4
  "description": "Model Control Protocol server for TeamCity CI/CD integration with AI coding assistants",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
+ "bin": {
8
+ "teamcity-mcp": "dist/index.js"
9
+ },
7
10
  "engines": {
8
11
  "node": ">=20.10.0 <21"
9
12
  },