Discourse MCP
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| discourse_select_siteA | Validate and select a Discourse site for subsequent tool calls. |
| discourse_searchC | Search site content. |
| discourse_read_topicC | Read a topic metadata and first N posts. |
| discourse_read_postC | Read a specific post. |
| discourse_list_categoriesB | List categories visible to the current auth context. |
| discourse_list_tagsC | List tags (if enabled). |
| discourse_get_userC | Get basic user info. |
| discourse_list_user_postsA | Get a list of user posts and replies from a Discourse instance, with the most recent first. Returns 30 posts per page by default. Use the page parameter to paginate (page 0 = offset 0, page 1 = offset 30, etc.). |
| discourse_filter_topicsA | 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. |
| discourse_list_chat_channelsB | List all public chat channels visible to the current user. Returns channel information including title, description, and member counts. |
| discourse_list_user_chat_channelsA | List all chat channels for the currently authenticated user, including both public channels they're a member of and direct message channels. Includes unread tracking information. |
| discourse_get_chat_messagesA | Get messages from a chat channel with flexible pagination and date-based filtering. Supports: (1) paginating with direction='past'/'future' from a target_message_id, (2) querying messages around a specific target_date, (3) getting messages around a target_message_id, or (4) fetching from last read position. |
| discourse_list_draftsA | List all drafts for the current user. Returns draft keys, sequences, and preview content. Use this to find existing drafts before updating them. |
| discourse_get_draftA | Retrieve a specific draft by its key. Common keys: "new_topic" for new topic drafts, "topic_" for reply drafts. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/discourse/discourse-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server