startCommand:
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- apifoxUserAccessToken
properties:
apifoxUserAccessToken:
type: string
description: The personal access token for accessing the Apifox API.
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
(config) => ({ command: 'node', args: ['dist/index.js'], env: { APIFOX_USER_ACCESS_TOKEN: config.apifoxUserAccessToken } })
type: stdio