A Model Context Protocol (MCP) stdio server that exposes Discourse forum capabilities as tools for AI agents. Works with all deployments of discourse.org, self hosted or cloud hosted. just generate an API key to connect.
Tools
discourse_select_site
discourse_search
discourse_read_topic
discourse_read_post
discourse_list_categories
discourse_list_tags
discourse_get_user
discourse_list_user_posts
discourse_filter_topics
discourse_list_chat_channels
discourse_list_user_chat_channels
discourse_get_chat_messages
discourse_list_drafts
discourse_get_draft
Server Config
{
"mcpServers": {
"discourse": {
"command": "npx",
"args": [
"-y",
"@discourse/mcp@latest"
],
"env": {}
}
}
}