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"] 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 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