Claude MCP Approval Server
@adstastic
Claude MCP Approval Server について
MCP server with Whatsapp integration (Twilio) to remote approve Claude Code tool use
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"claude-code-whatsapp-approval": {
"command": "python",
"args": [
"setup_template.py"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
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.
「AI とエージェント」の他のコンテンツ
MCP Client for Ollama (ollmcp)
joniglHarness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved pre
Shell and Coding agent for Claude and other mcp clients
rusiaamanShell and coding agent on mcp clients
MCP-NixOS - Because Your AI Assistant Shouldn't Hallucinate About Packages
utensilsMCP-NixOS - Model Context Protocol Server for NixOS resources
MCP-LLM Bridge
patruffBridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Model Context Protocol for Unreal Engine
chongdashuEnable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).
コメント