Skip to main content
Glama
Sleep MCP Server

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

Related MCP server: MCP-Wait

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

Available Tools

1 tool
sleepB

Wait for a specified duration

Inputs: milliseconds (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools, as there are no other tools to compare it to. The tool's purpose is singular and clearly defined, eliminating any ambiguity.

    Naming Consistency5/5

    A single tool inherently has perfect naming consistency, as there are no other names to compare it against. The tool name 'sleep' is straightforward and follows a simple verb pattern, which is consistent in this minimal context.

    Tool Count2/5

    A single tool for a server named 'Sleep MCP Server' feels thin and under-scoped, as it only provides a basic waiting function without any related operations like scheduling, monitoring, or configuration. This minimal set may not fully represent a server's purpose beyond a trivial utility.

    Completeness1/5

    The server is severely incomplete for any meaningful domain beyond a simple delay function; there are no tools for related tasks such as setting alarms, managing sleep schedules, or handling interruptions. This single tool offers no coverage for a broader sleep-related workflow, leading to significant gaps.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides a simple 'wait' tool that introduces deliberate pauses into workflows executed by MCP clients, allowing time for asynchronous operations to complete before proceeding to the next step.
      1
      1
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      A simple MCP server that provides waiting functionality to pause until other tasks finish, with progress reporting and support for CLI or HTTP server with SSE.
      1
      5
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A server implementation of the Model Context Protocol (MCP) that provides REST API endpoints for managing and interacting with MCP resources.
      -
    • A
      license
      A
      quality
      D
      maintenance
      A minimal MCP server that lets AI agents pause for a specified duration before resuming their workflow. Useful for polling patterns like waiting for PR approval or file creation.
      1
      6 npm
      MIT