The entry CodeGraph writes into a new install, with its key at `indent` spaces.
(indent: number)
| 277 | |
| 278 | /** The entry CodeGraph writes into a new install, with its key at `indent` spaces. */ |
| 279 | function renderCodeGraphServer(indent: number): string[] { |
| 280 | const a = ' '.repeat(indent); |
| 281 | const b = ' '.repeat(indent * 2); |
| 282 | const c = ' '.repeat(indent * 3); |
| 283 | return [ |
| 284 | `${a}codegraph:`, |
| 285 | `${b}command: codegraph`, |
| 286 | `${b}args:`, |
| 287 | `${c}- serve`, |
| 288 | `${c}- --mcp`, |
| 289 | `${b}timeout: 120`, |
| 290 | `${b}connect_timeout: 60`, |
| 291 | `${b}enabled: true`, |
| 292 | ]; |
| 293 | } |
| 294 | |
| 295 | /** |
| 296 | * Where `mcp_servers.codegraph` is written, in any form: a block or a |
no outgoing calls
no test coverage detected