afk-ask-mcp
v0.1.0
Published
MCP server for asking questions via Discord
Maintainers
Readme
afk-ask-mcp
An MCP server that sends questions to users via Discord and waits for their replies.
Environment Variables
| Variable | Description |
| -------------------------------- | ---------------------------- |
| AFK_ASK_MCP_DISCORD_TOKEN | Discord Bot token |
| AFK_ASK_MCP_DISCORD_CHANNEL_ID | Channel ID to send questions |
Usage
claude mcp add afk-ask \
--env AFK_ASK_MCP_DISCORD_TOKEN=your-bot-token \
--env AFK_ASK_MCP_DISCORD_CHANNEL_ID=your-channel-id \
-- npx -y afk-ask-mcpTool
afk_ask
Sends a question to the configured Discord channel and waits for a reply.
Parameters:
question(string): The question to ask the user
Returns: The content of the reply message
Discord Bot Setup
- Create a bot at Discord Developer Portal
- Enable MESSAGE CONTENT INTENT under Bot settings (Privileged Gateway Intents)
- Invite the bot to your server with the following permissions:
- Send Messages
- Read Message History
- View Channel
License
MIT
