feat: WhatsApp connector changes (send gate, local API default, bundle script) #1

Open
tim.lingo wants to merge 2 commits from feat/send-tools-readonly-gate into main
Owner

WhatsApp connector changes (vendored fork for Neuron)

Neuron's fork of iamatulsingh/whatsapp-mcp-go, carrying the changes the WhatsApp connector needs:

  • Read-only gate around the send tools (send_message/send_file/send_audio_message): registered unless WHATSAPP_READ_ONLY=true|1. Default keeps send available (the soul's per-send consent is the primary gate). Validated via stdio tools/list: default 14 tools incl send_message; read-only 11.
  • API_BASE_URL default → http://localhost:8080/api (was a hardcoded LAN IP) so the MCP finds the connector-launched loopback bridge.
  • scripts/build-bundle.sh: cross-builds whatsapp-mcp + whatsapp-bridge (stripped, darwin/arm64) into the Neuron app's bundled connector-servers dir.

Part of the WhatsApp connector (ship-the-moat #11). Pairs with neuron-connectd #2, neuron-ui #79, neuron #57.

## WhatsApp connector changes (vendored fork for Neuron) Neuron's fork of `iamatulsingh/whatsapp-mcp-go`, carrying the changes the WhatsApp connector needs: - **Read-only gate** around the send tools (`send_message`/`send_file`/`send_audio_message`): registered unless `WHATSAPP_READ_ONLY=true|1`. Default keeps send available (the soul's per-send consent is the primary gate). Validated via stdio `tools/list`: default 14 tools incl `send_message`; read-only 11. - **`API_BASE_URL` default → `http://localhost:8080/api`** (was a hardcoded LAN IP) so the MCP finds the connector-launched loopback bridge. - **`scripts/build-bundle.sh`**: cross-builds `whatsapp-mcp` + `whatsapp-bridge` (stripped, darwin/arm64) into the Neuron app's bundled connector-servers dir. Part of the WhatsApp connector (ship-the-moat #11). Pairs with neuron-connectd #2, neuron-ui #79, neuron #57.
tim.lingo added 2 commits 2026-06-27 20:28:11 +00:00
send_message/send_file/send_audio_message register unless WHATSAPP_READ_ONLY=true|1. Default keeps send
available (soul consent is the primary gate). Validated via stdio tools/list: default exposes 14 tools
incl send_message; read-only exposes 11 (send tools hidden).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
scripts/build-bundle.sh cross-builds whatsapp-mcp + whatsapp-bridge (stripped, darwin/arm64) into the
Neuron app's bundled connector-servers dir. tools.go: default API_BASE_URL to http://localhost:8080/api
(was a hardcoded LAN IP) so the MCP finds the connector-launched loopback bridge. Validated: stripped
bundled whatsapp-mcp exposes 14 tools incl send_message.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/send-tools-readonly-gate:feat/send-tools-readonly-gate
git checkout feat/send-tools-readonly-gate
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tim.lingo/whatsapp-mcp-go#1