smithery.yaml•1.17 kB
# Smithery.ai configuration
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- CB_CONNECTION_STRING
- CB_USERNAME
- CB_PASSWORD
- CB_BUCKET_NAME
properties:
CB_USERNAME:
type: string
description: The username with access to the bucket to use to connect
CB_PASSWORD:
type: string
description: The password for the username to connect
CB_CONNECTION_STRING:
type: string
description: The connection string for the Couchbase cluster.
CB_BUCKET_NAME:
type: string
description: The name of the bucket that the server will access
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
(config) => ({
"command": "uv",
"args": [
"run",
"src/mcp_server.py"
],
"env": {
"CB_CONNECTION_STRING": config.CB_CONNECTION_STRING,
"CB_USERNAME": config.CB_USERNAME,
"CB_PASSWORD": config.CB_PASSWORD,
"CB_BUCKET_NAME": config.CB_BUCKET_NAME,
}
})