Discourse MCP Server logo

Discourse MCP Server

by AshDevFr

The Discourse MCP Server is a Node.js server that implements the Model Context Protocol (MCP) to enable search operations on a Discourse forum. It allows users to search posts using a simple API.

View on GitHub

Last updated: N/A

What is Discourse MCP Server?

This server is a Node.js application that acts as an intermediary, allowing other applications to search posts on a Discourse forum using the Model Context Protocol (MCP). It provides a standardized API for searching posts.

How to use Discourse MCP Server?

The server can be deployed using Docker or run directly with NPX. Configuration requires setting environment variables for the Discourse API URL, API key, and username. The provided claude_desktop_config.json snippets show how to integrate it with Claude Desktop.

Key features of Discourse MCP Server

  • Search Posts on a Discourse forum using MCP protocol

  • Docker deployment support

  • NPX execution support

  • Simple API with query input

Use cases of Discourse MCP Server

  • Integrating Discourse search functionality into other applications

  • Enabling AI models to access and search Discourse forum content

  • Building custom search interfaces for Discourse forums

  • Automating content discovery on Discourse forums

FAQ from Discourse MCP Server

What is MCP?

Model Context Protocol (MCP) is a protocol for enabling communication between different applications and services.

What Discourse API credentials do I need?

You need a Discourse API URL, API key, and a username with API access.

How do I deploy this server?

You can deploy it using Docker or run it directly with NPX. Refer to the Usage section for configuration details.

What is the input for the search_posts tool?

The input for the search_posts tool is a string representing the search query.

What does the search_posts tool return?

The search_posts tool returns an array of post objects matching the search query.