# Install Discord Bot — agent prompt

Paste the prompt below into your agent (Claude, ChatGPT, Cursor, OpenClaw…) and it will connect itself to the remote MCP server.

## Install prompt

```text
Use Discord Bot as a remote MCP server over HTTP/streamable-http at https://api.mcp.ai/p_discordbot?ms=1781542260000. Don't treat it as local/stdio, don't run npx/node to "spin up" a server, and don't assume that just registering the URL in a config is enough — the goal is to actually connect and call the tools.

Authentication (client without browser OAuth): (1) list the tools — you should see show_version, report_bug and authenticate; (2) call authenticate with no arguments → it returns a login link (/agent-auth); (3) show that link to the user and ask them to open it, log in at mcp.ai, and copy the access token (Bearer JWT) shown on the page; (4) when they paste the token back, call authenticate again with { "token": "<jwt_pasted_by_user>" }.

Once identity is confirmed, call connect → if it returns an authorization link, show it to the user so they can open it and authorize access. Once connected, use the server's read-only tools (e.g. discordbot_add_group_dm_user, discordbot_add_guild_member, discordbot_add_guild_member_role, discordbot_add_my_message_reaction, discordbot_add_thread_member, discordbot_ban_user_from_guild).

Be operational: actually try the connection and run the whole flow; don't stop at "I added the URL" and don't say "it's not possible" without first trying authenticate and connect.
```

## MCP server URL
Remote endpoint (HTTP, streamable): `https://api.mcp.ai/p_discordbot?ms=1781542260000`

## More
- Page: https://mcp.ai/discordbot
- How to use (skill.md): https://mcp.ai/discordbot/skill.md
- Agent spec (llms.txt): https://mcp.ai/discordbot/llms.txt
