Skip to content

Commit f5d7661

Browse files
author
Lasim
committed
feat(gateway): update dependencies and enhance login command to auto-start gateway server
1 parent e104b4c commit f5d7661

File tree

6 files changed

+466
-550
lines changed

6 files changed

+466
-550
lines changed

package-lock.json

Lines changed: 11 additions & 243 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/gateway/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@ npm install -g @deploystack/gateway
2626
## 🚀 Usage
2727

2828
```bash
29-
# Login to your DeployStack account
29+
# Login to your DeployStack account (automatically starts the gateway)
3030
deploystack login
3131

32-
# Start the gateway (runs on localhost:9095 by default)
33-
deploystack start
34-
3532
# Check status
3633
deploystack status
34+
35+
# Or start the gateway manually if needed
36+
deploystack start
3737
```
3838

3939
## 🧱 How It Works
4040

41-
1. **Login**: The gateway authenticates with `cloud.deploystack.io` and downloads your team's MCP server configurations
42-
2. **Persistent Process Startup**: When starting (`deploystack start`), all configured MCP servers launch as persistent background processes
41+
1. **Login & Auto-Start**: The gateway authenticates with `cloud.deploystack.io`, downloads your team's MCP server configurations, and automatically starts the gateway server
42+
2. **Persistent Process Startup**: All configured MCP servers launch as persistent background processes immediately after login
4343
3. **Tool Discovery**: Automatically discovers and caches individual tools from all running MCP servers for your team
4444
4. **SSE Connection**: VS Code connects to `/sse` endpoint and receives session information for message routing
4545
5. **Session-Based Communication**: All JSON-RPC requests are sent to `/message` endpoint with session context

services/gateway/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"inquirer": "^12.9.1",
3232
"node-fetch": "^3.3.0",
3333
"cli-table3": "^0.6.3",
34-
"fastify": "^4.24.3",
34+
"fastify": "^5.1.0",
3535
"@fastify/cors": "^11.1.0",
36-
"@fastify/helmet": "^11.1.1",
36+
"@fastify/helmet": "^12.0.1",
3737
"uuid": "^11.1.0",
3838
"fs-extra": "^11.1.1"
3939
},

0 commit comments

Comments
 (0)