インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Discord Bot をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
任意のAIエージェントからDiscord REST API経由でDiscordのチャンネルとDMにメッセージ、embeds、ファイル、リアクションを送信できます。13ツール、Bot Token認証。送信対応 + チャンネル/guildの軽量読み取り(gateway / websocket / voiceなし)。
こう聞いてみよう
Discord Bot のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Discord Bot をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
Discord Bot + Gemini
任意のAIエージェントからDiscord REST API経由でDiscordのチャンネルとDMにメッセージ、embeds、ファイル、リアクションを送信できます。13ツール、Bot Token認証。送信対応 + チャンネル/guildの軽量読み取り(gateway / websocket / voiceなし)。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
DISCORD_BOT_TOKEN
ステップ 1 — 認証情報を取得
Setup:
- Open https://discord.com/developers/applications → New Application → name it (this becomes the app, not the bot).
- Sidebar → Bot → Reset Token → copy the token. Treat as a secret — anyone with it can act as the bot.
- Sidebar → Installation (or OAuth2 → URL Generator in older UI): pick scope
bot, then permissions like Send Messages, Embed Links, Attach Files, Read Message History, Add Reactions, View Channels. Open the generated URL in a browser to install the bot into a server (you must be admin or have Manage Server). Repeat per server. - Set
DISCORD_BOT_TOKENto the token from step 2.
…(continued in the in-app connector instructions)
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Gemini にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Gemini CLI は ~/.gemini/settings.json (Windows は %APPDATA%\gemini\settings.json) から MCP サーバを読み込みます。追加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の MCP Servers → 対象のサーバー → API keys で MCP API key を取得。
- ファイルを保存し
geminiを再起動。 - Gemini CLI で
/mcpを実行 —Discord Botが利用可能として表示されます。 - Vertex AI Studio: 同じ
X-API-Keyヘッダーでhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDをリクエストのtools配列に渡してください。
利用可能なツール
| Tool | What it does |
|---|---|
discord_bot_get_current_user | Return the bot's own user object (id, username, discriminator, avatar) |
discord_bot_list_guilds | List the servers (guilds) the bot is a member of |
discord_bot_get_guild | Fetch a single guild by ID |
discord_bot_list_guild_channels | List all channels (text, voice, category, threads' parents) in a guild |
discord_bot_get_channel | Fetch a single channel by ID |
discord_bot_send_message | Send a message to a channel or thread |
discord_bot_edit_message | Edit a message the bot previously sent |
discord_bot_delete_message | Delete a message |
discord_bot_list_messages | Fetch recent messages from a channel |
discord_bot_add_reaction | Add a reaction emoji to a message as the bot |
discord_bot_create_dm_channel | Open a DM channel with a user |
discord_bot_create_thread_from_message | Start a public thread anchored to an existing message |
discord_bot_get_guild_member | Fetch a guild member by user_id |
FAQ
Gemini 1.5 Pro / 2.x は MCP をサポートしますか? はい — Gemini CLI ≥ 0.4 と Vertex AI tools API は カスタムヘッダー付きの httpUrl MCP コネクタを受け入れます。
次のステップ
このガイドは役に立ちましたか?