Get the FREE Ultimate OpenClaw Setup Guide →

mcp-wait

MCP Server to allow AI models to wait

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio amico1285-mcp-wait-server node build/index.js \
  --env MCP_WAIT_TOOL_DESCRIPTION="Waits for a specified number of seconds. Use this to create a delay after starting a long-running operation (like a script or download via another tool), allowing it time to complete before you proceed or check its status." \
  --env MCP_WAIT_MAX_DURATION_SECONDS="210"

How to use

This MCP server provides two time-related tools for Claude Desktop: wait and get_datetime. The server is implemented in TypeScript and compiled to build/index.js, which is executed by Node.js. Once running, Claude can access the tools to pause execution for a given number of seconds or to retrieve the current date and time in ISO 8601 format. The wait tool is useful to insert deliberate delays after long-running operations, while get_datetime is handy for timestamping or scheduling tasks.

To use from Claude Desktop, configure your mcpServers entry to point to the server. The common approach is to run the server via Node in your environment (e.g., using build/index.js). Tools exposed by this server will include: wait, which pauses for a specified duration (with a configurable maximum, default 210 seconds, and internal handling for longer waits), and get_datetime, which returns the current ISO 8601 timestamp. You can customize the description of the wait tool via environment variables when configuring Claude Desktop.

How to install

Prerequisites:

  • Node.js 18+ and npm installed
  • Access to the project source or npm package (mcp-wait-server)

Option A: Install via npm (recommended for immediate usage)

  1. Install globally (optional, e.g., for direct invocation): npm install -g mcp-wait-server
  2. Run the server directly (if installed globally): mcp-wait-server

Option B: Build from source

  1. Clone the repository: git clone https://github.com/Amico1285/mcp-wait-server.git
  2. Install dependencies: cd mcp-wait-server npm install
  3. Build the project: npm run build
  4. Run the server directly: npm start

Option C: Use with npx (no installation required)

  1. In Claude Desktop configuration, you can reference the package with npx: { "mcpServers": { "wait_server": { "command": "npx", "args": ["mcp-wait-server@latest"] } } }

Additional notes

Environment variables:

  • MCP_WAIT_MAX_DURATION_SECONDS: maximum single wait duration in seconds (default 210)
  • MCP_WAIT_TOOL_DESCRIPTION: custom description for the wait tool shown to Claude users Common issues:
  • Ensure Node.js 18+ is installed when building/running from source.
  • If using npx, ensure network access to fetch the package.
  • When using the built file directly (node build/index.js), make sure dependencies are installed (npm install) and the build artifacts exist.
  • If Claude Desktop cannot discover tools, verify that the mcpServers configuration matches the server name and that the server process is running.

Related MCP Servers

Sponsor this space

Reach thousands of developers