What is Discord (as a tool)?
Discord (as a tool) is a communication tool. With OSP.net, your AI agent connects to it directly so it can act on your behalf instead of just answering questions about it.
What your OSP agent can do with Discord (as a tool)
- Post messages to channels
- Read channel history and threads
- Manage channels and roles (per the bot's permissions)
How to connect Discord (as a tool)
- Open the Discord Developer Portal → New Application. Then under Bot, click Reset Token and copy the token (shown once). discord.com/developers/applications
- Under Bot → Privileged Gateway Intents, enable Message Content Intent if you want the agent to read message text.
- Invite the bot to your server with the permissions you want (OAuth2 → URL Generator → scope bot). The agent can only do what the bot is allowed to do. Discord Docs: OAuth2 / bot invite
- Paste the bot token here and Connect. Your agent runs the Discord MCP server with it. Discord MCP server
Security: The bot only sees servers it's invited to and can only do what its server permissions allow — keep them minimal (e.g. read + send in a single channel). Reset the token any time from the Developer Portal.
Related communication integrations
Frequently asked questions
- Can OSP.net connect to Discord (as a tool)?
- Yes. Discord (as a tool) is a native OSP.net integration — you bring your own Discord (as a tool) key or token, paste it in your dashboard, and your agent restarts live.
- What can my OSP agent do with Discord (as a tool)?
- Your agent posts to and reads your Discord server. Different from the Discord channel: the channel is where you TALK to your agent; this lets the agent USE Discord — post updates, read history — from any channel it's in. Specifically: Post messages to channels; Read channel history and threads; Manage channels and roles (per the bot's permissions).
- Is Discord (as a tool) a native integration or via the gateway?
- Discord (as a tool) is a native, baked-in integration. You connect it with your own credentials, which are stored in an encrypted vault and injected only at runtime.
- Is my Discord (as a tool) data secure with OSP.net?
- Yes. Your Discord (as a tool) credentials live in an encrypted secrets vault, are injected only at container runtime, and are never written to disk in plaintext or used to train any model. Each customer runs in a fully isolated instance.