MCP Reference

A Model Context Protocol (MCP) stdio server that exposes Discourse forum capabilities as tools and resources for AI agents. Choose a site with discourse_select_site, or start the server tethered to one with --site. Writes are off by default: write tools register only with --allow_writes, and the opt-in domains (moderation, workflows, AI administration and others) only with --toolsets. This reference lists every tool, as the server registers them with --toolsets all --allow_writes.

Connect your client

Add to your MCP client configuration:

{
  "mcpServers": {
    "@discourse/mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@discourse/mcp@latest"
      ]
    }
  }
}
Protocol MCP 2025-11-25Transport stdioCapabilities tools, resources, prompts