# 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:
- serpapiApiKey
properties:
serpapiApiKey:
type: string
description: SerpApi API key for authenticating requests
description: Configuration for Google Patents MCP Server
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['build/index.js'],
env: { SERPAPI_API_KEY: config.serpapiApiKey }
})
exampleConfig:
serpapiApiKey: YOUR_SERPAPI_API_KEY_HERE