captain-tool 0.0.98 → 0.0.100

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/README.md CHANGED
@@ -55,10 +55,7 @@ Edit `%APPDATA%\Claude\claude_desktop_config.json` (Windows) or `~/Library/Appli
55
55
  {
56
56
  "mcpServers": {
57
57
  "captain": {
58
- "command": "captain-tool",
59
- "env": {
60
- "CAPTAIN_API_URL": "https://app.getcaptain.dev/"
61
- }
58
+ "command": "captain-tool"
62
59
  }
63
60
  }
64
61
  }
@@ -70,10 +67,7 @@ Edit `%APPDATA%\Claude\claude_desktop_config.json` (Windows) or `~/Library/Appli
70
67
  "mcpServers": {
71
68
  "captain": {
72
69
  "command": "cmd",
73
- "args": ["/c", "captain-tool"],
74
- "env": {
75
- "CAPTAIN_API_URL": "https://app.getcaptain.dev/"
76
- }
70
+ "args": ["/c", "captain-tool"]
77
71
  }
78
72
  }
79
73
  }
@@ -103,7 +97,7 @@ claude mcp add captain -- cmd /c captain-tool
103
97
 
104
98
  ### VS Code + Copilot
105
99
 
106
- [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_MCP_Server-0098FF?logo=visualstudiocode)](vscode:mcp/install?%7B%22name%22%3A%22captain%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22captain-tool%22%5D%2C%22env%22%3A%7B%22CAPTAIN_API_URL%22%3A%22https%3A%2F%2Fapp.getcaptain.dev%2F%22%7D%7D)
100
+ [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_MCP_Server-0098FF?logo=visualstudiocode)](vscode:mcp/install?%7B%22name%22%3A%22captain%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22captain-tool%22%5D%7D)
107
101
 
108
102
  Or edit `%APPDATA%\Code\User\mcp.json` (Windows) / `~/.config/Code/User/mcp.json` (Linux) / `~/Library/Application Support/Code/User/mcp.json` (macOS):
109
103
 
@@ -112,10 +106,7 @@ Or edit `%APPDATA%\Code\User\mcp.json` (Windows) / `~/.config/Code/User/mcp.json
112
106
  "servers": {
113
107
  "captain": {
114
108
  "type": "stdio",
115
- "command": "captain-tool",
116
- "env": {
117
- "CAPTAIN_API_URL": "https://app.getcaptain.dev/"
118
- }
109
+ "command": "captain-tool"
119
110
  }
120
111
  }
121
112
  }
@@ -131,10 +122,7 @@ Edit `~/.cursor/mcp.json`:
131
122
  {
132
123
  "mcpServers": {
133
124
  "captain": {
134
- "command": "captain-tool",
135
- "env": {
136
- "CAPTAIN_API_URL": "https://app.getcaptain.dev/"
137
- }
125
+ "command": "captain-tool"
138
126
  }
139
127
  }
140
128
  }
@@ -150,10 +138,7 @@ Edit `~/.codeium/windsurf/mcp_config.json` (macOS/Linux) or `%USERPROFILE%\.code
150
138
  {
151
139
  "mcpServers": {
152
140
  "captain": {
153
- "command": "captain-tool",
154
- "env": {
155
- "CAPTAIN_API_URL": "https://app.getcaptain.dev/"
156
- }
141
+ "command": "captain-tool"
157
142
  }
158
143
  }
159
144
  }
@@ -185,7 +170,7 @@ Show me the deployment history for component comp-xyz.
185
170
 
186
171
  | Variable | Default | Description |
187
172
  |----------|---------|-------------|
188
- | `CAPTAIN_API_URL` | `https://app.getcaptain.dev/` | Captain backend URL |
173
+ | `CAPTAIN_API_BASE_URL` | `https://app.getcaptain.dev` | Captain backend URL. Leave unset to use the default; setting it pins this backend and disables switching |
189
174
  | `CAPTAIN_DB_PATH` | platform default | Local state and auth token |
190
175
  | `CAPTAIN_REQUEST_TIMEOUT_SECONDS` | `30` | HTTP timeout per request |
191
176
 
@@ -23,8 +23,6 @@ const readline = require('readline');
23
23
 
24
24
  // ── Constants ─────────────────────────────────────────────────────────────────
25
25
 
26
- const CAPTAIN_API_URL = 'https://app.getcaptain.dev/';
27
-
28
26
  // The MCP server registration key. This becomes the `mcp__<name>__` tool prefix
29
27
  // the agent sees, so we keep it short: `captain`, not `captain-tool`. The npm
30
28
  // package and binary are still named `captain-tool`; only the registration key
@@ -200,9 +198,6 @@ function buildEntryFormatA(binaryPath) {
200
198
  return {
201
199
  command,
202
200
  args,
203
- env: {
204
- CAPTAIN_API_URL,
205
- },
206
201
  };
207
202
  }
208
203
 
@@ -218,9 +213,6 @@ function buildEntryFormatB(binaryPath) {
218
213
  type: 'stdio',
219
214
  command,
220
215
  args,
221
- env: {
222
- CAPTAIN_API_URL,
223
- },
224
216
  };
225
217
  }
226
218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "captain-tool",
3
- "version": "0.0.98",
3
+ "version": "0.0.100",
4
4
  "description": "MCP server connecting Claude Desktop and VS Code Copilot to Captain Cloud",
5
5
  "bin": {
6
6
  "captain-tool": "bin/captain-tool",
@@ -11,10 +11,10 @@
11
11
  "test": "node test/setup.test.js"
12
12
  },
13
13
  "optionalDependencies": {
14
- "@captain-tool/captain-tool-win32-x64": "0.0.98",
15
- "@captain-tool/captain-tool-darwin-x64": "0.0.98",
16
- "@captain-tool/captain-tool-darwin-arm64": "0.0.98",
17
- "@captain-tool/captain-tool-linux-x64": "0.0.98"
14
+ "@captain-tool/captain-tool-win32-x64": "0.0.100",
15
+ "@captain-tool/captain-tool-darwin-x64": "0.0.100",
16
+ "@captain-tool/captain-tool-darwin-arm64": "0.0.100",
17
+ "@captain-tool/captain-tool-linux-x64": "0.0.100"
18
18
  },
19
19
  "files": [
20
20
  "bin/",