discourse-mcp-server

This repository provides a Node.js server that implements the Model Context Protocol (MCP) for searching posts on a Discourse forum, enabling integration with tools like Claude Desktop. This repository provides

4
0

Discourse MCP Server

This Node.js server implements the Model Context Protocol (MCP) to enhance Discourse search functionality. It enables searching for posts on a Discourse forum using the MCP protocol, allowing external applications like Claude Desktop to leverage Discourse's content.

Features

  • Search Posts: Facilitates searching posts on a Discourse forum.
    • Input: query (string) representing the search term.
    • Returns: An array of post objects matching the query.

Usage with Claude Desktop

To integrate with Claude Desktop, configure the claude_desktop_config.json file using either Docker or NPX.

Docker

The provided JSON snippet configures Claude to run the server within a Docker container, setting environment variables for Discourse API access.

NPX

Alternatively, the server can be run using NPX, directly executing the @ashdev/discourse-mcp-server package. Environment variables for API access are also configured in this setup.

Build

To build the Docker image:

docker build -t ashdev/discourse-mcp-server .

Repository

AS
AshDevFr

AshDevFr/discourse-mcp-server

Created

March 10, 2025

Updated

March 12, 2025

Language

JavaScript

Category

Search & Knowledge