Enables searching posts on a Discourse forum using a query string, returning an array of post objects that match the search criteria.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Discourse MCP Serversearch for posts about API integration best practices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Discourse MCP Server
Node.js server implementing Model Context Protocol (MCP) for Discourse search operation.
Features
Search Posts on a Discourse forum using MCP protocol.
Related MCP server: Elasticsearch Semantic Search MCP Server
API
Tools
search_posts
Search posts on a Discourse forum
Input:
query(string)Returns an array of post objects
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
Docker
{
"mcpServers": {
"discourse": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "DISCOURSE_API_URL=https://try.discourse.org",
"-e", "DISCOURSE_API_KEY=1234",
"-e", "DISCOURSE_API_USERNAME=ash",
"ashdev/discourse-mcp-server"
]
}
}
}NPX
{
"mcpServers": {
"discourse": {
"command": "npx",
"args": [
"-y",
"@ashdev/discourse-mcp-server"
],
"env": {
"DISCOURSE_API_URL": "https://try.discourse.org",
"DISCOURSE_API_KEY": "1234",
"DISCOURSE_API_USERNAME": "ash"
}
}
}
}Build
Docker build:
docker build -t ashdev/discourse-mcp-server .