Connect
Optimize
Secure
Announcing StackOne Defender: leading open-source prompt injection guard for your agent • Read More →
Production-ready Discord MCP server with 145 extensible actions — plus built-in authentication, security, and optimized execution.
Coverage
Create, read, update, and delete across Discord — and extend your agent's capabilities with custom actions.
Authentication
Per-user OAuth in one call. Your Discord MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Every Discord tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Discord call.
Tools Discovery →A Discord MCP server lets AI agents read and write Discord data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Discord MCP server ships with 145 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
Every action from Discord's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Returns the application role connection for the user
Updates and returns the application role connection for the user
Returns the guild object for the given id
Delete a guild permanently
Create a new channel object for the guild
Returns a list of guild channel objects
Adds a user to the guild using an OAuth2 access token
Returns a list of guild member objects that are members of the guild
Returns a list of guild member objects whose username or nickname starts with a provided string
Returns a guild member object for the specified user
Remove a member from a guild (kick)
Create a guild ban and optionally delete previous messages
Returns a list of ban objects for the users banned from this guild
Returns a ban object for the given user
Remove the ban for a user
Create a new role for the guild
Returns a list of role objects for the guild
Returns a role object for the specified role
Delete a guild role
Adds a role to a guild member
Removes a role from a guild member
Returns a list of integration objects for the guild
Delete the attached integration object for the guild
Get a channel by ID
Delete a channel or close a private message
Get messages from a channel
Get a specific message in a channel
Send a message to a channel
Delete a message
Create a reaction for a message
Get users who reacted with an emoji
Create a new invite object for the channel
Returns a list of invite objects for the channel
Adds another member to a thread
Returns a thread member object for the specified user if they are a member of the thread
Returns array of thread members objects that are members of the thread
Removes another member from a thread
Adds a recipient to a Group DM using their access token
Removes a recipient from a Group DM
Create a new auto moderation rule
Get a single auto moderation rule
Delete an auto moderation rule
Create a new emoji for the guild
Get a list of emojis for the guild
Get a specific emoji from the guild
Delete a guild emoji
Create a new emoji for the application
Get a list of emojis for the application
Get a specific emoji from the application
Delete an application emoji
Get all entitlements for the application
Get a specific entitlement
Create a test entitlement for testing premium features
Delete a test entitlement
Create a new scheduled event for the guild
Get all scheduled events for a guild
Get a specific scheduled event
Delete a scheduled event
Create a new template for the guild
Get a guild template by code
Get all templates for a guild
Sync template to guild's current state
Delete a guild template
Get an invite by code
Delete an invite
Create a new lobby
Get a lobby by ID
Delete a lobby
Create a new DM channel with a user
Create a new group DM channel with multiple users
Add a user to a lobby
Returns the user object of the requester's account
Returns a user object for a given user ID
Returns a list of partial guild objects the current user is a member of
Returns a guild member object for the current user
Returns a list of connection objects
Returns the application object associated with the requesting bot user
Returns a list of application role connection metadata objects for the given application
Returns a serialized activity instance if it exists
Returns the guild preview object for the given id
Returns a list of invite objects for the guild
Returns all active threads in the guild
Returns a map of role IDs to member counts
Returns the number of members that would be removed in a prune operation
Returns a list of voice region objects for the guild
Returns a guild widget settings object
Returns the widget for the guild
Returns a partial invite object for guilds with that feature enabled
Returns a PNG image widget for the guild
Returns the Welcome Screen object for the guild
Returns the Onboarding object for the guild
Returns all pinned messages in the channel
Returns archived threads in the channel that are public
Returns archived threads in the channel that are private
Returns archived threads in the channel that are private, and the user has joined
Returns an audit log object for the guild
Get a list of all rules currently configured for the guild
Get all SKUs for the application
Get users subscribed to a scheduled event
Get users allowed to accept this invite
Check the status of target users processing job
Get pinned messages in a channel
Delete a reaction the current user made
Delete another user's reaction
Delete all reactions on a message
Delete all reactions for a specific emoji
Delete a channel permission overwrite for a user or role
Remove a user from a lobby
Modify the requester's user account settings
Leave a guild
Edit properties of the app associated with the requesting bot user
Modify a guild's settings
Modify attributes of a guild member
Modify a guild role
Modifies the current member in a guild
Ban up to 200 users from a guild
Modify the positions of a set of role objects for the guild
Begin a prune operation
Modify a guild widget settings object for the guild
Modify the guild's Welcome Screen
Modifies the onboarding configuration of the guild
Modifies the incident actions of the guild
Update a channel's settings
Edit a previously sent message
Delete multiple messages in a single request
Pin a message in a channel
Unpin a message in a channel
Post a typing indicator for the specified channel
Creates a new thread from an existing message
Creates a new thread that is not connected to an existing message
Adds the current user to a thread
Removes the current user from a thread
Edit the channel permission overwrites for a user or role
Follow an announcement channel to send messages to a target channel
Modify an existing auto moderation rule
Modify an existing guild emoji
Modify an existing application emoji
Mark a consumable entitlement as consumed
Modify an existing scheduled event
Modify a guild template's metadata
Modify a lobby
Leave a lobby as current user
Link a text channel to a lobby
Unlink any linked channels from a lobby
Crosspost a message to following channels
One endpoint. Any framework. Your agent is talking to Discord in under 10 lines of code.
MCP Clients
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
origin_owner_id.All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.