Discord for AI agents.
Let your AI agents work in Discord — read messages, send replies, and manage guild context — through a routed, audited connection. Open Connector runs the OAuth, seals the token in an encrypted vault, and serves Discord tools to your agent over MCP or a typed API — credentials injected server-side, every call audited, nothing leaving your infrastructure. Open source (AGPL-3.0) and self-hostable.
# Add your Open Connector MCP server (per-user mcp_url)
$ claude mcp add --transport http \
open-connector <your mcp_url>
# Then ask: “open an issue for the launch checklist”// .cursor/mcp.json
{
"mcpServers": {
"open-connector": { "url": "<your mcp_url>" }
}
}const composio = new Composio({
apiKey: "oc_…",
baseURL: "https://connect.acme.com", // your host
});
await composio.tools.proxy({ … });{
"tool": "DISCORD_CURRENT_USER_CONNECTIONS_LIST",
"arguments": { … }
}Real Discord actions, managed and audited.
Your user connects Discord once; your agent can then read and send guild messages and work across channels — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.
- 01Connect
Your user grants Discord access once (OAuth) — the token lands in the vault.
- 02Call
Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.
- 03Audit
Every routed call appends a hash-chained audit record — nothing leaves your infra.
Supported Discord tools.
Browse 4 tools in the Discord catalog. Each action uses your configured authentication and tool allowlist.
Showing 4 tools.
- List Discord current user connections
- DISCORD_CURRENT_USER_CONNECTIONS_LIST
- Lists external account connections for the authenticated Discord user.
- connectionsread
- Get Discord current user
- DISCORD_CURRENT_USER_GET
- Gets the authenticated Discord user's profile.
- usersread
- List Discord current user guilds
- DISCORD_CURRENT_USER_GUILDS_LIST
- Lists partial guilds that the authenticated Discord user belongs to.
- guildsread
- Get Discord current user guild member
- DISCORD_CURRENT_USER_GUILD_MEMBER_GET
- Gets the authenticated user's guild member profile for a specific Discord guild.
- guildsmembersread
Discord integration, answered
- How do AI agents use Discord through Open Connector?
- Your user connects Discord once (OAuth). Open Connector stores the token in an encrypted vault and exposes Discord tools to your agent over MCP or a typed API. The agent calls tools as needed, with credentials injected server-side.
- Can agents send and read messages safely?
- Yes. With allowlists and OAuth scopes, actions stay limited to what your integration policy permits and every action remains auditable.
- Where do Discord OAuth tokens live?
- In your infrastructure. Open Connector keeps them in the vault and injects credentials on call so agents never hold raw tokens.
Give your agents Discord — keep the keys.
Open source, self-hostable, with Discord credentials that never leave your infrastructure. Run it from source today.