Commit 7b53e42
LittleCoinCoin
feat: add get_server_config method for server existence detection
- Add get_server_config() method to MCPHostConfigurationManager
- Enables detection of existing server configurations for partial update support
- Returns Optional[MCPServerConfig] - None if server doesn't exist
- Graceful error handling with debug-level logging
- Reuses existing host_registry and strategy pattern infrastructure
- Supports all MCP hosts (claude-desktop, cursor, vs-code, gemini)1 parent 47dd21e commit 7b53e42
1 file changed
+26
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
185 | 209 | | |
186 | 210 | | |
187 | 211 | | |
| |||
0 commit comments