Skip to main content

The #1 agentic semantic tool search: 91.6% first-try accuracy on S1 Search Bench Explore Tool Discovery

Live 81 Actions

Discord MCP Server
for AI Agents

Connect your AI agent to StackOne's Discord MCP server and give it 81 MCP tools out of the box. Auth, tool execution, and security all managed.

Discord logo
Discord MCP Server
Built by StackOne StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

Coverage

81 Agent Actions

Create, read, update, and delete across Discord — and extend your agent's capabilities with custom actions.

Authentication

Agent Tool 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

Agent Protection

Every Discord tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Discord call.

Tools Discovery →

What is the Discord MCP Server?

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 81 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All Discord MCP Tools

Every action from Discord's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.

Current User Application Role Connections

  • Get Current User Application Role Connection

    Returns the application role connection for the user. Requires OAuth2 — does not work with bot token.

  • Update Current User Application Role Connection

    Updates and returns the application role connection for the user. Requires OAuth2 — does not work with bot token.

Guild Channels

  • Create Guild Channel

    Create a new channel object for the guild

  • List Guild Channels

    Returns a list of guild channel objects

Guild Members

  • Add Guild Member

    Adds a user to the guild using an OAuth2 access token. Requires OAuth2 — does not work with bot token alone.

  • List Guild Members

    Returns a list of guild member objects that are members of the guild

  • Search Guild Members

    Returns a list of guild member objects whose username or nickname starts with a provided string

  • Get Guild Member

    Returns a guild member object for the specified user

  • Remove Guild Member

    Remove a member from a guild (kick)

Guild Bans

  • Create Guild Ban

    Create a guild ban and optionally delete previous messages

  • List Guild Bans

    Returns a list of ban objects for the users banned from this guild

Guild Roles

  • List Guild Roles

    Returns a list of role objects for the guild

  • Get Guild Role

    Returns a role object for the specified role

  • Delete Guild Role

    Delete a guild role

Guild Member Roles

  • Add Guild Member Role

    Adds a role to a guild member

  • Remove Guild Member Role

    Removes a role from a guild member

Channels

  • Get Channel

    Get a channel by ID

  • Delete Channel

    Delete a channel or close a private message

Reactions

  • Create Reaction

    Create a reaction for a message

  • List Reactions

    Get a list of users that reacted with this emoji

Channel Invites

  • Create Channel Invite

    Create a new invite object for the channel

  • List Channel Invites

    Returns a list of invite objects for the channel

Thread Members

  • Get Thread Member

    Returns a thread member object for the specified user if they are a member of the thread

  • List Thread Members

    Returns array of thread members objects that are members of the thread

  • Remove Thread Member

    Removes another member from a thread

Auto Moderation Rules

  • Get Auto Moderation Rule

    Get a single auto moderation rule

  • Delete Auto Moderation Rule

    Delete an auto moderation rule

Guild Emojis

  • Create Guild Emoji

    Create a new emoji for the guild

  • List Guild Emojis

    Get a list of emojis for the guild

  • Get Guild Emoji

    Get a specific emoji from the guild

  • Delete Guild Emoji

    Delete a guild emoji

Application Emojis

  • Create Application Emoji

    Create a new emoji for the application

  • List Application Emojis

    Get a list of emojis for the application

  • Get Application Emoji

    Get a specific emoji from the application

  • Delete Application Emoji

    Delete an application emoji

Guild Scheduled Events

  • List Guild Scheduled Events

    Get all scheduled events for a guild

  • Get Guild Scheduled Event

    Get a specific scheduled event

  • Delete Guild Scheduled Event

    Delete a scheduled event

Channel Messages

  • Get Channel Messages

    Get messages from a channel

  • Get Channel Message

    Get a specific message in a channel

