From 2b762bdca5f52be267525508766753614181bc82 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Sun, 13 Apr 2025 00:02:22 -0700 Subject: [PATCH 1/3] Add Dockerfile --- Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..876c942 --- /dev/null +++ b/Dockerfile @@ -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" ] From 233014d5518b80f14f1898e6527e141aff8aeb55 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Sun, 13 Apr 2025 00:02:22 -0700 Subject: [PATCH 2/3] Add Smithery configuration --- smithery.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..f715fa4 --- /dev/null +++ b/smithery.yaml @@ -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: {} From abe9ffccb1d2bf668c53fe776ff50e2b352e8fe2 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Sun, 13 Apr 2025 00:02:23 -0700 Subject: [PATCH 3/3] Update README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index a8f444e..ed58b6d 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ 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 @@ -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