Discourse announced the release of the Discourse MCP CLI, a standalone command-line interface that implements the Model Context Protocol (MCP). Falco explains that this tool connects AI assistants like Claude to Discourse communities, allowing them to search forums and read topics in real-time. The CLI leverages the existing Discourse REST API to ensure compatibility, API key scoping, and rate limiting without requiring admin updates to the core Rails application. The team highlighted an example workflow integrating Discourse with Jira to demonstrate its potential for enterprise support centralization.
The community responded with immediate interest and technical inquiries. jrgong asked for documentation and methods to restrict searches to specific categories. Falco provided links to the GitHub README and suggested using query filters for category limitations. A debate emerged regarding Terms of Service; RGJ warned that Meta’s TOS prohibit automated access, though others like Jason_Hsia requested integrations with IDEs like Cursor, which sam confirmed is possible via config.
Feature requests and bug fixes followed. jrgong requested support for retrieving specific topic translations, which Falco acknowledged as a future feature. jrgong proposed a PR to add permission arguments when creating categories, which Falco welcomed. rey.riel sought access to user emails and groups, leading to PR #38 for admin-only access. SkhemaDeveloper encountered issues with write tools, which were resolved by logging in as ‘system’ when generating API keys.
Significant architectural questions were raised by pacharanero, who asked about a remote web-based MCP for non-dev users and the ability to edit existing posts. Falco confirmed that HTTP transport was already supported (clarifying confusion for putty) and quickly added an edit tool in response to community demand. NateDhaliwal clarified that the ‘ai’ tag refers to general AI use, not necessarily the Discourse AI plugin. Finally, sam agreed to consider adding tools to read discourse boards after singpolyma requested them.
As soon as Anthropic open sourced their Model Context Protocol (MCP) proposal for interfacing with AI agents almost a year ago, we started getting excited about how good of a match it was for Discourse.
I know you are joking, but was going for an good illustrative example for large companies with many channels for customer support who centralize things on Jira for historical reasons
Does anyone have more ideas for integrations like that? I could do a couple more screencasts.
Currently you can prompt your way there with something along the lines of:
When searching or filtering, via discourse_filter_topics or discourse_search, append category:dev,documentation to the query so you only search relevant information.
You may not automate access to the forum, or monitor the forum, such as with a web crawler, browser plug-in or add-on, or other computer program that is not a web browser. You may crawl the forum to index it for a publicly available search engine, if you run one.
Great news, and this sparks all good moonshot ideation. I would love to see Discourse MCP available on Cursor. This will open up the door to community users of all levels on dev or coding. This integration would serve a bountiful source of use cases and practical feedback.
It would be nice to be able to leverage the API internally to be able to ask questions about customers, employees, etc, which is a bit limited by the “get user” tool (no ability to see email or groups).
Anything I can do to poke someone about getting this added ASAP?
Just looking for confirmation - are the ‘write’ tools publicly available? I’ve set the —allow_writes flag and configured admin api keys, but still can only access these 8 tools across Claude Code and Cursor.