open-code-review/internal
kite 6adcb1ecd4
feat: add standard MCP tool support (#212)
* feat(mcp): add Model Context Protocol server support

Add MCP client and provider packages that allow integrating external
MCP tool servers into the review loop. Includes config commands for
managing MCP servers, stdio subprocess integration tests, and
comprehensive test coverage.

* refactor(mcp): rename loop variable in contentToText to avoid shadowing Client receiver

* fix(mcp): use platform-specific shell for setup command

The MCP server setup command was hardcoded to use `sh -c`, which
fails on Windows. Extract a `shellCommand` helper behind build tags
to use `cmd /c` on Windows and `sh -c` elsewhere.

* docs(mcp): add MCP server documentation to all README locales
2026-07-01 19:10:16 +08:00
..
agent fix(session): isolate test sessions to test-sessions subdirectory 2026-06-30 13:23:21 +08:00
config ci: add 80% statement coverage threshold check 2026-06-27 11:13:22 +08:00
diff test(diff): add tests for gitignore pattern matching and mode getters 2026-07-01 14:27:07 +08:00
gitcmd test: expand unit test coverage for agent, llm, llmloop, and tool packages 2026-06-26 23:09:11 +08:00
llm docs(llm): clarify timeout override semantics and resolution-path coverage 2026-06-30 11:25:21 +08:00
llmloop feat: add standard MCP tool support (#212) 2026-07-01 19:10:16 +08:00
mcp feat: add standard MCP tool support (#212) 2026-07-01 19:10:16 +08:00
model test: add unit tests for output_helpers, config, model, stdout, and telemetry packages 2026-06-26 23:26:49 +08:00
pathutil test: improve coverage for template and pathutil packages 2026-06-27 00:22:30 +08:00
release fix(build): improve Windows support based on PR #13 review feedback 2026-06-02 22:37:27 +08:00
scan fix(session): isolate test sessions to test-sessions subdirectory 2026-06-30 13:23:21 +08:00
session fix(session): isolate test sessions to test-sessions subdirectory 2026-06-30 13:23:21 +08:00
stdout test: add unit tests for output_helpers, config, model, stdout, and telemetry packages 2026-06-26 23:26:49 +08:00
suggestdiff test: add unit tests for pure logic functions across 6 packages 2026-06-26 22:41:35 +08:00
telemetry test: improve coverage for telemetry package and exclude extensions from build targets 2026-06-27 10:43:45 +08:00
tool feat: add standard MCP tool support (#212) 2026-07-01 19:10:16 +08:00
viewer fix: skip permission-based tests when running as root in CI 2026-06-27 00:42:41 +08:00