# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- account
- database
- warehouse
- schema
- user
- password
- role
properties:
account:
type: string
description: Snowflake account
database:
type: string
description: Snowflake database
warehouse:
type: string
description: Snowflake warehouse
schema:
type: string
description: Snowflake schema
user:
type: string
description: Snowflake user
password:
type: string
description: Snowflake password
role:
type: string
description: Snowflake role
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
// Wrap the JSON string in single quotes to avoid shell parsing issues
command: 'python',
args: [
'-m', 'mcp_snowflake_reader.main', '--connection', "'" + JSON.stringify(config) + "'"
]
})
exampleConfig:
account: your-account
database: your-database
warehouse: your-warehouse
schema: your-schema
user: your-user
password: your-password
role: your-role