← Back to directory
D

Discourse MCP Server

Official
Search and manage Discourse forums through MCP.
Category
Collaboration #1 of 83
Stars
★ 81 Popular
Transport
stdio (local process) · Streamable HTTP
Runtime
Node.js 24+
Credentials
Optional API key
License
MIT
Last commit
Tools
24
67FMRS · C

This server provides Discourse search, read, and optional write capabilities through MCP. It suits AI clients working with Discourse communities; private-message and administrative features require appropriate credentials and permissions, and writes must be explicitly enabled.

Strongest · Documentation 17/20 Weakest · Reliability 10/20

Reliability
10/20
Security and permissions
16/20
Maintenance
10/20
Documentation
17/20
Setup experience
14/20
Why each score
Reliability 10/20
The README describes stdio startup, MCP tools and resources, JSON output, retries, and error handling, and lists build and test commands. This review has only the README and manifest, with no verifiable CI, test coverage, or actual handshake evidence, so startup and declared tool behavior cannot be confirmed; the score is moderate.
Security and permissions 16/20
The documentation says writes are disabled by default, write tools require explicit enablement and matching site credentials, and some sensitive domains require opt-in. It also describes upload path restrictions, log redaction, sensitive-content confirmations, and operation preflights. These controls are README claims that cannot be checked against source here; the server can access forum data, make external requests, and perform broad administrative changes when enabled.
Maintenance 10/20
The materials identify an MIT license, version, npm release path, dependency update policy, and several rounds of feature changes. There is no evidence here of commit history, release dates, maintainer identity, issue response, or a security reporting channel. Stars and the unarchived status do not establish sustained maintenance.
Documentation 17/20
The documentation covers installation, runtime requirements, client configuration, authentication, toolsets, parameters, pagination, and limits, and describes plugin dependencies, external side effects, and several failure semantics. Deductions reflect its length, dependencies on Discourse versions, plugins, and permissions, and the absence of a separate troubleshooting workflow or source evidence to verify the interface claims.
Setup experience 14/20
The README provides an npx launch path, a Claude Desktop configuration example, a read-only default, site selection and fixed-site options, and profile files for credentials. Setup requires Node >=24 and still involves site and authentication configuration; HTTP and other paths add complexity. There is no verifiable cross-platform or real-client execution evidence, so the score stays within the static-calibration cap.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesUses the networkChanges third-party account data

Best for

  • AI clients that need to retrieve discussions from Discourse communities.
  • Operators who can configure site authentication and selectively enable forum writes.

Not for

  • Forums or communities that do not use Discourse.
  • Users who need private-message access or restricted administration without configuring credentials.

Required permissions

  • Public reads generally do not require authentication; private-message reads require matching credentials for the selected site.
  • Writes are disabled by default and require --allow_writes plus matching site credentials; Discourse determines the effective permissions.
  • The user-listing tool requires an admin API key; some administrative and specialized tools also require applicable admin or staff permissions.

Risks and side effects

  • When enabled, write tools can publish content or change user and site data; write actions are rate-limited to about one per second.
  • Private messages, credentials, and custom-tool content may be sensitive; protect credentials and select toolsets carefully.
  • Toolset selection controls tool discovery but does not grant forum permissions; Discourse continues to enforce authorization.

Setup

Before you start

Runtime:Node.js 24+

DISCOURSE_API_KEY optionalsecret Obtain an admin API key from Discourse’s Admin Panel under API; the documentation shows passing it via command line or a profile file.
DISCOURSE_USER_API_KEY optionalsecret Obtain it through Discourse’s user API key authorization flow; the documentation shows passing it via command line or a profile file.

Add the supplied Claude Desktop example to the MCP client configuration. After startup, call discourse_select_site to choose a site, or specify one at startup with --site. Operations that require authentication need API credentials for that site. Writes are disabled by default and require the explicit --allow_writes option.

claude_desktop_config.json
{"mcpServers":{"discourse":{"command":"npx","args":["-y","@discourse/mcp@latest"],"env":{}}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "discourse": {
      "command": "npx",
      "args": [
        "-y",
        "@discourse/mcp@latest"
      ],
      "env": {}
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.discourse]
command = "npx"
args = ["-y", "@discourse/mcp@latest"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add discourse -- npx -y @discourse/mcp@latest

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Check that discourse_search and discourse_select_site appear in the client’s tool list. Select a site with discourse_select_site, then run a search to confirm the connection works.

Troubleshooting

  1. Check that the selected site URL is valid; site selection validates it through /about.json.
  2. Confirm auth_pairs contains an entry for the selected site and check the API key type and required permissions.
  3. If write tools are missing, check whether --allow_writes is enabled; also review toolset selection and tools_mode.

Things to try

Once connected, you can ask your AI assistant things like:

  • Search Discourse topics about AI.
  • Read a topic and its latest posts.
  • List the private messages in my inbox.
  • Reply to a post in a topic.

Tools 24

discourse_search read-only
Search forum topics by query.
discourse_read_topic read-only
Read a topic and a subset of its posts.
discourse_read_post read-only
Read an individual post.
discourse_get_user read-only
Read a user profile.
discourse_list_user_posts read-only
List posts by a user.
discourse_filter_topics read-only
Browse topics using filters or top views.
discourse_get_chat_messages read-only
Read messages from a chat channel.
discourse_get_draft read-only
Read a draft.
Show 16 more tools
discourse_save_draft writes
Save a draft.
discourse_delete_draft destructive
Delete a draft.
discourse_list_private_messages read-only
List messages in a private-message mailbox.
discourse_read_private_message read-only
Read a private-message topic and its posts.
discourse_create_private_message writes
Create a private message.
discourse_reply_private_message writes
Reply to a private message.
discourse_invite_to_private_message writes
Invite a user, group, or email address to a private message.
discourse_create_post writes
Create a post in a topic.
discourse_create_topic writes
Create a topic.
discourse_update_topic writes
Update topic fields.
discourse_list_users read-only
List forum users; requires an admin API key.
discourse_create_user writes
Create a user.
discourse_update_user writes
Update a user profile.
discourse_upload_file writes
Upload a file to the forum.
discourse_create_category writes
Create a category.
discourse_select_site read-only
Select and validate the Discourse site to use.

Use cases

Search forum discussions and read topics, posts, and user profiles.
Access chat messages and authenticated users' private messages.
Create or update posts, topics, drafts, and user profiles after enabling writes.

Supported clients

Claude Desktop

Listed from the project's documentation, not tested by this site.

Overview

Discourse MCP Server exposes Discourse forum capabilities to AI clients through MCP over stdio. It supports forum search, topic and post reads, and access to user and chat data, along with operations for drafts, private messages, posts, topics, users, categories, and uploads. Operators can select a target site and configure remote tool discovery.

Similar servers

Source revision df2d0e89c38d Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/discourse-mcp.svg)](https://followmcp.com/en/servers/discourse-mcp)