Skip to content
This repository was archived by the owner on May 30, 2026. It is now read-only.

v5.20.0: add MCP client integration - #52

Merged
razzant merged 2 commits into
ouroborosfrom
integrate/pr-51-mcp-only
May 13, 2026
Merged

razzant merged 2 commits into
ouroborosfrom
integrate/pr-51-mcp-only

Conversation

@razzant

@razzant razzant commented May 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Ports only the MCP client portion of Mcp client clean #51 onto the current ouroboros branch, excluding the OpenRouter reasoning-continuity changes.
  • Adds disabled-by-default HTTP/SSE MCP server configuration in Settings -> Advanced, dynamic non-core mcp_<server>__<tool> tool exposure, safety checks, heal-mode blocking, token masking/rehydration, and focused tests.
  • Hardens the MCP trust boundary with auth-header/token validation, metadata/link-local URL checks, untrusted-description/schema/result wrapping, worker-side settings reconciliation, and redacted MCP errors/results.

Attribution

Based on PR #51 by @kazzand. The commit preserves author contribution with a Co-authored-by trailer for Andrei Kaznacheev.

Test plan

  • pytest tests/test_mcp_client.py tests/test_mcp_api.py tests/test_mcp_registry_integration.py tests/test_mcp_settings_roundtrip.py tests/test_mcp_ui_static.py tests/test_page_chrome_static.py tests/test_packaging_sync.py -q
  • pytest tests/test_smoke.py -q
  • Custom untracked OpenRouter triad review, full raw outputs saved under /tmp/mcp-triad-review-*.json; final pass had no critical findings.

Adds the MCP client portion of PR #51 as a base-runtime HTTP/SSE tool lane while keeping the OpenRouter reasoning-continuity changes out of scope. The integration keeps MCP disabled by default, routes discovered tools through the non-core ToolRegistry path with safety checks, and documents the trust boundary for external server descriptions/results.

Based on PR #51 by @kazzand.
Co-authored-by: Andrei Kaznacheev <a.kaznacheev@sdgroup.ai>
@razzant razzant mentioned this pull request May 12, 2026
@razzant
razzant merged commit b812cdc into ouroboros May 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant