diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..12f48ee --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile +FROM python:3.10-alpine + +# Install build dependencies +RUN apk add --no-cache gcc musl-dev openssl-dev libffi-dev + +WORKDIR /app + +# Copy project files +COPY . /app + +# Upgrade pip and install the package +RUN pip install --upgrade pip \ + && pip install . + +# Expose port if necessary (not required for stdio) + +# Default command starts the MCP server +CMD ["mcp-think-tool"] diff --git a/README.md b/README.md index b6cec80..5600fa7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # MCP Think Tool Server +[![smithery badge](https://smithery.ai/badge/@ddkang1/mcp-think-tool)](https://smithery.ai/server/@ddkang1/mcp-think-tool) + A Model Context Protocol (MCP) server implementing the "think" tool for improving Claude's complex reasoning capabilities. ## Overview @@ -15,6 +17,15 @@ This MCP server implements the "think" tool as described in Anthropic's [blog po ## Installation +### Installing via Smithery + +To install mcp-think-tool for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@ddkang1/mcp-think-tool): + +```bash +npx -y @smithery/cli install @ddkang1/mcp-think-tool --client claude +``` + +### Manual Installation Install from PyPI: ```bash diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..f4f66fc --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,18 @@ +# 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: + transport: + type: string + default: stdio + description: Transport type for MCP server. Typically 'stdio' or 'sse'. + commandFunction: + # A JS function that produces the CLI command based on the given config to start the MCP on stdio. + |- + (config) => ({ command: 'mcp-think-tool', args: [] }) + exampleConfig: + transport: stdio