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

执照

麻省理工学院

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Tools

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

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

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
            Last updated -
            3
            9
            36
            JavaScript
            Apache 2.0
          • -
            security
            A
            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 -
            4
            3
            TypeScript
            MIT License
          • -
            security
            A
            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.
            Last updated -
            2
            1
            JavaScript
            MIT License
          • -
            security
            -
            license
            -
            quality
            A specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.
            Last updated -
            1
            TypeScript

          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