Skip to content

feat(mcp): add local stdio write mode#132

Merged
lance0 merged 1 commit into
masterfrom
feat/local-mcp-writes
Jun 29, 2026
Merged

feat(mcp): add local stdio write mode#132
lance0 merged 1 commit into
masterfrom
feat/local-mcp-writes

Conversation

@lance0

@lance0 lance0 commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • add [serve].local_writes and nbox serve --local-writes for local stdio MCP writes using the active profile token
  • keep shared/network MCP writes on the existing --allow-writes + OIDC + [serve.vault] path, with OIDC identity always taking precedence when present
  • bind the server-issued plan store to a write actor (local or sub:<oidc-sub>) so forged, edited, cross-actor, or replayed plans are rejected
  • reject --local-writes on HTTP in this first cut, including loopback, and update ADR/docs/skills around the local-first split
  • echo --local-writes from nbox serve --local-writes --print-config so generated local MCP recipes actually enable the mode

Tests

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features --locked -- -D warnings
  • cargo clippy --all-targets --no-default-features --locked -- -D warnings
  • cargo test --all-features --locked
  • cargo test --no-default-features --locked
  • bash scripts/lint_skills.sh

@lance0 lance0 marked this pull request as ready for review June 29, 2026 13:47
@lance0 lance0 merged commit 6b9aa80 into master Jun 29, 2026
18 checks passed
@lance0 lance0 deleted the feat/local-mcp-writes branch June 29, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant