Claude MCP Approval Server
@adstastic
About Claude MCP Approval Server
MCP server with Whatsapp integration (Twilio) to remote approve Claude Code tool use
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"claude-code-whatsapp-approval": {
"command": "python",
"args": [
"setup_template.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Claude MCP Approval Server?
A Model Context Protocol (MCP) server that provides approval prompts via WhatsApp before executing potentially sensitive commands. Built with FastMCP and Twilio, it is designed for users of Claude who want a security layer on tool execution.
How to use Claude MCP Approval Server?
Install dependencies with uv install, set up a Twilio account, configure environment variables in .env, create a WhatsApp template, expose your local server via ngrok or Tailscale, configure the Twilio webhook, start the server with uv run approval_server.py, then launch Claude with --mcp-config mcp-servers.json and --permission-prompt-tool mcp__approval-server__permissions__approve. Approve or deny commands by tapping WhatsApp quick-reply buttons.
Key features of Claude MCP Approval Server
- Intercepts tool executions and requests approval via WhatsApp
- Uses Twilio to send requests with quick‑reply buttons
- Built on FastMCP for easy Claude integration
- Requests automatically expire after 5 minutes
- SQLite database tracks approval request history
- Only accepts responses from the configured phone number
Use cases of Claude MCP Approval Server
- Approve bash commands or file operations from anywhere via WhatsApp
- Add a security review step before Claude executes sensitive tools
- Enable remote teams to control infrastructure actions with two‑factor approval
- Maintain an audit trail of which commands were allowed or denied
FAQ from Claude MCP Approval Server
How does the approval process work?
When Claude attempts to execute a tool, the permissions__approve function sends a WhatsApp message with formatted command details and quick‑reply buttons. Your tap approves or denies execution.
What happens if I don’t respond to an approval request?
The request expires after 5 minutes for security. If no response is received, Claude does not execute the command.
Does the approval server work in interactive Claude mode?
No. Non‑interactive mode (without the -p flag) does not use the --permission-prompt-tool flag, so approval prompts are not triggered in that mode.
Which phone number receives the approval messages?
The phone number set in the APPROVAL_PHONE environment variable. This must be the same number that joined the Twilio WhatsApp sandbox.
Does using the -p prompt mode affect network access for the server?
The -p (prompt) mode itself has no network access, but the MCP server runs as a separate process and can still send WhatsApp requests if it has network connectivity.
Frequently asked questions
How does the approval process work?
When Claude attempts to execute a tool, the `permissions__approve` function sends a WhatsApp message with formatted command details and quick‑reply buttons. Your tap approves or denies execution.
What happens if I don’t respond to an approval request?
The request expires after 5 minutes for security. If no response is received, Claude does not execute the command.
Does the approval server work in interactive Claude mode?
No. Non‑interactive mode (without the `-p` flag) does not use the `--permission-prompt-tool` flag, so approval prompts are not triggered in that mode.
Which phone number receives the approval messages?
The phone number set in the `APPROVAL_PHONE` environment variable. This must be the same number that joined the Twilio WhatsApp sandbox.
Does using the `-p` prompt mode affect network access for the server?
The `-p` (prompt) mode itself has no network access, but the MCP server runs as a separate process and can still send WhatsApp requests if it has network connectivity.
Basic information
More AI & Agents MCP servers
🔎 GPT Researcher
assafelovicAn autonomous agent that conducts deep research on any data using any LLM providers
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
Solon Ai
opensolonJava AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java25. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.
1MCP - One MCP Server for All
1mcp-appA unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.
Sequential Thinking Multi-Agent System (MAS)
FradSerAn advanced sequential thinking process using a Multi-Agent System (MAS) built with the Agno framework and served via MCP.
Comments