Sleep Mcp Server

by erichung9060

359 downloads
Not rated
GitHub

About

A lightweight MCP server providing a sleep tool for LLMs to wait for specified durations. Perfect for API response delays and controlled timing in AI workflows.

Details

Author
erichung9060
Downloads
359
Categories
Other

- Offers a single tool: sleep with configurable seconds.
- Lightweight and easy to install via npx.
- Open source with clear development setup.
- Designed for LLMs needing to pause execution.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Sleep Mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Configure the server in your MCP client settings using the command npx -y sleep-mcp. The server offers a single tool sleep that takes a number of seconds as argument.

sleep

Wait for the specified number of seconds.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "sleep mcp server": {
            "sleep": {
                "type": "stdio",
                "command": "npx",
                "args": [
                    "-y",
                    "sleep-mcp"
                ]
            }
        }
    }
}

McpServers

{
    "sleep": {
        "type": "stdio",
        "command": "npx",
        "args": [
            "-y",
            "sleep-mcp"
        ]
    }
}

Sleep MCP Server 2.0

A MCP server that provides a simple sleep tool for LLMs to wait for specified durations, such as waiting for an API response or for new data to become available.

Available Tools

sleep : Waits for a given number of seconds.

Installation

Configure in your MCP client settings:
{
  "mcpServers": {
    "sleep": {
      "command": "npx",
      "args": ["-y", "sleep-mcp"]
    }
  }
}

Development

Setup

git clone https://github.com/erichung9060/sleep-mcp-2.0
cd sleep-mcp-2.0
npm install

Run

npm start

Build

npm run build

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.