Model Context Protocol — Go MCP server + Laravel MCP package
Find a file
Snider e2bc724bb4 fix(mcp/brain/client): enforce 0600 on ~/.claude/brain.key
Refuse to load brain.key when its mode is more permissive than 0600 —
NewFromEnvironment carries the config error into Call() so callers
get a clear "brain.key has insecure permissions, expected 0600"
rather than a silent credential leak. Read path stats first; does not
auto-chmod (would mask the misconfiguration).

Write path uses coreio.Local.WriteMode and follows up with explicit
os.Chmod 0600, correcting any pre-existing 0644 file on next write.

Tests: write overwrites 0644 → 0600; read of 0644 fixture errors and
leaves the mode untouched.

Co-authored-by: Codex <noreply@openai.com>
Closes tasks.lthn.sh/view.php?id=998
2026-04-25 17:58:13 +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): enforce 0600 on ~/.claude/brain.key 2026-04-25 17:58:13 +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