@@ -6,6 +6,84 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
66
77<!-- changelog:entries -->
88
9+ ## [0.1.117-rc.5] - 2026-07-24
10+
11+
12+ ### Added
13+
14+ - Feat(control-plane): embedded MCP server at /mcp (zero-setup harness integration) (#817)
15+
16+ * feat(control-plane): add AGENTFIELD_MCP_ENABLED config toggle
17+
18+ Introduce MCPConfig under features with an IsEnabled() default of true so
19+ the embedded MCP server ships on by default. AGENTFIELD_MCP_ENABLED=false
20+ flips it off via the existing env-override precedence path.
21+
22+ Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
23+
24+ * feat(control-plane): embedded MCP server handler and tools
25+
26+ Add a stateless streamable-HTTP JSON-RPC 2.0 handler that exposes AgentField
27+ discovery and execution as MCP tools, calling the existing service layer
28+ directly (no loopback HTTP). Supports initialize, notifications, ping,
29+ tools/list and tools/call; rejects batch arrays; unknown methods return
30+ -32601.
31+
32+ Five tools: discover_agents, get_reasoner_schema, execute_reasoner (starts an
33+ async run), get_run, and wait_run (server-side poll with a hard timeout cap so
34+ a tool call can never hang a harness). Results are single compact-JSON text
35+ content blocks; validation/business failures come back as isError tool
36+ results rather than transport errors.
37+
38+ Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
39+
40+ * feat(control-plane): serve MCP at /mcp on the control-plane port
41+
42+ Register the embedded MCP server on the same Gin router as the REST API:
43+ POST /mcp (JSON-RPC), GET /mcp -> 405, OPTIONS /mcp -> 204. The route is
44+ gated by AGENTFIELD_MCP_ENABLED and simply not registered (so /mcp 404s) when
45+ disabled. It lives behind the same global API-key auth and trust domain as
46+ /api/v1 — no extra process, no extra setup; harnesses connect with one
47+ command.
48+
49+ Thread the build version through server.SetBuildVersion so the MCP
50+ serverInfo reports the real control-plane version.
51+
52+ Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
53+
54+ * feat(skills): document zero-setup MCP in agentfield-use
55+
56+ Add an "MCP (zero-setup)" section near the top of the agentfield-use skill
57+ (both the repo copy and the embedded skill_data copy, kept identical): the
58+ control plane serves MCP at <server>/mcp, with the one-liner claude mcp add
59+ command and a generic streamable-HTTP note for other clients. The CLI/REST
60+ flow remains the documented full-power path. Bump the skill version to 0.4.0.
61+
62+ Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
63+
64+ * docs: MCP integration guide
65+
66+ Add docs/mcp-integration.md covering the endpoint, the five tools, the
67+ security posture (same trust domain and API-key auth as the REST API), the
68+ disable flag, and an example tool-call flow. Link it from the README feature
69+ table.
70+
71+ Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
72+
73+ * fix: enforce MCP execution authorization
74+
75+ * chore(skills): sync embedded agentfield-use mirror on branch
76+
77+ Branch-local drift: this PR merged main (incl. #827's skill edit) while
78+ carrying its own mirror copy; sync-embedded-skills.sh realigns them so the
79+ skillkit drift tests pass regardless of #828.
80+
81+ Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
82+
83+ ---------
84+
85+ Co-authored-by: Claude Fable 5 <noreply@anthropic.com> (b9a07d0)
86+
987## [0.1.117-rc.4] - 2026-07-24
1088
1189
0 commit comments