Skip to main content
Glama
discobrain

discourse-mcp

by discobrain

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DISCOURSE_URLYesForum base URL, e.g. https://forum.example.com
DISCOURSE_API_KEYYesAPI key for the bot account
DISCOURSE_API_USERNAMEYesThe bot's username (Api-Username)
DISCOURSE_MCP_ALLOW_WRITESNoSet to '1' to enable write tools (post/like/bookmark/…)0
DISCOURSE_MCP_DEFAULT_SEARCHNoPrefix prepended to every search query
DISCOURSE_MCP_MAX_READ_LENGTHNoTruncate raw post bodies to this many chars50000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
discourse_searchA

Full-text search of the forum; returns matching topics (id, slug, title).

discourse_read_topicA

Read a topic's posts (raw markdown), oldest first from an optional start.

discourse_read_postA

Read a single post's raw markdown and metadata by post id.

discourse_get_userB

A user's public profile: name, trust level, bio (About Me), staff flags.

discourse_list_categoriesA

List the forum's categories (id, name, slug, topic count).

discourse_list_notificationsA

The bot's OWN notifications (mentions, replies, likes, PMs). Read-only peek; does not clear unread.

discourse_read_private_messageA

Read a private-message topic's posts (raw). Errors if the topic is not a PM.

discourse_list_private_messagesA

List the bot's private-message topics in a mailbox.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/discobrain/discourse-mcp'

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