From 1da3b7db7e2d445d872becd71b49aa44c9634c64 Mon Sep 17 00:00:00 2001 From: us Date: Sat, 18 Jul 2026 04:34:53 +0300 Subject: [PATCH] chore(mcp): add Smithery stdio config for crw-mcp smithery.yaml at repo root launches the published crw-mcp npm package on stdio (npx -y crw-mcp) with a configSchema exposing an optional fastCRW API key mapped to CRW_API_KEY. Enables Smithery's local install path; the hosted https://fastcrw.com/mcp endpoint is listed via the URL method. --- smithery.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 00000000..56ef7aa5 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,27 @@ +# Smithery configuration — https://smithery.ai/docs/build/publish +# Local stdio server: Smithery launches `crw-mcp` from npm and clients run it +# locally. The hosted remote endpoint (https://fastcrw.com/mcp, streamable HTTP +# + OAuth) is listed separately via Smithery's URL method, no repo file needed. +startCommand: + type: stdio + configSchema: + # JSON Schema for the config Smithery collects from the user at install time. + type: object + properties: + crwApiKey: + type: string + title: fastCRW API key + description: >- + API key from https://fastcrw.com for the hosted API. Optional — the + free tier works without one. Self-hosters can leave it blank and set + CRW_API_URL in their own environment. + commandFunction: + # Produces the CLI command Smithery runs to start the MCP server on stdio. + |- + (config) => ({ + command: 'npx', + args: ['-y', 'crw-mcp'], + env: config.crwApiKey ? { CRW_API_KEY: config.crwApiKey } : {} + }) + exampleConfig: + crwApiKey: crw_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx