io.github.discourse/mcp
NPM · @DISCOURSE/MCP · SCANNED AUG 3
Discourse MCP CLI server (stdio) exposing Discourse tools via MCP
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security87
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to discourse/discourse-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 31 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability82
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 1256 tokens (~62/item across 20 items; 12 tools + 8 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage94
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 81% of tool parameters carry a description.Partial
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · @discourse/mcp
claude mcp add discourse-mcp -- npx -y @discourse/mcp
codex mcp add discourse-mcp -- npx -y @discourse/mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"discourse-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"@discourse/mcp"
],
"enabled": true
}
}
} openclaw mcp add discourse-mcp --command npx --arg -y --arg @discourse/mcp
mcp_servers:
discourse-mcp:
command: "npx"
args: ["-y", "@discourse/mcp"] {
"mcpServers": {
"discourse-mcp": {
"command": "npx",
"args": [
"-y",
"@discourse/mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 2 Aug 26 +39
- Install scripts: unverified → pass ▲ security
- Provenance: unverified → pass ▲ security
- Known CVEs: unverified → partial ▲ security
- The attested source repository moved: discourse/discourse-mcp security
- MCP protocol: unverified → pass ▲ functional
- Stability: unverified → 0.23 ▲ functional
- Schema quality: unverified → good ▲ functional
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- Licence: MIT functional
- 1 Aug 26 +7
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 31 Jul 26 −18
- Malware scan: pass → unverified ▼ security
- 27 Jul 26 52
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/@discourse/[email protected]
Provenance verified
Ecosystem: npm · Outcome: verified
Reason: verified
- Source repo:
- discourse/discourse-mcp
- Certificate issuer:
- https://token.actions.githubusercontent.com
- Certificate SAN:
- https://github.com/discourse/discourse-mcp/.github/workflows/ci.yml@refs/heads/main
- Rekor log index:
- 2055488831
- Predicate type:
- https://slsa.dev/provenance/v1
- Subject digest:
- sha512:d5bbbf63f126c2f9833395f40fd2d830067bc9d04f5f82efae98e50135084d7f747953bc3b790f87191d6e9848b99b5c76767834676b89d344c967162
- Discovery method:
- attestation_endpoint
Dependencies 95 packages
95 packages in the resolved dependency tree · 95 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
discourse_filter_topics Filter Topics ~197
Filter topics with a concise query language. Returns JSON object with results array (id, slug, title) and meta (page, limit, has_more). Query syntax: category/categories (comma=OR, '=category'=without subcats, '-'=exclude), tag/tags (comma=OR, '+'=AND), status:(open|closed|archived|listed|unlisted|public), in:(bookmarked|watching|tracking|muted|pinned), dates: created/activity-(before|after) YYYY-MM-DD or N days, order: activity|created|latest-post|likes|views with optional -asc.
| Name | Type | Req | Description |
|---|---|---|---|
| filter | string | yes | Filter query, e.g. 'category:support status:open created-after:30 order:activity' |
| page | integer | — | Page number (0-based, default: 0) |
| per_page | integer | — | Items per page (max 50) |
No output schema declared.
No examples provided.
discourse_get_chat_messages Get Chat Messages ~141
Get messages from a chat channel. Returns JSON object with channel_id, messages array (id, username, created_at, message, edited, thread_id, in_reply_to_id), and meta.
| Name | Type | Req | Description |
|---|---|---|---|
| channel_id | integer | yes | The chat channel ID |
| direction | string | — | Pagination direction: 'past' for older messages, 'future' for newer |
| page_size | integer | — | Number of messages to return (default: 50, max: 50) |
| target_date | string | — | ISO 8601 date string to query messages around |
| target_message_id | integer | — | Message ID to query around or paginate from |
No output schema declared.
No examples provided.
discourse_get_draft Get Draft ~79
Retrieve a specific draft by key. Returns JSON with draft_key, sequence, and parsed data (title, reply, categoryId, tags, action).
| Name | Type | Req | Description |
|---|---|---|---|
| draft_key | string | yes | Draft key (e.g., "new_topic", "topic_123", "new_private_message") |
| sequence | integer | — | Expected sequence number (optional) |
No output schema declared.
No examples provided.
discourse_get_query Get Data Explorer Query ~36
Get full details of a Data Explorer query including SQL and parameters. Requires admin API key.
| Name | Type | Req | Description |
|---|---|---|---|
| id | integer | yes | Query ID |
No output schema declared.
No examples provided.
discourse_get_user Get User ~42
Get user info. Returns JSON with id, username, name, trust_level, created_at, bio, admin, and moderator.
| Name | Type | Req | Description |
|---|---|---|---|
| username | string | yes | — |
No output schema declared.
No examples provided.
discourse_list_user_posts List User Posts ~89
Get paginated list of user posts/replies. Returns JSON object with posts array (id, topic_id, post_number, slug, title, created_at, excerpt, category_id) and meta (page, limit, has_more).
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | — | Posts per page (max 50, default 30) |
| page | integer | — | — |
| username | string | yes | — |
No output schema declared.
No examples provided.
discourse_list_users List Users ~107
List users via admin API. Requires admin API key. Returns ~100 users per page (Discourse's fixed page size). Returns JSON with users array and pagination meta.
| Name | Type | Req | Description |
|---|---|---|---|
| asc | boolean | — | Sort ascending (default: false/descending) |
| filter | string | — | Search by username, email, or IP address |
| order | string | — | Sort order field |
| page | integer | — | Page number (0-indexed) |
| query | string | — | User query type |
No output schema declared.
No examples provided.
discourse_read_post Read Post ~42
Read a specific post. Returns JSON with id, topic_id, post_number, username, created_at, and raw content.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | integer | yes | — |
No output schema declared.
No examples provided.
discourse_read_topic Read Topic ~78
Read topic metadata and posts. Returns JSON with id, title, slug, category_id, tags, and posts array.
| Name | Type | Req | Description |
|---|---|---|---|
| post_limit | integer | — | Max posts to return (default 5, max 50) |
| start_post_number | integer | — | Start from this post number (1-based) |
| topic_id | integer | yes | — |
No output schema declared.
No examples provided.
discourse_run_query Run Data Explorer Query ~105
Execute a Data Explorer query with parameters. Returns columns, rows, result_count, duration_ms. Queries run in read-only transactions with 10-second timeout. Requires admin API key.
| Name | Type | Req | Description |
|---|---|---|---|
| explain | boolean | — | Include query execution plan in response |
| id | integer | yes | Query ID to run |
| limit | — | — | Maximum number of rows to return (default: query default, use 'ALL' for unlimited) |
| params | object | — | Query parameters as key-value pairs |
No output schema declared.
No examples provided.
discourse_search Discourse Search ~53
Search site content. Returns JSON object with results array of matching topics (id, slug, title) and meta (total, has_more).
| Name | Type | Req | Description |
|---|---|---|---|
| max_results | integer | — | — |
| query | string | yes | Search query |
No output schema declared.
No examples provided.
discourse_select_site Select Site ~39
Validate and select a Discourse site. Returns JSON with site URL and title.
| Name | Type | Req | Description |
|---|---|---|---|
| site | string | yes | Base URL of the Discourse site |
No output schema declared.
No examples provided.