diff --git a/Dockerfile b/Dockerfile index 46f86ba..46732ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile FROM node:22-bookworm-slim # Set the working directory @@ -19,4 +20,4 @@ COPY . . RUN npm run build # Run in headless and only with chromium (other browsers need more dependencies not included in this image) -ENTRYPOINT ["node", "cli.js", "--headless", "--browser", "chromium"] \ No newline at end of file +ENTRYPOINT ["node", "cli.js", "--headless", "--browser", "chromium"] diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..50c9f22 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,13 @@ +# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml + +startCommand: + type: stdio + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + description: No configuration needed + commandFunction: + # A JS function that produces the CLI command based on the given config to start the MCP on stdio. + |- + (config) => ({ command: 'node', args: ['cli.js', '--headless', '--browser', 'chromium'] }) + exampleConfig: {}