mcpField
S
Sleep Mcp Server

Sleep Mcp Server

Local
github.com/erichung9060AI & Agents0Updated 66w ago

About Sleep Mcp Server

Sleep Mcp Server is a lightweight MCP server for LLMs that need a timed pause in a workflow, such as while waiting for an API response or new data. It provides a single sleep tool that waits for a specified number of seconds.

Key features

  1. 01Wait for a specified number of seconds

Use cases

  1. 01Pause a workflow while an API responds
  2. 02Wait until new data is available

MCP support

It exposes a sleep tool to MCP clients so an LLM can wait for a specified duration.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"sleep-mcp-2.0": {
"command": "npx",
"args": [
"-y",
"sleep-mcp"
]
}
}
}
Run commandnpx -y sleep-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmsleep-mcp

Tools

1

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
secondsnumberYesNumber of seconds to sleep (must be greater than 0)

Details

From the project README

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.