24 lines
701 B
YAML
24 lines
701 B
YAML
# 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:
|
|
- discordToken
|
|
properties:
|
|
discordToken:
|
|
type: string
|
|
description: Discord bot token. Obtain this from the Discord Developer Portal.
|
|
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: { DISCORD_TOKEN: config.discordToken }
|
|
})
|
|
exampleConfig:
|
|
discordToken: YOUR_DISCORD_BOT_TOKEN
|