# Discourse MCP Server

> Search and manage Discourse forums through MCP.

- **URL**: https://followmcp.com/en/servers/discourse-mcp
- **Category**: Collaboration
- **Origin**: Official
- **Stars**: 81
- **FMRS Score**: 67/100 (Grade C)
- **Source**: https://github.com/discourse/discourse-mcp
- **Transports**: stdio (local process), Streamable HTTP
- **Runtimes**: Node.js 24+
- **Auth**: Optional API key

## Overview
Discourse MCP Server exposes Discourse forum capabilities to AI clients through MCP over stdio. It supports forum search, topic and post reads, and access to user and chat data, along with operations for drafts, private messages, posts, topics, users, categories, and uploads. Operators can select a target site and configure remote tool discovery.

## Best for
- AI clients that need to retrieve discussions from Discourse communities.
- Operators who can configure site authentication and selectively enable forum writes.

## Not for
- Forums or communities that do not use Discourse.
- Users who need private-message access or restricted administration without configuring credentials.

## Required permissions
- Public reads generally do not require authentication; private-message reads require matching credentials for the selected site.
- Writes are disabled by default and require --allow_writes plus matching site credentials; Discourse determines the effective permissions.
- The user-listing tool requires an admin API key; some administrative and specialized tools also require applicable admin or staff permissions.

## Risks
- When enabled, write tools can publish content or change user and site data; write actions are rate-limited to about one per second.
- Private messages, credentials, and custom-tool content may be sensitive; protect credentials and select toolsets carefully.
- Toolset selection controls tool discovery but does not grant forum permissions; Discourse continues to enforce authorization.

## Client config (JSON)
```json
{"mcpServers":{"discourse":{"command":"npx","args":["-y","@discourse/mcp@latest"],"env":{}}}}
```

## Tools (24)
- `discourse_search`: Search forum topics by query.
- `discourse_read_topic`: Read a topic and a subset of its posts.
- `discourse_read_post`: Read an individual post.
- `discourse_get_user`: Read a user profile.
- `discourse_list_user_posts`: List posts by a user.
- `discourse_filter_topics`: Browse topics using filters or top views.
- `discourse_get_chat_messages`: Read messages from a chat channel.
- `discourse_get_draft`: Read a draft.
- `discourse_save_draft`: Save a draft.
- `discourse_delete_draft`: Delete a draft.
- `discourse_list_private_messages`: List messages in a private-message mailbox.
- `discourse_read_private_message`: Read a private-message topic and its posts.
- `discourse_create_private_message`: Create a private message.
- `discourse_reply_private_message`: Reply to a private message.
- `discourse_invite_to_private_message`: Invite a user, group, or email address to a private message.
- `discourse_create_post`: Create a post in a topic.
- `discourse_create_topic`: Create a topic.
- `discourse_update_topic`: Update topic fields.
- `discourse_list_users`: List forum users; requires an admin API key.
- `discourse_create_user`: Create a user.
- `discourse_update_user`: Update a user profile.
- `discourse_upload_file`: Upload a file to the forum.
- `discourse_create_category`: Create a category.
- `discourse_select_site`: Select and validate the Discourse site to use.
