Phase 3: get_wiki_article tool wraps codesight_get_wiki_article MCP (cached, persistent codebase wiki). DCP compress toggle on get_codebase_overview (compress=true for large projects >50 files). Phase 4: Deprecation markers on Go codecontext sidecar. Warning log in callCodecontext(), deprecation comments in factory.ts and docker-compose.yml. Sidecar remains functional — removal deferred.
1.2 KiB
1.2 KiB
codecontext — Go sidecar (DEPRECATED)
Deprecated (Phase 4, Domain 2, v2.8.14).
Superseded by the boocontext MCP server (
apps/coder). Do not add new callers. The 16 codecontext tool wrappers still use this sidecar via HTTP athttp://codecontext:8080/v1/{toolName}for backward compatibility.
Migration path
- Existing tool wrappers in
apps/server/src/services/tools/codecontext/route throughcallCodecontext()incodecontext_client.ts, which calls this Go sidecar over HTTP. - New callers should use the boocontext MCP server instead (reachable via the
boocontexttool wrappers). - After all callers have migrated, remove this directory, the
codecontextservice block fromdocker-compose.yml, and thecodecontext_client.ts/factory.tsfiles.
What it does
A Go HTTP shim wrapping the boocontext MCP server's stdio interface. Provides
code-graph analysis (symbols, callers, callees, file overview, etc.) over a
REST API at /v1/{toolName}.
Files
shim.go— HTTP server that wraps the boocontext MCP stdio processDockerfile— container buildfork.tar.gz— vendored boocontext source (gitignored).codecontextignore.template— default ignore patterns deployed per project