{
"mcpServers": {
"discourse": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@discourse/mcp@latest", "--site", "https://meta.discourse.org", "--default-search", "#developer-guides"],
"env": {}
}
}
Its not quite perfect cause it does not support “falling back” to the entire forum, but it achieves a most of the task you presented.
Particularly --site
can be used to tether the mcp to a single discourse site and --default-search
can be used to ground the search with specific keywords.