Repository navigation
MCP 2026-07-28 (dual-era), registry catalogue, phones — 8.5.0 - #20
Merged
Merged
Conversation
The protocol half: the bridge now speaks 2026-07-28 (no handshake, no sessions, version and identity in every request's `_meta`) without dropping 2025-06-18. `Client.open()` probes with `server/discover` and reads the answer's shape — a modern result, a -32022 naming the versions the server does support, a 404 saying the endpoint only knows the handshake, or a bare 400 — then settles on an era that the rest of the session honours. The server side answers both, and `handle_http()` returns the status codes the revision makes meaningful. `--serve --http host:port` is the self-serve listener, stateless, with a Host check. The catalogue half: `toolkit/catalog.py` reads the public MCP registry and turns each entry into a preset, treating the document as untrusted — only known runtimes, only package names, only HTTPS or loopback, text flattened, env values dropped. `GET /api/mcp/catalogue` and `POST /api/mcp/catalogue/add` expose it, the panel searches from the MCP screen, and the agent prompt says to look there before writing an ad-hoc client. Presets: deepwiki, serena-mcp, github-mcp, adb-mcp and ios-mcp added (18 total); ida-pro-mcp stays pinned to mrexodia's build on purpose. A preset can now be a pip package, which the bridge installs and starts with its own interpreter. adb and fastboot are separate tool ids, and installer.install() runs pip for tools that are Python packages. Version 8.5.0. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
foursecondfivefour
force-pushed
the
arena/36a4d756-nerveforge
branch
from
December 2, 2026 13:58
bb4a3a1 to
b0e0c6b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
Protocol: 2026-07-28, without dropping the servers that still speak 2025-06-18.
Client.open()probes withserver/discover. A modern result settles the session; a-32022naming versions is retried with one of them;404/-32601and a bare400fall back toinitialize. The era then governs the rest of the session:_metaonly in the modern one,Mcp-Session-Idonly in the legacy one,pingreplaced bytools/listwherepingno longer exists.server/discoverwithsupportedVersions, capabilities, instructions,ttlMs,resultType;initializestill returns2025-06-18.handle_http()returns the statuses the revision makes meaningful:400+-32022,404+-32601for modern clients,400 HeaderMismatch,202for notifications.nerveforge --serve --http host:port: stateless Streamable HTTP listener with aHostcheck and405onGET.Registry: fetched, not compiled in.
toolkit/catalog.pyturns registry entries into presets and treats the document as untrusted input — known runtimes only, package names only, HTTPS or loopback only, one-line bounded text, env names without values. Blocked entries are shown with the reason rather than hidden.GET /api/mcp/catalogue,POST /api/mcp/catalogue/add(re-reads the registry; never trusts a body), panel search on the MCP screen, and the agent prompt.Presets and phones.
deepwiki,serena-mcp,github-mcp,adb-mcp,ios-mcpadded (18 total).ida-pro-mcpstays pinned to mrexodia's build, with the reason in the note. A preset can be a pip package that the bridge installs and runs from its own interpreter.adbandfastbootare separate tool ids;installer.install()runs pip for tools that are Python packages.Checks
unittest discover→ 1769 tests, OK (skipped=1)ruff check src/ tests/ scripts/→ cleancheck_docs.py→ 19 pairs;bump_version.py --checkandgen_api_doc.py --check→ cleandiscover200, unknown method 404 +-32601, bad version 400 +-32022,GET405, wrongHost403Not in this PR
The remaining directions are staged, not done: skill sources ranked by GitHub stars (compared and chosen automatically), and the panel-side updater for skills. Those follow in their own PRs so each one is reviewable.