Wait Timer
STDIOMCP server providing a simple wait tool for introducing deliberate pauses.
MCP server providing a simple wait tool for introducing deliberate pauses.
An MCP (Model Context Protocol) server providing a simple wait
tool.
Watch the demo video: https://www.youtube.com/watch?v=TaF_j9wrWVw
This server exposes a single tool, wait
, designed to introduce deliberate pauses into workflows executed by MCP clients (e.g., Cline, Claude Desktop, Cursor).
MCP clients and the AI models driving them often operate sequentially. After executing a command or action (like a web request, file operation, or API call), the model might proceed to the next step immediately. However, some actions require additional time to fully complete their effects (e.g., background processes finishing, web pages fully rendering after JavaScript execution, file system propagation).
Since the model cannot always reliably detect when these asynchronous effects are complete, it might proceed prematurely, leading to errors or incorrect assumptions in subsequent steps.
wait
ToolThis server provides a wait
tool that allows the user or the AI prompt to explicitly instruct the client to pause for a specified duration before continuing. This ensures that time-dependent operations have sufficient time to complete.
Tool: wait
duration_seconds
(number, required): The duration to wait, in seconds. Must be a positive number.Example Prompt: "Navigate to example.com, fill the login form, click submit, then wait for 5 seconds and capture a screenshot."
Example Prompt: "Run 'npm run build', wait for 15 seconds, then check if the 'dist/app.js' file exists."
This server requires Node.js (version 16 or higher).
Add the following JSON block within the "mcpServers": {}
object in your client's configuration file. Choose the file corresponding to your client and operating system:
Configuration Block:
"wait-timer": { "command": "npx", "args": ["mcp-wait-timer"], "env": {}, "disabled": false, "autoApprove": [] }
Client Configuration File Locations:
Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
(Path may vary slightly)VS Code Extension (Cline / "Claude Code"):
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Cursor:
~/.cursor/mcp.json
.cursor/mcp.json
within your project folder.Windsurf:
~/.codeium/windsurf/mcp_config.json
Other Clients:
After adding the configuration block and saving the file, fully restart your MCP client application for the changes to take effect. The first time the client starts the server, npx
will automatically download the mcp-wait-timer
package if it's not already cached.
Once installed and enabled, you can instruct your MCP client:
"Please wait for 10 seconds before proceeding."
The client's AI model should recognize the intent and call the wait
tool with duration_seconds: 10
.
This tool was developed as part of the initiatives at 199 Longevity, a group focused on extending the frontiers of human health and longevity.
Learn more about our work in biotechnology at 199.bio.
Project contributor: Boris Djordjevic
This project is licensed under the MIT License - see the LICENSE file for details.