MCPサーバー

Discord

io.github.mcp-dir/discord-mcp

このMCPでできること

Connects a Discord bot to read, send, edit, delete, and react to messages, manage guild and channel data, and send direct messages.

authenticate
MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'token': {'type': 'string'}}}
connect
Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
discord_add_reaction
Add a reaction to a message. `emoji` is either unicode (e.g. `👍`) or `name:id` for custom guild emoji. Bulk support: accepts channel_ids, message_ids for batched execution.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['channel_id', 'message_id', 'emoji'], 'properties': {'emoji': {'type': 'string'}, 'account': {'type': 'string'}, 'channel_id': {'type': 'string'}, 'message_id': {'type': 'string'}, 'channel_ids': {'type': 'array', 'items': {'type': 'string'}}, 'message_ids': {'type': 'array', 'items': {'type': 'string'}}}}
discord_delete_message
Delete a message. Irreversible. Bot needs Manage Messages to delete messages authored by other users. Bulk support: accepts channel_ids, message_ids for batched execution.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['channel_id', 'message_id'], 'properties': {'account': {'type': 'string'}, 'channel_id': {'type': 'string'}, 'message_id': {'type': 'string'}, 'channel_ids': {'type': 'array', 'items': {'type': 'string'}}, 'message_ids': {'type': 'array', 'items': {'type': 'string'}}}}
discord_edit_message
Edit a previously-sent message (must be authored by this bot). Bulk support: accepts channel_ids, message_ids for batched execution.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['channel_id', 'message_id'], 'properties': {'embeds': {'type': 'array', 'items': {}}, 'account': {'type': 'string'}, 'content': {'type': 'string'}, 'channel_id': {'type': 'string'}, 'message_id': {'type': 'string'}, 'channel_ids': {'type': 'array', 'items': {'type': 'string'}}, 'message_ids': {'type': 'array', 'items': {'type': 'string'}}}}
discord_get_channel
Get a channel's metadata (type, name, topic, parent, permissions). Bulk support: accepts channel_ids for batched execution.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['channel_id'], 'properties': {'account': {'type': 'string'}, 'channel_id': {'type': 'string'}, 'channel_ids': {'type': 'array', 'items': {'type': 'string'}}}}
discord_get_guild
Get one guild's metadata. Falls back to the connection's default guild_id. Bulk support: accepts guild_ids for batched execution.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}, 'guild_id': {'type': 'string'}, 'guild_ids': {'type': 'array', 'items': {'type': 'string'}}}}
discord_get_me
Return the bot's own user profile (id, username, discriminator, avatar, etc).
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}}}
discord_get_message
Fetch a single message by id. Bulk support: accepts channel_ids, message_ids for batched execution.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['channel_id', 'message_id'], 'properties': {'account': {'type': 'string'}, 'channel_id': {'type': 'string'}, 'message_id': {'type': 'string'}, 'channel_ids': {'type': 'array', 'items': {'type': 'string'}}, 'message_ids': {'type': 'array', 'items': {'type': 'string'}}}}
discord_get_user
Public profile of any Discord user by id. Bulk support: accepts user_ids for batched execution.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['user_id'], 'properties': {'account': {'type': 'string'}, 'user_id': {'type': 'string'}, 'user_ids': {'type': 'array', 'items': {'type': 'string'}}}}
discord_list_accounts
List Discord bot connections linked to this install — id, label, default guild_id.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}}}
discord_list_channels
List channels in a guild. Falls back to the connection's default guild_id. Bulk support: accepts guild_ids for batched execution.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}, 'guild_id': {'type': 'string'}, 'guild_ids': {'type': 'array', 'items': {'type': 'string'}}}}
discord_list_guild_members
List members of a guild. Requires the bot to have the Server Members intent enabled in the developer portal — may return 403 otherwise. Bulk support: accepts guild_ids for batched execution.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'after': {'type': 'string'}, 'limit': {'type': 'number', 'default': 100}, 'account': {'type': 'string'}, 'guild_id': {'type': 'string'}, 'guild_ids': {'type': 'array', 'items': {'type': 'string'}}}}
discord_list_guilds
List the servers (guilds) the bot is a member of.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'after': {'type': 'string'}, 'limit': {'type': 'number', 'default': 100}, 'before': {'type': 'string'}, 'account': {'type': 'string'}}}
discord_list_messages
Read recent messages from a channel (newest first). Pagination via `before` / `after` / `around` (message ids). Requires Message Content intent for non-bot message bodies in some cases. Bulk support: accepts channel_ids for batched execution.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['channel_id'], 'properties': {'after': {'type': 'string'}, 'limit': {'type': 'number', 'default': 50}, 'around': {'type': 'string'}, 'before': {'type': 'string'}, 'account': {'type': 'string'}, 'channel_id': {'type': 'string'}, 'channel_ids': {'type': 'array', 'items': {'type': 'string'}}}}
discord_send_dm
Open a DM channel with a user and send them a message. The bot and the user must share a guild. Bulk support: accepts user_ids for batched execution.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['user_id'], 'properties': {'embeds': {'type': 'array', 'items': {}}, 'account': {'type': 'string'}, 'content': {'type': 'string'}, 'user_id': {'type': 'string'}, 'user_ids': {'type': 'array', 'items': {'type': 'string'}}}}
discord_send_message
Post a message to a channel. Provide `content` (text up to 2000 chars), `embeds` (rich JSON), or both. `reply_to` makes it a reply. Bulk support: accepts channel_ids for batched execution.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['channel_id'], 'properties': {'embeds': {'type': 'array', 'items': {}}, 'account': {'type': 'string'}, 'content': {'type': 'string'}, 'reply_to': {'type': 'string'}, 'channel_id': {'type': 'string'}, 'channel_ids': {'type': 'array', 'items': {'type': 'string'}}}}
marketplace
The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.
外部アクセスあり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number', 'default': 10}, 'query': {'type': 'string', 'default': ''}, 'action': {'enum': ['search', 'describe', 'install', 'uninstall', 'subscribe', 'cancel', 'resume', 'report_bug', 'request_mcp', 'list_tools', 'invoke', 'search_prompts', 'get_prompt', 'publish_prompt'], 'type': 'string', 'default': 'search'}, 'mcp_id': {'type': 'string', 'default': ''}, 'message': {'type': 'string', 'default': ''}, 'tool_id': {'type': 'string', 'default': ''}, 'arguments': {'type': 'string', 'default': '{}'}, 'immediate': {'type': 'boolean', 'default': False}, 'tier_slug': {'type': 'string', 'default': ''}, 'prompt_body': {'type': 'string', 'default': ''}, 'prompt_slug': {'type': 'string', 'default': ''}, 'prompt_tool': {'type': 'string', 'default': ''}, 'prompt_vars': {'type': 'string', 'default': '{}'}, 'conversation': {'type': 'string', 'default': '[]'}, 'prompt_title': {'type': 'string', 'default': ''}, 'request_name': {'type': 'string', 'default': ''}, 'cancel_reason': {'enum': ['too_expensive', 'missing_features', 'switched_service', 'unused', 'customer_service', 'too_complex', 'low_quality', 'other'], 'type': 'string'}, 'cancel_comment': {'type': 'string', 'default': ''}, 'prompt_targets': {'type': 'array', 'items': {'enum': ['claude', 'chatgpt', 'cursor', 'lovable'], 'type': 'string'}, 'default': []}, 'report_context': {'type': 'string', 'default': ''}, 'prompt_category': {'type': 'string', 'default': ''}, 'request_details': {'type': 'string', 'default': ''}, 'prompt_description': {'type': 'string', 'default': ''}}}
report_bug
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['message'], 'properties': {'context': {'type': 'string', 'default': ''}, 'message': {'type': 'string'}, 'conversation': {'type': 'string', 'default': '[]'}}}
show_version
Show the current MCP platform and adapter versions.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
toolkit_info
Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
追加
authenticate
2026年9月17日12:44
追加
marketplace
2026年9月17日12:44
追加
toolkit_info
2026年9月17日12:44
追加
connect
2026年9月17日12:44
追加
report_bug
2026年9月17日12:44
追加
show_version
2026年9月17日12:44
追加
discord_delete_message
2026年9月17日12:44
追加
discord_add_reaction
2026年9月17日12:44
追加
discord_edit_message
2026年9月17日12:44
追加
discord_send_dm
2026年9月17日12:44
追加
discord_send_message
2026年9月17日12:44
追加
discord_get_user
2026年9月17日12:44
追加
discord_get_message
2026年9月17日12:44
追加
discord_list_messages
2026年9月17日12:44
追加
discord_get_channel
2026年9月17日12:44
追加
discord_list_guild_members
2026年9月17日12:44
追加
discord_list_channels
2026年9月17日12:44
追加
discord_get_guild
2026年9月17日12:44
追加
discord_list_guilds
2026年9月17日12:44
追加
discord_get_me
2026年9月17日12:44
追加
discord_list_accounts
2026年9月17日12:44