Skip to main content
Glama
Garoth

Sleep MCP Server

by Garoth

睡眠 MCP 服务器

提供简单睡眠/等待工具的模型上下文协议 (MCP) 服务器。可用于在操作之间添加延迟,例如在 API 调用之间等待,或测试最终一致性系统。

可用工具

  • sleep :等待指定的时间(以毫秒为单位)

Related MCP server: MCP-Wait

安装

git clone https://github.com/Garoth/sleep-mcp.git
npm install

配置

添加到您的 Cline MCP 设置文件(例如 ~/.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
    }
  }
}

注意: timeout参数指定 MCP 服务器在超时前等待响应的最长时间(以毫秒为单位)。这对于 sleep 工具尤为重要,因为设置的超时时间短于睡眠时长会导致操作失败。请确保超时值始终大于您计划使用的最大睡眠时长。

发展

设置测试

测试验证了不同持续时间的睡眠功能:

npm test

建筑

npm run build

执照

麻省理工学院

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Tools

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
    47
    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
    11
    5
    MIT
  • A
    license
    A
    quality
    C
    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
    16
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP (Model Context Protocol) server for Appwrite

  • A basic MCP server to operate on the Postman API.

  • An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Garoth/sleep-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server