# 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:
- emqxApiUrl
- emqxApiKey
- emqxApiSecret
properties:
emqxApiUrl:
type: string
description: The URL of the EMQX API endpoint.
emqxApiKey:
type: string
description: API key for authenticating with the EMQX API.
emqxApiSecret:
type: string
description: API secret for authenticating with the EMQX API.
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'emqx-mcp-server',
args: [],
env: {
EMQX_API_URL: config.emqxApiUrl,
EMQX_API_KEY: config.emqxApiKey,
EMQX_API_SECRET: config.emqxApiSecret
}
})