Skip to content

Commit e9916b8

Browse files
author
Lasim
committed
docs: add selective restart capability to Gateway documentation
1 parent 58dd1fd commit e9916b8

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/development/gateway/process-management.mdx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,31 @@ The Gateway's process management system operates on a **persistent background pr
6262
</Card>
6363
</Cards>
6464

65+
## Selective Restart Capability
66+
67+
The Gateway supports **selective restart** functionality, allowing individual MCP servers to be managed without requiring a full gateway restart. This feature dramatically improves configuration update performance and eliminates downtime for unchanged servers.
68+
69+
### Key Features
70+
71+
- **Individual Server Control**: Add, remove, or restart specific MCP servers via HTTP API
72+
- **Change Detection**: Automatically detects added, removed, and modified server configurations
73+
- **Fallback Safety**: Falls back to full restart if selective operations fail
74+
- **Zero Downtime**: Unchanged servers continue running during configuration updates
75+
76+
### API Endpoints
77+
78+
The Gateway exposes HTTP endpoints for selective server management:
79+
80+
- `POST /api/mcp/servers` - Add new MCP servers to running gateway
81+
- `DELETE /api/mcp/servers/:serverName` - Remove specific servers
82+
- `POST /api/mcp/servers/:serverName/restart` - Restart individual servers
83+
84+
### Implementation Services
85+
86+
- **Selective Restart Service**: Handles HTTP communication with running gateway processes
87+
- **Configuration Change Service**: Detects configuration differences and orchestrates selective operations
88+
- **Process Manager Integration**: Provides individual server lifecycle control capabilities
89+
6590
## Process Lifecycle
6691

6792
### Gateway Startup Phase

0 commit comments

Comments
 (0)