@aerostack/gateway 0.17.2 → 0.17.3

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 +40 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -116,12 +116,22 @@ Token: mwt_your_token_here (Authorization: Bearer header)
116
116
 
117
117
  ### 3. Verify your connection
118
118
 
119
- Run the built-in diagnostic check to make sure everything is working:
119
+ Run the built-in diagnostic to verify everything works end-to-end:
120
120
 
121
121
  ```bash
122
+ # Option A: if npx works on your system
122
123
  AEROSTACK_WORKSPACE_URL="https://mcp.aerostack.dev/ws/your-workspace" \
123
124
  AEROSTACK_TOKEN="mwt_your_token_here" \
124
- npx @aerostack/gateway --check
125
+ npx -y @aerostack/gateway --check
126
+ ```
127
+
128
+ ```bash
129
+ # Option B: install globally first (recommended for servers/VMs)
130
+ npm install -g @aerostack/gateway
131
+
132
+ export AEROSTACK_WORKSPACE_URL="https://mcp.aerostack.dev/ws/your-workspace"
133
+ export AEROSTACK_TOKEN="mwt_your_token_here"
134
+ aerostack-gateway --check
125
135
  ```
126
136
 
127
137
  You should see:
@@ -141,6 +151,8 @@ You should see:
141
151
 
142
152
  If any step fails, the output tells you exactly what to fix.
143
153
 
154
+ > **Tip:** After global install, you can simplify your MCP config to use `"command": "aerostack-gateway"` instead of `"command": "npx"` — faster startup, no network fetch.
155
+
144
156
  ### 4. Use it
145
157
 
146
158
  ```
@@ -152,14 +164,38 @@ Tools are namespaced as `{server}__{tool}` (e.g., `github__create_issue`, `slack
152
164
 
153
165
  ## Troubleshooting
154
166
 
167
+ **Step-by-step debug:**
168
+
169
+ ```bash
170
+ # 1. Can the gateway reach your workspace?
171
+ aerostack-gateway --check
172
+
173
+ # 2. If using OpenClaw, is the gateway running?
174
+ openclaw gateway status
175
+
176
+ # 3. Is the MCP server configured?
177
+ openclaw mcp show aerostack
178
+
179
+ # 4. Start the gateway if not running
180
+ openclaw gateway start
181
+
182
+ # 5. Run OpenClaw's built-in diagnostics
183
+ openclaw doctor
184
+ ```
185
+
186
+ **Common issues:**
187
+
155
188
  | Problem | Solution |
156
189
  |---------|----------|
157
- | `npx` hangs or fails | Run `npm install -g @aerostack/gateway` instead, then use `"command": "aerostack-gateway"` |
190
+ | `npx` hangs or fails | Run `npm install -g @aerostack/gateway` instead, then use `"command": "aerostack-gateway"` in your MCP config |
191
+ | `AEROSTACK_WORKSPACE_URL is required` | The env vars aren't being passed. Use `export` before running `--check`, or verify your MCP config has the `env` block |
192
+ | `npx` error: "could not determine executable" | Install globally: `npm install -g @aerostack/gateway`, then run `aerostack-gateway --check` |
158
193
  | "Token invalid" in `--check` | Regenerate token at dashboard → Workspace → Tokens |
159
- | "0 tools found" | Add MCP servers to your workspace in the dashboard first |
194
+ | "0 tools found" | Add MCP servers or functions to your workspace in the dashboard first |
160
195
  | OpenClaw: tools not showing | Send a message via Telegram or another channel to initialize the session |
161
196
  | Dashboard shows "No agents" | Run `--check` to verify, or wait 2 minutes for the heartbeat to register |
162
197
  | "Workspace unreachable" | Check the URL format: `https://mcp.aerostack.dev/ws/your-workspace` |
198
+ | Multiple phantom agents in dashboard | Update to latest version (`npm install -g @aerostack/gateway@latest`) — fixed in 0.17.2 |
163
199
 
164
200
  ## How It Works
165
201
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aerostack/gateway",
3
- "version": "0.17.2",
3
+ "version": "0.17.3",
4
4
  "description": "stdio-to-HTTP bridge connecting any MCP client to Aerostack Workspaces",
5
5
  "author": "Aerostack",
6
6
  "license": "MIT",