ask-user-mcp
ask-user-mcp
MCP server that enables Claude to pause and ask clarifying questions via Emacs.
Quick Start
npm install
npm run buildBuilt files are in build/.
agent-shell Configuration
Add to ~/.config/agent-shell/mcp-servers.json:
{
"mcpServers": {
"ask-user": {
"command": "node",
"args": ["/REPLACE/WITH/ABSOLUTE/PATH/ask-user-mcp/build/index.js"]
}
}
}Replace /REPLACE/WITH/ABSOLUTE/PATH/ with the actual path to this project.
Emacs Setup
Add to your Emacs config:
;; ask-user-mcp support
(load-file "/REPLACE/WITH/ABSOLUTE/PATH/ask-user-mcp/emacs/ask-user.el")
;; Ensure Emacs server is running (required for emacsclient)
(unless (server-running-p)
(server-start))Replace /REPLACE/WITH/ABSOLUTE/PATH/ with the actual path to this project.
Tool Parameters
The ask_user tool accepts:
question (required): The question to ask the user
header (optional): Context displayed above the question in the prompt
timeout_ms (optional): How long to wait for response
Minimum: 30 seconds (30000)
Maximum: 30 minutes (1800000)
Default: 5 minutes (300000)
Debugging
Enable debug logs to see Q&A audit trail:
LOG_LEVEL=debug node build/index.jsDebug logs include: question, response, duration, and success/error status.
For common issues, see TROUBLESHOOTING.md.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrx-xo/ask-user-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server