From eb8b82094cf53eb5091a90d2dd78ab6b89198eec Mon Sep 17 00:00:00 2001 From: royalpinto007 Date: Tue, 28 Jul 2026 13:17:39 +0530 Subject: [PATCH] chore: add smithery.yaml for Smithery deployment Adds a Smithery project config so the server can be built and run on Smithery (https://smithery.ai) as a stdio MCP server, using the existing Dockerfile. Exposes QDRANT_URL, QDRANT_API_KEY, COLLECTION_NAME, and EMBEDDING_MODEL as session config. Closes #93 --- smithery.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 00000000..63f5adf3 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,38 @@ +# Smithery configuration file +# https://smithery.ai/docs/build/project-config/smithery.yaml +build: + dockerBuildPath: . +startCommand: + type: stdio + configSchema: + # JSON Schema defining the configuration options for the MCP server. + type: object + required: + - qdrantUrl + properties: + qdrantUrl: + type: string + description: URL of the Qdrant server (e.g. https://xyz.cloud.qdrant.io:6333). + qdrantApiKey: + type: string + description: API key for the Qdrant server. + collectionName: + type: string + description: Name of the default collection to use. + embeddingModel: + type: string + default: sentence-transformers/all-MiniLM-L6-v2 + description: FastEmbed model to use for embeddings. + commandFunction: + # Produces the CLI command that starts the MCP server on stdio. + |- + (config) => ({ + command: 'mcp-server-qdrant', + args: ['--transport', 'stdio'], + env: { + QDRANT_URL: config.qdrantUrl, + QDRANT_API_KEY: config.qdrantApiKey || '', + COLLECTION_NAME: config.collectionName || '', + EMBEDDING_MODEL: config.embeddingModel || 'sentence-transformers/all-MiniLM-L6-v2' + } + })