Developer workflow connector
Discord connector for governed AI agent access
Connect Discord with a bot token or OAuth bearer token for Discord REST API access.
Direct answer
OneQuery supports Discord for governed agent access.
Teams use the Discord connector to give AI agents bounded source API calls for endpoint-specific context while OneQuery keeps credentials centralized, limits access to approved sources, and preserves audit logs for review.
Agent workflow
What this connector enables
Discord becomes an approved OneQuery source instead of a secret copied into an agent prompt, shell session, or model tool. The agent receives a governed access path, and the source credentials stay behind OneQuery.
- Use bounded source API calls for endpoint-specific context for developer workflow context.
- Keep Discord credentials centralized and out of agent runtimes.
- Review agent access through OneQuery audit history instead of reconstructing direct service usage.
Setup checklist
Prepare the Discord connection
Use discord credentials and connect the source through the Dashboard and CLI. Keep credentials scoped to the data the agent is allowed to read.
- Create a Discord application and bot in the Developer Portal, or provide an OAuth token with the scopes required by the endpoints you will call.
- Copy the token into `credentials.token`; leave `authScheme` as `bot` for bot tokens or set it to `bearer` for OAuth access tokens.
- Optionally include `guildId` so selectors like `/channels` expand to `/guilds/<guildId>/channels`.
FAQ
Discord connector questions
What is the OneQuery Discord connector?
The OneQuery Discord connector makes developer workflow context from Discord available to AI agents through bounded source API calls for endpoint-specific context. Connect Discord with a bot token or OAuth bearer token for Discord REST API access.
How do AI agents access Discord through OneQuery?
Agents call OneQuery instead of receiving raw Discord credentials. OneQuery keeps credentials centralized, applies source boundaries, and records access in audit logs while exposing bounded source API calls for endpoint-specific context.
How do I set up the Discord connector?
Prepare discord credentials and connect Discord from the OneQuery dashboard or CLI. Start with this setup step: Create a Discord application and bot in the Developer Portal, or provide an OAuth token with the scopes required by the endpoints you will call.