From 87762d8ed6c20d3efcd0bf875208e3f3574162a8 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Wed, 21 May 2025 06:04:43 -0700 Subject: [PATCH 1/3] Add Dockerfile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8d9606e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config +FROM python:3.11-slim + +# Prevent Python from buffering stdout/stderr +ENV PYTHONUNBUFFERED=1 + +WORKDIR /app + +# Copy project files +COPY pyproject.toml README.md ./ +COPY src ./src + +# Install dependencies and package +RUN pip install --no-cache-dir . + +# Default command to run the MCP server over stdio +ENTRYPOINT ["devrev-mcp"] From f9a84b81fb45dcabb8cb1f2dfcae013c83e16b27 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Wed, 21 May 2025 06:04:44 -0700 Subject: [PATCH 2/3] Add Smithery configuration --- smithery.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..c9ed4fb --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,19 @@ +# Smithery configuration file: https://smithery.ai/docs/build/project-config + +startCommand: + type: stdio + commandFunction: + # A JS function that produces the CLI command based on the given config to start the MCP on stdio. + |- + (config) => ({ command: 'devrev-mcp', args: [], env: { DEVREV_API_KEY: config.devrevApiKey } }) + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + required: + - devrevApiKey + properties: + devrevApiKey: + type: string + description: DevRev API key for authentication + exampleConfig: + devrevApiKey: YOUR_DEVREV_API_KEY From bf883c1c3093c5a2306daad0acf42faed63f3a29 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Wed, 21 May 2025 06:04:45 -0700 Subject: [PATCH 3/3] Update README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2e1d400..a4adc2f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # DevRev MCP server +[![smithery badge](https://smithery.ai/badge/@devrev/mcp-server)](https://smithery.ai/server/@devrev/mcp-server) ## Overview