Discourse MCP Server
Overview
Discourse MCP Server is a Node.js server that implements the Model Context Protocol (MCP) for searching posts on a Discourse forum.
To use the Discourse MCP Server, you can run it using Docker or NPX by configuring the necessary API parameters in your setup.
- Enables searching of posts on a Discourse forum using the MCP protocol. - Provides a simple API for searching posts.
- Integrating Discourse forum search functionality into applications.
- Enhancing user experience by allowing quick access to forum posts.
Add to your AI client
Use these steps to connect Discourse MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"discourse-mcp-server-ashdevfr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-discourse-mcp-server-ashdevfr"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"discourse-mcp-server-ashdevfr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-discourse-mcp-server-ashdevfr"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"discourse-mcp-server-ashdevfr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-discourse-mcp-server-ashdevfr"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"discourse-mcp-server-ashdevfr": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-discourse-mcp-server-ashdevfr"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"discourse-mcp-server-ashdevfr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-discourse-mcp-server-ashdevfr"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"discourse-mcp-server-ashdevfr": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-discourse-mcp-server-ashdevfr"
]
}
}
}FAQ
What is the MCP protocol?
The Model Context Protocol (MCP) is a protocol designed for efficient search operations in applications.
Is Discourse MCP Server easy to set up?
Yes! You can set it up easily using Docker or NPX with the provided configuration examples.
What programming language is used?
The server is built using JavaScript and runs on Node.js.