Other (41)

  • Create DM

    Create a new DM channel with a user

  • Create Message

    Send a message to a channel

  • Get Current User

    Returns the user object of the requester's account

  • Get User

    Returns a user object for a given user ID

  • List Current User Guilds

    Returns a list of partial guild objects the current user is a member of

  • Get Current User Guild Member

    Returns a guild member object for the current user

  • List Current User Connections

    Returns a list of connection objects

  • Get Current Application

    Returns the application object associated with the requesting bot user

  • Get Application Role Connection Metadata Records

    Returns a list of application role connection metadata objects for the given application

  • Get Guild

    Returns the guild object for the given id

  • Get Guild Preview

    Returns the guild preview object for the given id

  • List Guild Invites

    Returns a list of invite objects for the guild

  • List Active Guild Threads

    Returns all active threads in the guild

  • Get Guild Role Member Counts

    Returns a map of role IDs to member counts

  • List Guild Integrations

    Returns a list of integration objects for the guild

  • Get Guild Onboarding

    Returns the Onboarding object for the guild

  • Get Guild Audit Log

    Returns an audit log object for the guild

  • List Auto Moderation Rules For Guild

    Get a list of all rules currently configured for the guild

  • List Guild Scheduled Event Users

    Get users subscribed to a scheduled event

  • Get Invite

    Get an invite by code

  • Delete Channel Permission

    Delete a channel permission overwrite for a user or role

  • Delete Own Reaction

    Delete a reaction the current user made

  • Delete User Reaction

    Delete another user's reaction

  • Delete All Reactions

    Delete all reactions on a message

  • Delete All Reactions For Emoji

    Delete all reactions for a specific emoji

  • Modify Current User

    Modify the requester's user account settings

  • Leave Guild

    Leave a guild

  • Modify Guild

    Modify a guild's settings

  • Modify Current Member

    Modifies the current member in a guild

  • Bulk Update Guild Role Positions

    Modify the positions of a set of role objects for the guild

  • Modify Channel

    Update a channel's settings

  • Start Thread From Message

    Creates a new thread from an existing message

  • Start Thread Without Message

    Creates a new thread that is not connected to an existing message

  • Join Thread

    Adds the current user to a thread

  • Leave Thread

    Removes the current user from a thread

  • Edit Channel Permissions

    Edit the channel permission overwrites for a user or role

  • Follow Announcement Channel

    Follow an announcement channel to send messages to a target channel

  • Modify Guild Emoji

    Modify an existing guild emoji

  • Modify Application Emoji

    Modify an existing application emoji

  • Edit Message

    Edit a previously sent message

  • Bulk Delete Messages

    Delete multiple messages in a single request

Set Up Your Discord MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to Discord in under 10 lines of code.

Agent Frameworks

Claude Desktop
{
  "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>"
      ]
    }
  }
}

Check More Communication MCP Servers

Basecamp

118+ actions

Webex

112+ actions

SendGrid

100+ actions

Vimeo

100+ actions

Braze

98+ actions

Mailgun

89+ actions

JustCall

76+ actions

Discord MCP Server FAQ

Does StackOne have a Discord MCP server?
Yes. StackOne offers a hosted Discord MCP server with 81 pre-built actions, and every action is tested and QA'd by StackOne. Connect it to Claude, Cursor, and any other MCP client, or to any agent framework through the AI Action SDK. It ships with managed agent authentication, prompt injection defense, and tool discovery with server-side execution that preserve your agent's context window and keep reasoning performance.
Discord MCP server vs direct API integration — what's the difference?
A Discord MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling Discord. A Discord MCP server is for AI agents — MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI — discovering and calling Discord at runtime. StackOne provides both.
How does Discord authentication work for AI agents?
Discord authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK — you get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own Discord account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are Discord MCP tools vulnerable to prompt injection?
Yes — Discord MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content — documents, messages, tickets, records, or free-text fields — is a potential vector. StackOne Defender scans every tool response before it enters the agent's context — regex patterns in ~1ms, then a MiniLM classifier in ~4ms. 88.7% accuracy, CPU-only.
What is the context bloat of a Discord agent and how do I avoid it?
Context bloat happens when Discord tool schemas and API responses eat your Discord agent's memory, preventing it from reasoning effectively. A single Discord query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery and Code Mode reduce context bloat — loading only relevant tools per query and keeping raw responses out of the agent's context.
Can I limit which actions my Discord agent can access?
Yes — you can limit which actions your Discord agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my Discord MCP server?
Yes — you can create custom agent actions for your Discord MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research Discord's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a Discord MCP server?
Skip a Discord MCP server if your integration is purely software-to-software — direct Discord API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call Discord actions at runtime.
What AI frameworks and AI clients does the StackOne Discord MCP server support?
The StackOne Discord MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.