Sleep MCP Server - Secure MCP Server by ALMC Security 2025

Sleep MCP Server

View on GitHub

Sleep MCP Server

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

Related in Development - Secure MCP Servers

ServerSummaryActions
MCP ForgeA powerful MCP server generator for Smithery with Cursor IDE integration.View
Supra Code Generator MCPLean MCP integration for generating Supra Move contracts and TypeScript SDK code.View
Smithery Reference ServersThis repository is a collection of reference implementations for the Model Context Protocol (MCP), a...View
MCP Ollama AgentThis project demonstrates integration between Model Context Protocol (MCP) servers and Ollama, allow...View
MCPilotA powerful, FastAPI-based gateway for the Model Context Protocol (MCP), designed to unify and scale...View
Apifox MCP Server使用 Apifox MCP Server,可以将 Apifox 项目内的接口文档作为数据源提供给 Cursor 等支持 AI 编程的 IDE...View