diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..08bc2ee --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile +FROM python:3.13-slim + +WORKDIR /app + +# Copy all files into the container +COPY . . + +# Upgrade pip and install dependencies +RUN pip install --no-cache-dir --upgrade pip \ + && pip install --no-cache-dir -r requirements.txt + +# Expose port if necessary, though MCP uses stdio by default +# EXPOSE 8765 + +# Command to run the MCP server +CMD ["python", "server.py"] diff --git a/README.md b/README.md index 866f941..29841bf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # DeltaTask - Advanced Task Management System +[![smithery badge](https://smithery.ai/badge/@brysontang/DeltaTask)](https://smithery.ai/server/@brysontang/DeltaTask) A powerful, locally-hosted task management application with Obsidian integration and a Model Context Protocol (MCP) server. @@ -68,6 +69,14 @@ The MCP server exposes the following operations: ### Installation +#### Installing via Smithery + +To install DeltaTask for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@brysontang/DeltaTask): + +```bash +npx -y @smithery/cli install @brysontang/DeltaTask --client claude +``` + 1. Clone this repository 2. Set up the Python environment using `uv`: diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..de4a78c --- /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: {} + description: No configuration is required to start the DeltaTask MCP server. + commandFunction: + # A JS function that produces the CLI command based on the given config to start the MCP on stdio. + |- + (config) => ({ command: 'python', args: ['server.py'], env: {} }) + exampleConfig: {}