Add Smithery configuration

This commit is contained in:
smithery-ai[bot] 2025-03-25 05:06:44 +00:00 committed by GitHub
parent fb4a68b7a5
commit a3f5237caf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 23 additions and 0 deletions

23
smithery.yaml Normal file
View File

@ -0,0 +1,23 @@
# 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