# \#mcp

**URL:** https://meta.discourse.org/tag/mcp/1087.md

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

---

## [Connect your AI apps to your community with Discourse’s built-in MCP server](https://meta.discourse.org/t/connect-your-ai-apps-to-your-community-with-discourse-s-built-in-mcp-server/412755)

<div class="topic-metadata">

**Author:** [@nat](https://meta.discourse.org/u/nat)\
**Replies:** 7\
**Last updated:** [September 21, 2026, 3:53am UTC](https://meta.discourse.org/t/connect-your-ai-apps-to-your-community-with-discourse-s-built-in-mcp-server/412755 "2026-09-21T03:53:01Z")

</div>

Discourse now has a built-in MCP server, so you can ask your favourite AI apps to find a topic, catch up on a discussion, or prepare a report on activity in your community. MCP (Model Context Protocol) is a way for AI a…

---

## [Using Discourse MCP to quickly build a theme](https://meta.discourse.org/t/using-discourse-mcp-to-quickly-build-a-theme/412056)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 13\
**Last updated:** [September 14, 2026, 11:28pm UTC](https://meta.discourse.org/t/using-discourse-mcp-to-quickly-build-a-theme/412056 "2026-09-14T23:28:55Z")

</div>

Often, the largest barrier to starting a community is “making it your own”. You want, your font, your style to match your brand. In this post I would like to cover what can be achieved in a quite straightforward way wi…

---

## [Discourse\_list\_private\_messages always causes Discourse HTTP 500 by sending per\_page](https://meta.discourse.org/t/discourse-list-private-messages-always-causes-discourse-http-500-by-sending-per-page/412242)

<div class="topic-metadata">

**Author:** [@Crashley](https://meta.discourse.org/u/Crashley)\
**Replies:** 0\
**Last updated:** [September 11, 2026, 6:26pm UTC](https://meta.discourse.org/t/discourse-list-private-messages-always-causes-discourse-http-500-by-sending-per-page/412242 "2026-09-11T18:26:15Z")

</div>

Core reproduction GET /topics/private-messages/ashley.json?page=0&per\_page=20 Observed TypeError: String can't be coerced into Integer lib/topic\_query/private\_message\_lists.rb:277 Cause offset = options\[:page\].to\_…

---

## [Discourse MCP the next version](https://meta.discourse.org/t/discourse-mcp-the-next-version/410858)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 2\
**Last updated:** [August 25, 2026, 9:54pm UTC](https://meta.discourse.org/t/discourse-mcp-the-next-version/410858 "2026-08-25T21:54:57Z")

</div>

Back in October 2025 we announced the Discourse MCP. It has been incredibly useful to many of you! Today I am happy to announce the “next iteration” of the MCP local server :confetti\_ball: Version 0.3 of Discourse MCP…

---

## [Request ESR backport: Allow granular API keys access to about.json](https://meta.discourse.org/t/request-esr-backport-allow-granular-api-keys-access-to-about-json/408619)

<div class="topic-metadata">

**Author:** [@bdfl](https://meta.discourse.org/u/bdfl)\
**Replies:** 2\
**Last updated:** [July 28, 2026, 6:14pm UTC](https://meta.discourse.org/t/request-esr-backport-allow-granular-api-keys-access-to-about-json/408619 "2026-07-28T18:14:05Z")

</div>

@supermathie @awesomerobot Following up on the closed topic API user with granular access cannot read about.json | Discourse MCP ESR users who want to use the Discourse MCP server with least-privilege security on login…

---

## [MCP bug when subfolder-install in](https://meta.discourse.org/t/mcp-bug-when-subfolder-install-in/402609)

<div class="topic-metadata">

**Author:** [@janbolmeson](https://meta.discourse.org/u/janbolmeson)\
**Replies:** 1\
**Last updated:** [May 11, 2026, 4:44am UTC](https://meta.discourse.org/t/mcp-bug-when-subfolder-install-in/402609 "2026-05-11T04:44:36Z")

</div>

@discourse/mcp fails on subfolder installs — leading-slash paths strip the site subpath TL;DR On Discourse instances mounted at a subpath (e.g. https://example.com/forum), @discourse/mcp cannot connect because every inte…

---

## [API user with granular access cannot read about.json | Discourse MCP](https://meta.discourse.org/t/api-user-with-granular-access-cannot-read-about-json-discourse-mcp/398792)

<div class="topic-metadata">

**Author:** [@aangi](https://meta.discourse.org/u/aangi)\
**Replies:** 5\
**Last updated:** [April 21, 2026, 3:06pm UTC](https://meta.discourse.org/t/api-user-with-granular-access-cannot-read-about-json-discourse-mcp/398792 "2026-04-21T15:06:46Z")

</div>

We’ve been setting up the Discourse MCP server to connect our Discourse instance to Claude Desktop via config files. When using a single-use API key with granular access controls, the MCP server throws a 403 Forbidden er…

---

## [Discourse MCP is here!](https://meta.discourse.org/t/discourse-mcp-is-here/386983)

<div class="topic-metadata">

**Author:** [@Falco](https://meta.discourse.org/u/Falco)\
**Replies:** 31\
**Last updated:** [April 17, 2026, 4:34pm UTC](https://meta.discourse.org/t/discourse-mcp-is-here/386983 "2026-04-17T16:34:04Z")

</div>

As soon as Anthropic open sourced their Model Context Protocol (MCP) proposal for interfacing with AI agents almost a year ago, we started getting excited about how good of a match it was for Discourse. This is a comp…

---

## [Discourse MCP Setup in OpenCode CLI](https://meta.discourse.org/t/discourse-mcp-setup-in-opencode-cli/398378)

<div class="topic-metadata">

**Author:** [@pacharanero](https://meta.discourse.org/u/pacharanero)\
**Replies:** 0\
**Last updated:** [March 13, 2026, 2:33pm UTC](https://meta.discourse.org/t/discourse-mcp-setup-in-opencode-cli/398378 "2026-03-13T14:33:29Z")

</div>

This guide provides tested instructions for installing the Discourse MCP into OpenCode CLI. If you’re using a different MCP client, I have also written guides for Codex CLI. USE YOUR LLM! LLMs are very good at followin…

---

## [Discourse MCP Setup in OpenAI Codex CLI](https://meta.discourse.org/t/discourse-mcp-setup-in-openai-codex-cli/397662)

<div class="topic-metadata">

**Author:** [@pacharanero](https://meta.discourse.org/u/pacharanero)\
**Replies:** 0\
**Last updated:** [March 4, 2026, 9:49pm UTC](https://meta.discourse.org/t/discourse-mcp-setup-in-openai-codex-cli/397662 "2026-03-04T21:49:40Z")

</div>

I have been experimenting with Discourse MCP but found that the existing documentation in Meta for using it didn’t include anything for Codex CLI, and it was a little confusing working out which parts of the documentatio…

---

## [Discourse MCP User API Key Generator Error Nodejs \>20](https://meta.discourse.org/t/discourse-mcp-user-api-key-generator-error-nodejs-20/390073)

<div class="topic-metadata">

**Author:** [@deviantintegral](https://meta.discourse.org/u/deviantintegral)\
**Replies:** 3\
**Last updated:** [December 2, 2025, 2:28pm UTC](https://meta.discourse.org/t/discourse-mcp-user-api-key-generator-error-nodejs-20/390073 "2025-12-02T14:28:56Z")

</div>

Issues aren’t enabled in the GitHub repository, but please let me know if I should post this somewhere else! When I run the User API Key generator, I get the following error: Decrypting payload… \[2025-12-01T16:38:59.40…

---

## [MCP's default query parameter hallucination](https://meta.discourse.org/t/mcps-default-query-parameter-hallucination/390091)

<div class="topic-metadata">

**Author:** [@deviantintegral](https://meta.discourse.org/u/deviantintegral)\
**Replies:** 2\
**Last updated:** [December 1, 2025, 11:43pm UTC](https://meta.discourse.org/t/mcps-default-query-parameter-hallucination/390091 "2025-12-01T23:43:54Z")

</div>

While the MCP doesn’t have a stable release tagged, I’m suspicious it hasn’t been tested much by humans at all. In going through the default setup, I noticed that it recommends a default query parameter of order:latest-p…

---

## [Is there an official Discourse Model Context Protocol (MCP)](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859)

<div class="topic-metadata">

**Author:** [@EricGT](https://meta.discourse.org/u/EricGT)\
**Replies:** 31\
**Last updated:** [November 4, 2025, 3:58pm UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859 "2025-11-04T15:58:27Z")

</div>

Looked in this forum and on GitHub Discourse for an official Discourse Model Context Protocol (MCP) and did not find anything. While there are unofficial Discourse MCP (ref), would much prefer an official one. Yes I am …
