Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine

# Create app directory
WORKDIR /app

# Install app dependencies
COPY package*.json ./

# Install dependencies without running lifecycle scripts
RUN npm install --ignore-scripts

# Copy the rest of the application
COPY . .

# Build the application
RUN npm run build


# Expose any ports if necessary (none in this MCP server)

# Start the MCP server
CMD [ "node", "build/index.js" ]
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

<img src="assets/sleep-server.png" width="256" alt="Sleep MCP Logo" />

[![smithery badge](https://smithery.ai/badge/@Garoth/sleep-mcp)](https://smithery.ai/server/@Garoth/sleep-mcp)

A Model Context Protocol (MCP) server that provides a simple sleep/wait tool. Useful for adding delays between operations, such as waiting between API calls or testing eventually consistent systems.

## Available Tools
Expand All @@ -10,6 +12,15 @@ A Model Context Protocol (MCP) server that provides a simple sleep/wait tool. Us

## Installation

### Installing via Smithery

To install Sleep Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@Garoth/sleep-mcp):

```bash
npx -y @smithery/cli install @Garoth/sleep-mcp --client claude
```

### Manual Installation
```bash
git clone https://github.com/Garoth/sleep-mcp.git
npm install
Expand Down
14 changes: 14 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml

startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
properties: {}
default: {}
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: 'node', args: ['build/index.js'] })
exampleConfig: {}