Connect
Optimize
Secure
Announcing StackOne Defender: leading open-source prompt injection guard for your agent • Read More →
Production-ready Discourse MCP server with 67 extensible actions — plus built-in authentication, security, and optimized execution.
Coverage
Create, read, update, and delete across Discourse — and extend your agent's capabilities with custom actions.
Authentication
Per-user OAuth in one call. Your Discourse MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Every Discourse 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 Discourse call.
Tools Discovery →A Discourse MCP server lets AI agents read and write Discourse data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Discourse MCP server ships with 67 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 Discourse's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Create a new custom badge (admin only).
List all badges available in the Discourse instance (admin only).
Update the settings of an existing badge (admin only).
Permanently delete a badge (admin only).
Create a new topic category (admin only).
Retrieve a single category by its ID.
Update the settings or metadata of an existing category (admin only).
Create a new user group in Discourse (admin only).
List all groups in the Discourse instance.
Retrieve details about a specific group by its name.
Update the settings or metadata of an existing group.
Permanently delete a group (admin only).
Add one or more users to a group.
Get all members of a specific group.
Remove one or more users from a group.
Create a new reply in an existing topic, or create a new topic with an initial post.
Retrieve a single post by its ID.
Edit the Markdown content of an existing post.
Delete a post from a topic.
Send a private message to one or more users or groups.
Get private messages received by a specific user.
List all tags used in the Discourse forum.
Retrieve details and topics for a specific tag.
Create a new tag group to organize related tags (admin only).
List all tag groups defined in the Discourse instance.
Retrieve a specific tag group by its ID.
Update the name or tags of an existing tag group (admin only).
Create a new topic in the Discourse forum.
Retrieve a single topic and its posts by topic ID.
Update the title, category, or tags of an existing topic.
Delete a topic and all its posts (admin or moderator only).
Create a new user account in the Discourse instance.
List all users in the Discourse instance (admin only).
Retrieve a user's public profile by their username.
Update a user's profile information.
Permanently delete a user account (admin only).
Perform an action on a post such as liking, bookmarking, or flagging.
Schedule an automatic action on a topic at a future date and time.
Get all badges earned by a specific user.
List all topic categories in the Discourse instance.
Get all topics in a specific category.
Retrieve details about a specific group by its numeric ID.
List notifications for the currently authenticated user.
Get the latest posts from across all topics in the forum.
Get all direct replies to a specific post.
Get private messages sent by a specific user.
Search for topics, posts, users, and categories across the Discourse forum.
Retrieve full site configuration and metadata for the Discourse instance.
Retrieve basic public information about the Discourse instance.
Retrieve public site statistics and staff information.
Get the latest topics from the Discourse forum, sorted by recent activity.
Get the top-ranked topics filtered by time period from the Discourse forum.
Retrieve specific posts from a topic by their post IDs.
List users filtered by account status flag (admin only).
Retrieve a user's full details by their numeric ID (admin only).
Get a list of actions performed by a specific user.
Retrieve the email addresses associated with a user account (admin only).
Retrieve a Discourse user by their external system ID (SSO/Discourse Connect lookup).
Enable or disable a status flag on a topic (close, pin, archive, hide, etc.).
Mark one or all notifications as read for the authenticated user.
Lock or unlock a post to prevent or allow editing.
Activate a pending user account (admin only).
Deactivate a user account to prevent them from logging in (admin only).
Suspend a user account until a specified date (admin only).
Force-log out a user's current session (admin only).
Silence a user to prevent them from posting without fully suspending their account (admin only).
Permanently anonymize a user by replacing all identifying information with random values (admin only).
One endpoint. Any framework. Your agent is talking to Discourse 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>"
]
}
}
}123+ actions
104+ actions
84+ actions
74+ actions
71+ actions
69+ actions
65+ actions
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.