✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

Sleep MCP Server

Sleep MCP Logo

A Model Context Protocol (MCP) server that provides a simple sleep/wait tool. Useful for adding delays between operations, such as waiting between API calls or testing eventually consistent systems.

Available Tools

  • sleep: Wait for a specified duration in milliseconds

Installation

git clone https://github.com/Garoth/sleep-mcp.git
npm install

Configuration

Add to your Cline MCP settings file (ex. ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json):

{
  "mcpServers": {
    "sleep": {
      "command": "node",
      "args": ["/path/to/sleep-server/build/index.js"],
      "disabled": false,
      "autoApprove": [],
      "timeout": 300
    }
  }
}

Note: The timeout parameter specifies the maximum time (in milliseconds) that the MCP server will wait for a response before timing out. This is particularly important for the sleep tool, as setting a timeout that’s shorter than your sleep duration will cause the operation to fail. Make sure your timeout value is always greater than the maximum sleep duration you plan to use.

Development

Setting Up Tests

The tests verify the sleep functionality with various durations:

npm test

Building

npm run build

License

MIT

Sleep MCP Server

165 GitHub stars

Project Details

Featured Templates

View More
Verified Icon
AI Agents
AI Chatbot Starter Kit
1293 5676 5.0
Data Analysis
Pharmacy Admin Panel
232 1504
AI Engineering
Python Bug Fixer
117 944
Customer service
Service ERP
125 650
AI Characters
Your Speaking Avatar
163 591
Customer service
Multi-language AI Translator
135 555

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.