/ smithery.yaml
smithery.yaml
 1  # Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
 2  
 3  startCommand:
 4    type: stdio
 5    configSchema:
 6      # JSON Schema defining the configuration options for the MCP.
 7      type: object
 8      required:
 9        - arxivStoragePath
10      properties:
11        arxivStoragePath:
12          type: string
13          description: The path to store downloaded papers.
14    commandFunction:
15      # A function that produces the CLI command to start the MCP on stdio.
16      |-
17      (config) => ({ command: 'python', args: ['-m', 'arxiv_mcp_server'], env: { ARXIV_STORAGE_PATH: config.arxivStoragePath } })