Skip to main content
Glama

Sleep MCP Server

by Garoth

睡眠 MCP 服务器

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

可用工具

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

安装

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

执照

麻省理工学院

Deploy Server
A
security – no known vulnerabilities
-
license - not tested
A
quality - confirmed to work

Tools

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

  1. 可用工具
    1. 安装
      1. 配置
        1. 发展
          1. 设置测试
          2. 建筑
        2. 执照

          Related MCP Servers

          • -
            security
            -
            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 -
            3
            4
            MIT License
          • -
            security
            -
            license
            -
            quality
            MCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.
            Last updated -
            6
            3
            MIT License
          • -
            security
            -
            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.
          • -
            security
            -
            license
            -
            quality
            A Model Context Protocol (MCP) server that interacts with system APIs, allowing users to check connections, search employees, register breakfast, and update chemical information by shifts.

          View all related MCP servers

          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