by AshDevFr
Enables searching posts on a Discourse forum via the Model Context Protocol.
Provides a Node.js server that implements the Model Context Protocol (MCP) to perform search operations on a Discourse forum. It exposes a single tool, search_posts, which accepts a text query and returns matching post objects.
docker run -i --rm \
-e DISCOURSE_API_URL=https://try.discourse.org \
-e DISCOURSE_API_KEY=YOUR_KEY \
-e DISCOURSE_API_USERNAME=YOUR_USERNAME \
ashdev/discourse-mcp-server
{
"mcpServers": {
"discourse": {
"command": "npx",
"args": ["-y", "@ashdev/discourse-mcp-server"],
"env": {
"DISCOURSE_API_URL": "https://try.discourse.org",
"DISCOURSE_API_KEY": "YOUR_KEY",
"DISCOURSE_API_USERNAME": "YOUR_USERNAME"
}
}
}
}
Add the above JSON snippet to claude_desktop_config.json
(or equivalent configuration).search_posts
that takes a query
string and returns an array of Discourse post objects.Q: What credentials are required?
A: A Discourse API key (DISCOURSE_API_KEY
) and a username (DISCOURSE_API_USERNAME
) with permission to use the API, plus the forum base URL (DISCOURSE_API_URL
).
Q: Can I run the server without Docker? A: Yes, install via NPX as shown above; the package runs directly with Node.js.
Q: What format is returned by search_posts
?
A: An array of JSON objects representing Discourse posts, matching the fields returned by the Discourse API.
Q: How do I update the Docker image?
A: Pull the latest tag with docker pull ashdev/discourse-mcp-server
and restart the container.
Q: Is there any rate limiting? A: Rate limits are enforced by the underlying Discourse API, not by this server.
Node.js server implementing Model Context Protocol (MCP) for Discourse search operation.
query
(string)Add this to your claude_desktop_config.json
:
{
"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"
]
}
}
}
{
"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"
}
}
}
}
Docker build:
docker build -t ashdev/discourse-mcp-server .
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "discourse": { "command": "npx", "args": [ "-y", "@ashdev/discourse-mcp-server" ], "env": { "DISCOURSE_API_URL": "https://try.discourse.org", "DISCOURSE_API_KEY": "YOUR_API_KEY", "DISCOURSE_API_USERNAME": "YOUR_USERNAME" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by exa-labs
Provides real-time web search capabilities to AI assistants via a Model Context Protocol server, enabling safe and controlled access to the Exa AI Search API.
by elastic
Enables natural‑language interaction with Elasticsearch indices via the Model Context Protocol, exposing tools for listing indices, fetching mappings, performing searches, running ES|QL queries, and retrieving shard information.
by graphlit
Enables integration between MCP clients and the Graphlit platform, providing ingestion, extraction, retrieval, and RAG capabilities across a wide range of data sources and connectors.
by mamertofabian
Fast cross‑platform file searching leveraging the Everything SDK on Windows, Spotlight on macOS, and locate/plocate on Linux.
by cr7258
Provides Elasticsearch and OpenSearch interaction via Model Context Protocol, enabling document search, index management, cluster monitoring, and alias operations.
by liuyoshio
Provides natural‑language search and recommendation for Model Context Protocol servers, delivering rich metadata and real‑time updates.
by ihor-sokoliuk
Provides web search capabilities via the SearXNG API, exposing them through an MCP server for seamless integration with AI agents and tools.
by fatwang2
Provides web and news search, URL crawling, sitemap extraction, deep‑reasoning, and trending topic retrieval via Search1API, exposed as an MCP server for integration with AI clients.
by cnych
Provides SEO data retrieval via Ahrefs, exposing MCP tools for backlink analysis, keyword generation, traffic estimation, and keyword difficulty, with automated CAPTCHA solving and response caching.