go-ai/mcp
Snider c37e1cf2de fix(mcp): harden REST bridge with body limit, error classification, sanitised messages
- Add 10MB body size limit via io.LimitReader
- Classify JSON parse errors as 400 Bad Request (not 500)
- Sanitise error messages to prevent path leakage
- Document nil CallToolRequest in RESTHandler closure

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 01:27:06 +00:00
..
ide feat(ide): Phase 4 — bridge auth, reconnect hardening, tool tests 2026-02-20 07:02:50 +00:00
bridge.go fix(mcp): harden REST bridge with body limit, error classification, sanitised messages 2026-02-21 01:27:06 +00:00
bridge_test.go feat(mcp): add BridgeToAPI for MCP-to-REST conversion 2026-02-21 01:06:33 +00:00
integration_test.go feat: extract AI/ML packages from core/go 2026-02-16 15:25:55 +00:00
mcp.go fix(mcp): add EUPL-1.2 header and fix empty struct schema 2026-02-21 01:01:13 +00:00
mcp_test.go fix: post-split cleanup — remove test script, fix tests, update docs 2026-02-20 01:18:27 +00:00
registry.go fix(mcp): harden REST bridge with body limit, error classification, sanitised messages 2026-02-21 01:27:06 +00:00
registry_test.go feat(mcp): add parallel tool registry for REST bridge 2026-02-21 00:59:13 +00:00
subsystem.go feat: extract AI/ML packages from core/go 2026-02-16 15:25:55 +00:00
subsystem_test.go feat: extract AI/ML packages from core/go 2026-02-16 15:25:55 +00:00
tools_metrics.go chore: update module paths and add gitignore 2026-02-17 19:19:38 +00:00
tools_metrics_test.go feat: extract AI/ML packages from core/go 2026-02-16 15:25:55 +00:00
tools_ml.go feat(ml): Phase 2 — migrate ml_backends to go-inference registry 2026-02-20 06:01:30 +00:00
tools_ml_test.go test: Phase 5 — testing gaps (process/RAG/ML mocks, metrics bench) 2026-02-20 06:48:31 +00:00
tools_process.go chore: update module paths and add gitignore 2026-02-17 19:19:38 +00:00
tools_process_ci_test.go test: Phase 5 — testing gaps (process/RAG/ML mocks, metrics bench) 2026-02-20 06:48:31 +00:00
tools_process_test.go feat: extract AI/ML packages from core/go 2026-02-16 15:25:55 +00:00
tools_rag.go fix(mcp): align rag tool with go-rag CollectionInfo API 2026-02-20 12:25:55 +00:00
tools_rag_ci_test.go test: Phase 5 — testing gaps (process/RAG/ML mocks, metrics bench) 2026-02-20 06:48:31 +00:00
tools_rag_test.go feat: extract AI/ML packages from core/go 2026-02-16 15:25:55 +00:00
tools_webview.go chore: update module paths and add gitignore 2026-02-17 19:19:38 +00:00
tools_webview_test.go test: Phase 3 — MCP transport e2e tests 2026-02-20 06:38:34 +00:00
tools_ws.go chore: update module paths and add gitignore 2026-02-17 19:19:38 +00:00
tools_ws_test.go chore: update module paths and add gitignore 2026-02-17 19:19:38 +00:00
transport_e2e_test.go test: Phase 3 — MCP transport e2e tests 2026-02-20 06:38:34 +00:00
transport_stdio.go chore: update module paths and add gitignore 2026-02-17 19:19:38 +00:00
transport_tcp.go fix(mcp): eliminate data race in TCP transport diagnostic output 2026-02-20 12:30:16 +00:00
transport_tcp_test.go fix(mcp): eliminate data race in TCP transport diagnostic output 2026-02-20 12:30:16 +00:00
transport_unix.go chore: update module paths and add gitignore 2026-02-17 19:19:38 +00:00