From a3f5237caf111b8dc72fc9536fc5b7c12558a865 Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Tue, 25 Mar 2025 05:06:44 +0000 Subject: [PATCH] Add Smithery configuration --- smithery.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..643df1e --- /dev/null +++ b/smithery.yaml @@ -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