Sleep MCP Server

by Garoth

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

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Tools

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.

  1. Available Tools
    1. Installation
      1. Configuration
        1. Development
          1. Setting Up Tests
          2. Building
        2. License

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
            Last updated -
            3
            9
            36
            JavaScript
            Apache 2.0
          • -
            security
            A
            license
            -
            quality
            MCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.
            Last updated -
            4
            3
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            This server implements the Model Context Protocol (MCP) to handle asynchronous tasks with real-time status tracking, robust error handling, and automatic resource management.
            Last updated -
            2
            1
            JavaScript
            MIT License
          • -
            security
            -
            license
            -
            quality
            A specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.
            Last updated -
            1
            TypeScript

          View all related MCP servers

          ID: ebli96s3w9