# 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:
- pubmedEmail
properties:
pubmedEmail:
type: string
description: Your email address, required by NCBI for accessing the PubMed API.
pubmedApiKey:
type: string
description: Optional API key for higher rate limits on PubMed API requests.
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
(config) => ({ command: 'python', args: ['-m', 'mcp_simple_pubmed'], env: { PUBMED_EMAIL: config.pubmedEmail, PUBMED_API_KEY: config.pubmedApiKey || '' } })