smithery.yaml•676 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:
- xhsCookie
properties:
xhsCookie:
type: string
description: The cookie string for Xiaohongshu authentication (XHS_COOKIE).
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: 'uvx', args: ['xhs-auto-mcp', '--transport', 'stdio'], env: { XHS_COOKIE: config.xhsCookie } })
exampleConfig:
xhsCookie: your_cookie_here