# Is there an official Discourse Model Context Protocol (MCP)

**URL:** https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859
**Category:** Feature
**Tags:** completed, ai, mcp
**Created:** [May 5, 2025, 4:29pm UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859 "2025-05-05T16:29:34Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [May 5, 2025, 4:29pm UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/1 "2025-05-05T16:29:34Z")

</div>

Looked in this forum and on [GitHub Discourse](https://github.com/discourse) for an official Discourse [Model Context Protocol (MCP)](https://www.anthropic.com/news/model-context-protocol) and did not find anything.

While there are unofficial Discourse MCP ([ref](https://github.com/AshDevFr/discourse-mcp-server)), would much prefer an official one. Yes I am considering creating my own if needed.

* * *

Update:

[DeepLearning.AI](https://learn.deeplearning.ai/) just released a free online class taught by [Elie Schoppik](https://www.linkedin.com/in/eschoppik) from [Anthropic](https://www.anthropic.com/)

> **[MCP: Build Rich-Context AI Apps with Anthropic - DeepLearning.AI](https://learn.deeplearning.ai/courses/mcp-build-rich-context-ai-apps-with-anthropic/lesson/fkbhh/introduction)**
>
> Build AI apps that access tools, data, and prompts using the Model Context Protocol.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 5, 2025, 11:26pm UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/2 "2025-05-05T23:26:19Z")

</div>

We don’t have an official MCP server or client. We have been “waiting and seeing” for now to see how adoption of the protocol emerges.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [May 15, 2025, 11:33am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/4 "2025-05-15T11:33:28Z")

</div>

Would love to have an MCP for Discourse API Docs and Dev Docs. That would help a lot since we have been tweaking some Theme Components and we want to make sure that the code is always compatible to our and future Discourse versions and follow best practice.

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [May 15, 2025, 4:01pm UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/5 "2025-05-15T16:01:36Z")

</div>

> [@jrgong](#):
>
> MCP for Discourse API Docs and Dev Docs

Sometimes it is the ideas that you do not think of that are some of the best. 🙂

Thanks for posting.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [May 15, 2025, 5:32pm UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/6 "2025-05-15T17:32:13Z")

</div>

The “note” seems to be empty when expanded…

---

<div class="post-metadata">

### Author: ![MachineScholar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/machinescholar/32/424719_2.png) [@MachineScholar](https://meta.discourse.org/u/MachineScholar)
#### Post date: [May 16, 2025, 8:14pm UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/8 "2025-05-16T20:14:42Z")

</div>

It isn’t necessarily an industry standard yet (like JSON, REST, etc) therefore early adopters (organizations/companies included) may end up paying the price of something shinier and better coming along after this original MCP. With that being said, it’s understandable that Discourse may want to wait this one out a bit

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [May 20, 2025, 11:50am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/9 "2025-05-20T11:50:22Z")

</div>

For a quick and dirty test I started using GitMCP: [https://gitmcp.io/](https://gitmcp.io/)

If anyone else wants to give it a shot, check it out:

> [https://gitmcp.io/discourse/discourse-developer-docs](https://gitmcp.io/discourse/discourse-developer-docs)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 22, 2025, 12:38am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/10 "2025-05-22T00:38:38Z")

</div>

My current thinking roadmap wise is is along this… still needs lots of refinement but it helps paint a picture of how I think about this.

### V0 - MCP server

- Allow admin to select a collection of tools (either custom or built-in) and publish to a particular endpoint. /discourse-ai/mcp/NAME

- Use Bearer for authentication - in particular a user API key

- Key can be scoped to a particular MCP service

**Milestone**

- Discourse tools (eg: search instance, read topics etc…) can be consumed by Cursor and Claude desktop

### V1 - MCP client

- Allow admin to consume an MCP service, which adds a list of tools to the available tool list that can then be consumed by personas.

- Use Bearer for authentication

**Milestone**

- Services in in [https://mcp.so](https://mcp.so) can be consumed by a discourse instance

### V2 - MCP client per user

- When discussing with bot, privileged users can click “add MCP” and add MCP to an ongoing conversation
- Use Bearer for auth

**Milestone**

- End users can choose to add context for an MCP of choice to an ongoing AI conversation

### V3 - Implement OAuth 2 for auth

- [Authorization - Model Context Protocol](https://modelcontextprotocol.io/specification/draft/basic/authorization)

This is a more complex auth mechanism especially registration

**Milestone**

- Broader support

### V4 - Implement a “bridge” mechanism for local resource access

- Implement a gem or desktop app that allows access to local resources via MCP to discourse, utilizing stdio transport

**milestone**

- You can converse with a Discourse Bot PM and access local files for extra context

---

<div class="post-metadata">

### Author: ![iamcapote](https://avatars.discourse-cdn.com/v4/letter/i/46a35a/32.png) [@iamcapote](https://meta.discourse.org/u/iamcapote)
#### Post date: [May 22, 2025, 1:09am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/11 "2025-05-22T01:09:25Z")

</div>

leaving this here as a possible way of modularizing it , glad to see a conversation on this topic.

> **[Smithery - Connect agents to services in minutes](https://smithery.ai/)**
>
> Connect agents to thousands of tools and services so they can act with more agency. Auth, credentials, and sessions handled for you.

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [May 22, 2025, 10:30am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/12 "2025-05-22T10:30:19Z")

</div>

A security issue one should be advised of/know/understand related to MCPs.

[Stop Running Your MCP Tools via npx/uvx Right Now](https://medium.com/@scalablecto/stop-running-your-mcp-tools-via-npx-uvx-right-now-380d1ab99d3f) by Bob Dickinson

> The gist of the issue is that by using **npx** or **uvx** you are essentially telling your tool-using platform to go get whatever code is registered with the package name provided and run it (the “x” is for “execute”), updating whenever the package changes. And the code that is then run on your machine has root access — it can see your entire machine, environment variables, the file system, it can open ports to listen or to exfiltrate data. This code, which just got pulled down fresh from the registry, can do ANYTHING it wants.

* * *

For example in learning to use MCPs grabbed the time MCP from

> **[servers/src/time at main · modelcontextprotocol/servers](https://github.com/modelcontextprotocol/servers/tree/main/src/time)**
>
> main/src/time

The install instructions note one possible option

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/5/f/15ffacb42a80edf4d02674c86cbdf6c51fb3ea5d.png)

e.g.

 ![The image displays JSON code for configuring a Claude application with an "mcpserver" setup using the "uvx" library, specifying a "command" for the "time" operation. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/7/0/8/7087f88015fa7530475d1a8b90de990da80eace7.png)

uvx actually downloaded all of the code in milliseconds into a temporary directory and ran it as needed. When the MCP client was done (closed in the case of Claude Desktop), the temporary files were deleted.

Yes you should get a warning before the code is executed as in the case with Claude Desktop

 ![A dialog box prompts the user, Claude, to review a third-party integration to get the current time, with options to either decline, allow always, or allow once. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/a/3/a/a3a7db282b78c88dc32ba447e983073ed1429b37.png)

but how many users really know how to check and just click an `allow` option.

* * *

Announcements such as these are common.

[Destructive malware available in NPM repo went unnoticed for 2 years](https://arstechnica.com/information-technology/2025/05/destructive-malware-available-in-npm-repo-went-unnoticed-for-2-years/)

Creating MCP Servers via [vibe coding](https://en.wikipedia.org/wiki/Vibe_coding) is relatively easy, getting the security correct is not.

---

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [June 23, 2025, 1:03am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/13 "2025-06-23T01:03:22Z")

</div>

@jrgong FYI you can do this today with the context7 mcp which is great. It looks like someone added the Discourse docs too, though I don’t know if it’s API, admin, or both. Either way, you can add what’s missing too.

> **[Context7 - Up-to-date documentation for LLMs and AI code editors](https://context7.com/?q=discourse)**
>
> Pull up-to-date, version-specific documentation and code examples for any library directly into Cursor, Claude Code, Windsurf, and other AI coding tools.

> [@sam](#):
>
> My current thinking roadmap wise is is along this… still needs lots of refinement but it helps paint a picture of how I think about this.
> 
> ### V0 - MCP server
> 
> ### V1 - MCP client
> 
> ### V2 - MCP client per user
> 
> ### V3 - Implement OAuth 2 for auth
> 
> ### V4 - Implement a “bridge” mechanism for local resource access

How do I skip to V10 for full control—messaage bus and all. Plug me in 🙂

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 23, 2025, 1:09am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/14 "2025-06-23T01:09:35Z")

</div>

> [@jordan-violet](#):
>
> It looks like someone added the Discourse docs too,

Whatever they added is an absolute disaster, [https://context7.com/discourse/discourse](https://context7.com/discourse/discourse) - I read through a few pages of it and it is useless.

---

<div class="post-metadata">

### Author: ![andreav](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@andreav](https://meta.discourse.org/u/andreav)
#### Post date: [June 26, 2025, 4:54am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/15 "2025-06-26T04:54:11Z")

</div>

Hi everyone,

Just jumping in to say that we currently operate as an **MCP client** via [ravenala.ai](https://ravenala.ai), and we’ve seen some of our users start to integrate Discourse through Zapier-based workflows.

We’re especially excited by the potential of a **native MCP server** , and would love to know if there’s a **rough ETA for V0** or any experimental endpoint we might start testing with. Even a simple `/discourse-ai/mcp/NAME` setup with basic tools (search/read topics, fetch posts) would open up some great async automation use cases.

Happy to share specific feedback and lightweight ideas if helpful—looking forward to seeing how this evolves!

---

<div class="post-metadata">

### Author: ![MachineScholar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/machinescholar/32/424719_2.png) [@MachineScholar](https://meta.discourse.org/u/MachineScholar)
#### Post date: [July 23, 2025, 6:49am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/16 "2025-07-23T06:49:52Z")

</div>

> [@sam](#):
>
> We have been “waiting and seeing”

Contrary to what I originally thought would happen, it seems that MCP is being widely adopted and is becoming more mature. May I inquire as to how you guys are now approaching this?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [July 23, 2025, 8:38am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/17 "2025-07-23T08:38:26Z")

</div>

it is 100% on our roadmap now, but no timeline to when we plan to release here

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [August 18, 2025, 8:41am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/18 "2025-08-18T08:41:06Z")

</div>

I started working on an mcp here:

[https://github.com/SamSaffron/discourse-mcp](https://github.com/SamSaffron/discourse-mcp)

Once I make a bunch more progress we can publish it and make it easy to use.

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [August 18, 2025, 9:53am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/19 "2025-08-18T09:53:23Z")

</div>

A nice way to show support for Discourse MCP that Sam is working on is to give the project a star on the GitHub repository.

Steps

1. Open GitHub repository: [GitHub - discourse/discourse-mcp: MCP client for Discourse sites · GitHub](https://github.com/SamSaffron/discourse-mcp)
2. If you do not have a GitHub account then one needs to be [created](https://docs.github.com/en/get-started/start-your-journey/creating-an-account-on-github) for the next step. If you choose to pass on signing up it is understood.
3. In the upper right click on the star.

![image](https://global.discourse-cdn.com/meta/original/4X/a/e/c/aec4c9fbb429ba76b85d0755d2bf39a1ecee54ed.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [August 18, 2025, 11:35pm UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/20 "2025-08-18T23:35:22Z")

</div>

I am curious, what do y’all expect the MCP to do?

I have the obvious ones of search/read, what are some other specific use cases you are hoping we nail here?

I just added filter which is quite important:

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/e/c/2ece8537fc448c4fd424c9d085fd634224e86437.png)

---

<div class="post-metadata">

### Author: ![MachineScholar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/machinescholar/32/424719_2.png) [@MachineScholar](https://meta.discourse.org/u/MachineScholar)
#### Post date: [August 19, 2025, 8:32am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/21 "2025-08-19T08:32:17Z")

</div>

The timing is splendid. I’m working on creating a sort of open source cognitive system to interact with Discourse instances which runs as a daemon with multiple modules. So being able to create topics as well would be dandy although tricky I’m sure. Also, running [data explorer](https://meta.discourse.org/t/32566?silent=true) queries would allow for enriching context/data quite a lot.

I started building this system using Discourse’s REST API but now I might just wait until the MCP is ready 😛 then use the API for very niche tasks.

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [August 19, 2025, 11:00am UTC](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859/22 "2025-08-19T11:00:30Z")

</div>

> [@sam](#):
>
> I am curious, what do y’all expect the MCP to do?

As you noted you have search and the ability to read specific topics, posts, users and tags which covers most of what is needed.

> [@sam](#):
>
> what are some other specific use cases you are hoping we nail here?

1. **Chat with forum information**

2. **Morning brief**

3. **MCP Discourse forum discriminator** (AKA Relevance score)

4. **Frequently asked question that are unanswered** (AKA [Lacuna](https://dictionary.cambridge.org/us/dictionary/english/lacuna))

* * *

For me personally, currently **not** looking for the ability to write or modify.

[Next page](https://meta.discourse.org/t/is-there-an-official-discourse-model-context-protocol-mcp/364859.md?page=2)
