mcp/pkg/mcp
Snider ca07b6cd62 feat(mcp): RFC §3 tools + §8 discovery alignment
New tools (RFC §3):
- webview_render / webview_update: embedded UI HTML + state broadcast
  via webview.render / webview.update channels with merge-or-replace
- ws_connect / ws_send / ws_close: outbound WebSocket client tools
  with stable ws-<hex> connection IDs
- process_run: blocking command executor returning ID/exit/output
- rag_search / rag_index: aliases for rag_query / rag_ingest per spec
- rag_retrieve: fetch chunks for a source, ordered by chunk index
- ide_dashboard_state / ide_dashboard_update: merge-or-replace state
  with activity feed entries and dashboard.state.updated broadcast
- agentic_issue_dispatch: spec-aligned name for agentic_dispatch_issue

Discovery (RFC §8.2):
- transport_http.go: /.well-known/mcp-servers.json advertises both
  core-agent and core-mcp with semantic use_when hints

Tool count: 25 → 33. Good/Bad/Ugly coverage added for every new tool.

Pre-existing cmd/mcpcmd Cobra-style build error flagged but untouched
— same cmd vs core.Command migration pattern seen in cmd/api and
cmd/build (which were migrated earlier this session).

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-14 15:55:15 +01:00
..
agentic feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
brain refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
ide feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
authz.go fix(mcp): transport addr default + progress notifications + auth timing safety 2026-04-14 14:37:52 +01:00
bridge.go refactor(mcp): migrate stdlib imports to core/go primitives + upgrade go-sdk v1.5.0 2026-04-08 22:03:52 +01:00
bridge_test.go fix(mcp): bridge test body + process dep resolution 2026-04-08 16:39:28 +01:00
integration_test.go refactor(mcp): Options{} struct + notification broadcasting + claude/channel 2026-03-21 13:51:14 +00:00
iter_test.go refactor(mcp): remove unused registry iterator helper 2026-04-02 07:29:59 +00:00
mcp.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
mcp_test.go refactor(mcp): document directory entry paths 2026-04-02 18:01:16 +00:00
notify.go refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
notify_test.go docs(mcp): clarify channel capability helpers 2026-04-02 18:34:15 +00:00
process_notifications.go refactor: AX compliance sweep — replace banned stdlib imports with core primitives 2026-04-13 09:32:00 +01:00
register.go fix: migrate module paths from forge.lthn.ai to dappco.re 2026-04-07 12:59:22 +01:00
register_test.go fix: migrate module paths from forge.lthn.ai to dappco.re 2026-04-07 12:59:22 +01:00
registry.go fix(mcp): transport addr default + progress notifications + auth timing safety 2026-04-14 14:37:52 +01:00
registry_test.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
subsystem.go refactor(mcp): record subsystem tools centrally 2026-04-02 17:11:16 +00:00
subsystem_test.go refactor(mcp): record subsystem tools centrally 2026-04-02 17:11:16 +00:00
tools_metrics.go fix: migrate module paths from forge.lthn.ai to dappco.re 2026-04-07 12:59:22 +01:00
tools_metrics_test.go refactor(mcp): Options{} struct + notification broadcasting + claude/channel 2026-03-21 13:51:14 +00:00
tools_process.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
tools_process_ci_test.go fix: migrate module paths from forge.lthn.ai to dappco.re 2026-04-07 12:59:22 +01:00
tools_process_test.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
tools_rag.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
tools_rag_ci_test.go refactor(mcp): Options{} struct + notification broadcasting + claude/channel 2026-03-21 13:51:14 +00:00
tools_rag_test.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
tools_webview.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
tools_webview_embed.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
tools_webview_embed_test.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
tools_webview_test.go fix: migrate module paths from forge.lthn.ai to dappco.re 2026-04-07 12:59:22 +01:00
tools_ws.go fix: migrate module paths from forge.lthn.ai to dappco.re 2026-04-07 12:59:22 +01:00
tools_ws_client.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
tools_ws_client_test.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
tools_ws_test.go fix: migrate module paths from forge.lthn.ai to dappco.re 2026-04-07 12:59:22 +01:00
transport_e2e_test.go fix(mcp): resolve codex review findings — spelling, imports, tests, assertions 2026-03-22 02:14:33 +00:00
transport_http.go feat(mcp): RFC §3 tools + §8 discovery alignment 2026-04-14 15:55:15 +01:00
transport_http_test.go fix(mcp): allow unauthenticated HTTP transport when token is unset 2026-04-02 07:35:35 +00:00
transport_stdio.go fix: migrate module paths from forge.lthn.ai to dappco.re 2026-04-07 12:59:22 +01:00
transport_tcp.go refactor(mcp): migrate stdlib imports to core/go primitives + upgrade go-sdk v1.5.0 2026-04-08 22:03:52 +01:00
transport_tcp_test.go fix(mcp): normalize tcp defaults and notification context 2026-04-02 13:19:24 +00:00
transport_unix.go fix: migrate module paths from forge.lthn.ai to dappco.re 2026-04-07 12:59:22 +01:00
transport_unix_test.go feat(mcp): auto-select unix socket transport 2026-04-02 12:56:30 +00:00