Skip to content

merge: land application/mcp-a2a (MCP + A2A endpoint wiring for Nexo.API) - #269

Merged
IanFrelinger merged 3 commits into
masterfrom
cursor/mcp-a2a-landing
Aug 13, 2026
Merged

merge: land application/mcp-a2a (MCP + A2A endpoint wiring for Nexo.API)#269
IanFrelinger merged 3 commits into
masterfrom
cursor/mcp-a2a-landing

Conversation

@IanFrelinger

@IanFrelingerIanFrelinger commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Summary

Coordinated landing of the application/mcp-a2a integration branch onto master — the final step of the MCP/A2A protocol series (#263/#268/#265/#266 src-side already merged; #267 reviewed the application wiring on the integration branch).

The diff vs master is exactly the 9 application/src/Nexo.API files from #267: protocol endpoint wiring, all-verbs auth handling, catalog rows, rate limiters, and disabled-by-default appsettings. See #267 for the full description and live-host smoke evidence.

Note on the layer-boundary check: it will report failing on this PR by design — it forbids application/** changes in PRs to master precisely so application work gets reviewed on an application/* branch first, which is what #267 did. This PR is the sanctioned coordinated landing that follows; the check is not in the required set. (If a standing exemption for application/* → master landing PRs is wanted, that''s a one-line follow-up to layer-boundary.yml.)

Testing

  • All 10 check-runs green on this exact SHA (f44b249f): distribution-matrix suite (incl. API image + health smoke, NuGet local pack), dependency-boundary verify, and a manually dispatched cert-gate
  • ProdStyle endpoint coverage follows immediately in the next PR (feat/mcp-a2a-prodstyle, already rebased onto this SHA)

🤖 Generated with Claude Code

[skip-prod-style]: ProdStyle endpoint coverage lands in the immediate follow-up PR from feat/mcp-a2a-prodstyle (already rebased onto this SHA); this PR's application files were reviewed in #267.

PlzTouchGrassand others added 3 commits August 13, 2026 14:17
All four protocol directions become available on the API host, feature-flagged
off by default (appsettings ships explicit disabled sections):
- Program.cs: AddNexoMcpServer().WithHttpTransport() + AddNexoMcpClient +
AddNexoA2AServer + AddNexoA2ATransport (before AddNexo so its scheme
registration joins the remote-transport composition); read-only repo tools
registered for MCP allowlisting; MapNexoMcpEndpoint + MapNexoA2AEndpoints
after the security chain with named per-IP rate-limit policies (nexo-mcp /
nexo-a2a, off by default via NexoMiddlewareIngressOptions fields).
- NexoApiKeyAuthMiddleware: protocol-path handling - /api/mcp, /api/a2a, and
the /.well-known/agent-card.json discovery path are protected on ALL verbs
(the MCP SSE listen channel is a GET the mutating-verb scope would have
ignored, and the root card lives outside /api entirely). Agent-card
anonymity is an explicit opt-in mirrored from Nexo:A2A:Server via the new
NexoProtocolIngressOptions so the middleware stays decoupled from adapters.
- AgentRegistryA2ACatalog: host-side INexoA2AAgentCatalog over IAgentRegistry
(the one place the domain persona model meets the A2A descriptor).
- IngressCapability mcp/a2a keys + IngressCatalog operator-inventory rows.
Live smoke on the built host: disabled => /health 200, /api/mcp 405, root card
404; enabled+ApiKey => 401 without key, 200 initialize with key (protocol
version negotiated down to the client's 2025-06-18).
[skip-prod-style]: ProdStyle endpoint tests live in src/Nexo.Tests.Infrastructure
(layer boundary forbids src/** changes here); they land in the follow-up
src-side PR together with the mcp-a2a CI gate.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
feat(api): wire MCP + A2A protocol endpoints into Nexo.API
…o.API
Coordinated application-layer landing (PR #267 reviewed on the application/
mcp-a2a base branch; the layer-boundary gate forbids application/** changes in
PRs to master, so this branch lands via merge per established repo practice).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cursor

cursorBot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@IanFrelinger
IanFrelinger merged commit 3d43dcf into masterAug 13, 2026
22 of 26 checks passed
@IanFrelinger
IanFrelinger deleted the cursor/mcp-a2a-landing branch August 13, 2026 21:18
IanFrelinger pushed a commit that referenced this pull request Aug 17, 2026
…rograms historical; document spikes/
docs/DocsIndex.md: Start Here #1 is the tester quickstart, README #2,
GettingStarted #3; IntegratorGuide and consumer-template/CONSUMING.md are
listed for the first time; RELEASE.md, the setup-matrix scripts and the
bootstrap helpers move out of the numbered list into an "escape hatches"
paragraph (RELEASE stays under Operator); a new "Trust loop / certification
(experimental, hold-mode)" group makes docs/trust-loop/*, the evidence
ledger, governed-pipeline, SELF-EXTEND-AUDIT, the sample objective and
spikes/ reachable; "Planning & Roadmap" becomes "Planning history
(historical as of 2026-08-16)" because it described a finished program.
Stale status docs are date-stamped rather than deleted:
- ProtocolIntegration-MCP-A2A.md said the Nexo.API wiring was "planned"; it
landed in #269/#270 (Program.cs registers all four adapters and maps
/api/mcp and /api/a2a/{agentId}; IngressCatalog rows McpServer/A2AAgents).
- ci-pre-existing-failures.md said the Full Platform Readiness Gate was RED
as of 06-21; it went green with #317-#320/#335. Kept because
docs/planning/* still cite it.
- GapAnalysis.md and NorthStarGapAnalysis.md predate the trust loop; both get
a historical banner naming their still-open rows and pointing at the
ledger, ProjectTiers and CHANGELOG.
GettingStarted.md #5 contradicted DocsIndex on "installer" scripts (the
scripts/install/* helpers exist but bootstrap the container lane); it now
says so and points first-run readers at the quickstart. The pointer to a
README section "First Successful Pipeline Run" (which does not exist) now
names the sections that do. IntegratorGuide.md recommended `dotnet build
Nexo.sln` (the docs guard forbids it in README); it now builds
Nexo.Kernel.sln and the CLI project, with hello-brick as the smallest test
example, and the compatibility matrix names the solutions that actually
apply.
spikes/README.md: the 27 tracked files under spikes/ were cited as PASS
evidence by the ledger but undocumented. It says what each spike is, every
flag of the flight runner, which ledger rows cite each spike, and that none
of it is a supported entry point.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@IanFrelinger@PlzTouchGrass