Add Smithery configuration
This commit is contained in:
parent
fb4a68b7a5
commit
a3f5237caf
|
@ -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
|
Loading…
Reference in New Issue