From 39995cdfe93b94cc7dbf1a8daae6612956872bbf Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Sun, 11 May 2025 06:34:14 +0000 Subject: [PATCH 1/3] Add Dockerfile --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d8a795e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM denoland/deno:alpine-2.3.1 + +WORKDIR /app + +# Copy dependency files +COPY deno.json deno.lock ./ + +# Copy source code +COPY . . + +# Compile the application to a binary +RUN deno compile --allow-all --output think-tool-bin server.ts + +# Set the binary as the entrypoint +# CMD will be provided by smithery.yaml +CMD ["./think-tool-bin"] From 959215aab0281bf5b54b666b36a59e6a73af16ea Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Sun, 11 May 2025 06:34:16 +0000 Subject: [PATCH 2/3] Add Smithery configuration --- smithery.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..ce83778 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,27 @@ +# Smithery configuration file: https://smithery.ai/docs/build/project-config + +build: + dockerfile: Dockerfile + dockerBuildPath: . +startCommand: + type: stdio + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + required: [] + properties: + logLevel: + type: string + default: info + description: Logging level for the Think Tool MCP + commandFunction: + # A JS function that produces the CLI command based on the given config to start the MCP on stdio. + |- + (config) => ({ + "command": "./think-tool-bin", + "args": [], + "env": { + "DENO_LOG_LEVEL": config.logLevel || "info", + "DENO_NO_UPDATE_CHECK": "1" + } + }) From 7401e030488a494d515c42126fbce6eb92627534 Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Sun, 11 May 2025 06:34:17 +0000 Subject: [PATCH 3/3] Update README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 5712d29..ced44bc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Think Tool (v0.0.2) +[![smithery badge](https://smithery.ai/badge/@sterling/think-tool)](https://smithery.ai/server/@sterling/think-tool) A powerful Model Context Protocol (MCP) server that enhances AI reasoning capabilities by providing a structured thinking environment. @@ -20,6 +21,14 @@ Think Tool is a lightweight MCP server built with Deno and FastMCP that provides ## Installation +### Installing via Smithery + +To install think-tool for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@sterling/think-tool): + +```bash +npx -y @smithery/cli install @sterling/think-tool --client claude +``` + ### One-Click Installation with Smithery The easiest way to install Think Tool is with the Smithery CLI: