Labsco
MCP SERVER

Discourse MCP Server

by AshDevFr

Search the posts on a Discourse forum from an agent session with one call that takes a query.

News, Feeds & Trend MonitoringVerified
Summary
One tool wide, and that tool is the one worth having: the forum becomes searchable from where the question is being asked.

search_posts takes a query and nothing else, so there is no filtering by category, author or date at the call — the shaping has to live in the query string itself. Topics, users and anything that writes to the forum sit outside this surface; credentials are still required because the search runs as a Discourse API user.

What it is

A search front end for a Discourse instance, exposing search_posts as its whole surface.

What you get
  • Forum search as a callable step: search_posts takes a query and returns matching posts from the configured Discourse instance, which puts an existing community's answers inside the session instead of in another tab.
Requirements

A Discourse instance reachable at DISCOURSE_API_URL, with an API key in DISCOURSE_API_KEY and the API username it acts as in DISCOURSE_API_USERNAME.

Setup effort

One command plus a key — npx -y @ashdev/discourse-mcp-server, then supply credentials