Commit f8414c9
saravmajestic
fix(mcp-discover): add updatedAt timestamp and connect MCP immediately after config write
- Add updatedAt: new Date().toISOString() when writing MCP server to config so
clients can detect config changes without restarting
- Call MCP.connect(name) immediately after addMcpToConfig so the server becomes
active in the current session — /mcps now shows connected without restart1 parent 1290a63 commit f8414c9
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
| |||
0 commit comments