Model Context Protocol — Go MCP server + Laravel MCP package
Find a file
Snider 70e0c51dc5 fix(mcp/brain/client): add full-jitter to retry backoff + 30s cap
sleep() now computes exponential backoff as baseDelay * 2^N, caps at
maxBackoffDelay (30s), then sleeps a randomized delay in [0, cap)
using crypto/rand. Closes the thundering-herd vector where multiple
concurrent clients on the same upstream all retry at exactly the same
moments.

Retry-After still goes through sleepFor() unmodified — server-
specified delays are not jittered (the server told us when to come
back; respect that).

Cerberus #1055 from workspace-wide sniff.

Tests: distinct jittered delays across two clients (assert different),
Retry-After:2 sleeps exactly 2s, attempt=20 capped at maxBackoffDelay,
100ms+attempt=3 stays in [0, 800ms].

Co-authored-by: Codex <noreply@openai.com>
Closes tasks.lthn.sh/view.php?id=1055
2026-04-25 19:41:18 +01:00
.core feat: initial core/mcp — Go MCP server + PHP Laravel MCP package 2026-03-09 18:34:17 +00:00
.github/workflows docs: update CLAUDE.md for Options{} API + add CI workflow 2026-03-21 13:53:49 +00:00
cmd merge(mcp): reconcile origin AX-6 sweep + brainclient refactor with homelab migration + features 2026-04-25 16:08:35 +01:00
docs docs(security): document accepted ollama CVEs + operator runbook 2026-04-25 01:40:43 +01:00
pkg/mcp fix(mcp/brain/client): add full-jitter to retry backoff + 30s cap 2026-04-25 19:41:18 +01:00
src/php feat(mcp): add server resource listing 2026-04-02 16:47:03 +00:00
tests/cli/mcp feat(ax-10): bring mcp to v0.8.0-alpha.1 + CLI test scaffold 2026-04-24 23:35:37 +01:00
.gitattributes feat: initial core/mcp — Go MCP server + PHP Laravel MCP package 2026-03-09 18:34:17 +00:00
.gitignore docs: add implementation plans for plan CRUD and issue dispatch 2026-03-15 15:10:52 +00:00
CLAUDE.md docs: update CLAUDE.md for Options{} API + add CI workflow 2026-03-21 13:53:49 +00:00
composer.json feat: initial core/mcp — Go MCP server + PHP Laravel MCP package 2026-03-09 18:34:17 +00:00
EXCEPTIONS.md fix(mcp): resolve codex review findings — spelling, imports, tests, assertions 2026-03-22 02:14:33 +00:00
go.mod feat(ax-10): bring mcp to v0.8.0-alpha.1 + CLI test scaffold 2026-04-24 23:35:37 +01:00
go.sum refactor(mcp): migrate stdlib imports to core/go primitives + upgrade go-sdk v1.5.0 2026-04-08 22:03:52 +01:00
README.md Initial commit 2026-03-09 18:30:06 +00:00

mcp

Model Context Protocol — Go MCP server + Laravel MCP package