smithery.yaml•759 B
# 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:
- connectionString
properties:
connectionString:
type: string
description: PostgreSQL connection string, e.g.,
postgresql://username:password@host:port/database
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'python',
args: ['postgres_server.py', '--conn', config.connectionString]
})
exampleConfig:
connectionString: postgresql://user:pass@localhost:5432/mydatabase