Skip to content

chore(mcp): allow mcp-server-darwin-arm64 in validation allowlist#1107

Open
mozaa-solana wants to merge 1 commit intonextlevelbuilder:devfrom
mozaa-solana:chore/mcp-validation-darwin-arm64
Open

chore(mcp): allow mcp-server-darwin-arm64 in validation allowlist#1107
mozaa-solana wants to merge 1 commit intonextlevelbuilder:devfrom
mozaa-solana:chore/mcp-validation-darwin-arm64

Conversation

@mozaa-solana
Copy link
Copy Markdown

Summary

Local pkg-helper installs an mcp-server-darwin-arm64 binary on macOS hosts, but the existing allowlist in internal/mcp/validation.go (deno, bun, uvx, ...) didn't cover it, so MCP server config validation rejected legitimate entries. One-line addition.

Changes

  • internal/mcp/validation.go — add "mcp-server-darwin-arm64": true to allowedCommands.

Test plan

  • go build ./... clean
  • Existing validation tests pass; rejected commands list unchanged for everything else.

If reviewers prefer a more general pattern (e.g. mcp-server-*) instead of the specific name, happy to switch.

Local pkg-helper installs an arm64 mcp-server binary on macOS hosts; the
existing allowlist (deno, bun, uvx, ...) didn't cover it so MCP server
config validation rejected legitimate entries.
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