Skip to content

fix: approve batch mcp tools for codex install#26

Merged
madeye merged 1 commit intomadeye:mainfrom
luojiyin1987:fix/codex-batch-tool-approvals
Apr 21, 2026
Merged

fix: approve batch mcp tools for codex install#26
madeye merged 1 commit intomadeye:mainfrom
luojiyin1987:fix/codex-batch-tool-approvals

Conversation

@luojiyin1987
Copy link
Copy Markdown
Contributor

Fixes #25.

Summary

This updates the Codex installer's MCP_CLI_TOOLS allowlist so --prefer-mcp writes auto-approval entries for the batch MCP tools exposed by the bridge:

  • fs_read_batch
  • code_outline_batch
  • code_symbols_batch

It also strengthens the installer test to assert that every tool in MCP_CLI_TOOLS gets an approval block, which should make future drift easier to catch.

Testing

  • cargo test -p mcp-cli

@madeye madeye merged commit 64136cd into madeye:main Apr 21, 2026
1 check passed
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.

Codex installer omits batch MCP tools from --prefer-mcp approvals

2 participants