Adopt the official MCP Go SDK for transport/session handling #23

Merged
coilyco-ops merged 1 commit from issue-20 into main 2026-07-14 10:33:08 +00:00
Member

Adopt the official MCP Go SDK for ward-mcp's transport and session layer while keeping the guardfile parse and grant projection product-specific. The runtime now uses the SDK's streamable HTTP handler at /mcp, and the tool surface still comes only from cli-guard grants.

  • Replaced the custom JSON-RPC and transport scaffolding with the SDK-backed server.
  • Preserved deny-by-absence tool projection and opcore guarded execution.
  • Updated tests and docs for initialize, tools/list, tools/call, health, and error mapping.

closes #20
ward.workflow: pull-request-and-merge

Adopt the official MCP Go SDK for ward-mcp's transport and session layer while keeping the guardfile parse and grant projection product-specific. The runtime now uses the SDK's streamable HTTP handler at `/mcp`, and the tool surface still comes only from cli-guard grants. - Replaced the custom JSON-RPC and transport scaffolding with the SDK-backed server. - Preserved deny-by-absence tool projection and opcore guarded execution. - Updated tests and docs for initialize, tools/list, tools/call, health, and error mapping. closes #20 ward.workflow: pull-request-and-merge
refactor: adopt the MCP Go SDK
All checks were successful
ci / gate (push) Successful in 2m8s
ci / gate (pull_request) Successful in 24s
ci / publish (push) Has been skipped
ci / publish (pull_request) Has been skipped
93e77a2547
Sign in to join this conversation.
No description provided.