Skip to main content
Glama

Discourse MCP

by SamSaffron

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DISCOURSE_API_KEYNoAPI key for Discourse authentication, used in auth_pairs configuration

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
discourse_select_site

Validate and select a Discourse site for subsequent tool calls.

discourse_search

Search site content.

discourse_read_topic

Read a topic metadata and first N posts.

discourse_read_post

Read a specific post.

discourse_list_categories

List categories visible to the current auth context.

discourse_list_tags

List tags (if enabled).

discourse_get_user

Get basic user info.

discourse_filter_topics

Filter topics with a concise query language: use key:value tokens separated by spaces; category/categories for categories (comma = OR, '=category' = without subcats, '-' prefix = exclude), tag/tags (comma = OR, '+' = AND) and tag_group; status:(open|closed|archived|listed|unlisted|public) and personal in:(bookmarked|watching|tracking|muted|pinned); dates: created/activity/latest-post-(before|after) with YYYY-MM-DD or N (days); numeric: likes[-op]-(min|max), posts-(min|max), posters-(min|max), views-(min|max); order: activity|created|latest-post|likes|likes-op|posters|title|views|category with optional -asc; free text terms are matched full-text. Results are permission-aware.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SamSaffron/discourse-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server