From 0479d9972ace91b93a2002f1d9a2de7aeb689180 Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 23:47:57 -0500 Subject: [PATCH] Deployment: Dockerfile and Smithery config (#1) Co-authored-by: smithery-ai[bot] <194235850+smithery-ai[bot]@users.noreply.github.com> --- Dockerfile | 25 +++++++++++++++++++++++++ README.md | 11 +++++++++++ smithery.yaml | 17 +++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 Dockerfile create mode 100644 smithery.yaml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d105070 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile +FROM node:lts-alpine + +# Create app directory +WORKDIR /app + +# Install pnpm +RUN npm install -g pnpm + +# Copy package files +COPY package.json pnpm-lock.yaml ./ + +# Install dependencies without running prepare scripts (we run build explicitly) +RUN pnpm install --frozen-lockfile --ignore-scripts + +# Copy rest of the source +COPY . . + +# Build the project +RUN pnpm run build + +# Expose any necessary port if needed, but MCP uses stdio so not required + +# Set the entry point +CMD [ "node", "build/index.js" ] diff --git a/README.md b/README.md index 4f4b4ae..f86e255 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # MCP LLMS.txt Explorer +[![smithery badge](https://smithery.ai/badge/@thedaviddias/mcp-llms-txt-explorer)](https://smithery.ai/server/@thedaviddias/mcp-llms-txt-explorer) + A Model Context Protocol server for exploring websites with llms.txt files. This server helps you discover and analyze websites that implement the llms.txt standard. ## Features @@ -36,6 +38,15 @@ pnpm run watch ## Installation +### Installing via Smithery + +To install mcp-llms-txt-explorer for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@thedaviddias/mcp-llms-txt-explorer): + +```bash +npx -y @smithery/cli install @thedaviddias/mcp-llms-txt-explorer --client claude +``` + +### Installing Manually To use this server: ```bash diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..174c4a8 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,17 @@ +# 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: {} + 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'], + env: {} + }) + exampleConfig: {}