Skip to content

feat: support Codex MCP config discovery#6

Merged
brandonwise merged 1 commit into
mainfrom
auto/pm-presence-20260506
May 7, 2026
Merged

feat: support Codex MCP config discovery#6
brandonwise merged 1 commit into
mainfrom
auto/pm-presence-20260506

Conversation

@brandonwise
Copy link
Copy Markdown
Owner

@brandonwise brandonwise commented May 7, 2026

Summary

  • add Codex TOML parsing for [mcp_servers.<name>] configs alongside existing JSON formats
  • auto-discover ~/.codex/config.toml and project .codex/config.toml
  • treat Codex auth/env fields as first-class signals and honor enabled = false
  • add Codex fixtures, unit coverage, integration coverage, and README support docs

Why now

Validation

Targeted tests

  • cargo test codex -- --nocapture ✅ passed (4 unit + 2 integration tests)
  • cargo test remote_server_with_ -- --nocapture ✅ passed (2 auth-rule tests)

Repo-level suite

  • cargo fmt --all -- --check && cargo test --all-targets ✅ passed

Lint / build

  • cargo clippy --all-targets -- -D warnings ✅ passed
  • cargo build ✅ passed
  • cargo build --release ✅ passed

Smoke / integration

  • cargo run -- scan testdata/codex-config.toml --format json ✅ passed
    • observed configs_scanned: 1
    • observed servers_scanned: 1
    • observed expected AW-005 finding for the insecure sample URL

Docs quality

  • node src/cli.js score --file /Users/bwise/.openclaw/workspace/projects/agentwise-pm-20260506/README.md --json (run from projects/humanizer) ✅ passed with {"score":42}

@brandonwise brandonwise merged commit cb7daca into main May 7, 2026
8 checks passed
@brandonwise brandonwise deleted the auto/pm-presence-20260506 branch May 7, 2026 01:29
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