Skip to content
appsgit

Discourse MCP

Discourse MCP is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Discourse MCP CLI server (stdio) exposing Discourse tools via MCP. It has 77 GitHub stars, is released under the MIT license and runs locally with npx -y @discourse/mcp.

github.com/discourse/discourse-mcp (opens in a new tab)

  • Official
  • Other
  • MIT
  • Actively maintained

Install Discourse MCP

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

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

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --transport stdio discourse-mcp -- npx -y @discourse/mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "discourse-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@discourse/mcp"
      ]
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

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

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Tools (31)

Parsed from the Tools section of the README; check the repository for the current list.

  • discourse_search
  • discourse_read_topic
  • discourse_read_post
  • discourse_get_user
  • discourse_list_user_posts
  • discourse_filter_topics
  • discourse_get_review_queue_count

    {} → { count, unit: "pendingreviewablequeueitems", status: "pending", scope }, where count is the authoritative number…

  • discourse_list_reviewables

    stable review filters and offset pagination → normalized reviewables with named status plus numeric statusid, current…

  • discourse_list_reviewable_topics

    {} → a non-exhaustive aggregation of pending topics at or above Discourse's minimum review priority.

  • discourse_get_reviewable

    { reviewableid; includeexplanation? } → refreshed bounded context, side-loaded references, editable fields, score…

  • discourse_perform_reviewable_action

    (only when writes enabled): { reviewableid; actionid; expectedversion?; additionalfields?; confirm: true } →…

  • discourse_get_chat_messages
  • discourse_get_draft
  • discourse_save_draft
  • discourse_delete_draft
  • discourse_list_private_messages
  • discourse_read_private_message
  • allowed_users

    and allowedgroups are direct records, not an expanded ACL. Public topics are rejected.

  • discourse_create_private_message
  • discourse_reply_private_message
  • discourse_invite_to_private_message
  • discourse_create_post
  • discourse_create_topic
  • discourse_update_topic
  • discourse_list_users
  • discourse_create_user
  • discourse_update_user
  • discourse_upload_file
  • user_id

    is required for avatar/profilebackground/cardbackground uploads

  • discourse_create_category
  • discourse_select_site

About Discourse MCP

A Model Context Protocol (MCP) stdio server that exposes Discourse forum capabilities as tools and resources for AI agents.

FAQ

Discourse MCP FAQ

Still curious? Email info@appsgit.com.

What is Discourse MCP?

Discourse MCP is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Discourse MCP CLI server (stdio) exposing Discourse tools via MCP. It has 77 GitHub stars, is released under the MIT license and runs locally with npx -y @discourse/mcp. The source code is at github.com/discourse/discourse-mcp.

How do I install the Discourse MCP MCP server?

Add the command npx -y @discourse/mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Discourse MCP free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is Discourse MCP actively maintained?

The most recent commit was on Aug 25, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.