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 服务器
Perplexity MCP Server
DaInfernalCoderA Model Context Protocol (MCP) server for research and documentation assistance using Perplexity AI. Won 1st @ Cline Hackathon
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
1Panel
1Panel-dev🔥 1Panel is a modern, open-source VPS control panel — and the only one with native AI agent support. Run Ollama models, deploy OpenClaw agents, and manage your entire server stack from one clean web interface.
Model Context Protocol Server for Home Assistant
tevonsbA MCP server for Home Assistant
1MCP - One MCP Server for All
1mcp-appA unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.
评论