Cloudflare Community MCP Server

Last updated Jun 3, 2026 The MCP server for the Cloudflare Community forum ↗︎ lets AI agents search topics, read posts, look up users, and filter content.

The server is powered by @discourse/mcp ↗︎, the official Discourse MCP server.

Install

npx @discourse/mcp@latest

Configure

OpenCode

Add to ~/.config/opencode/opencode.jsonc inside the "mcp" block:

"discourse": {
  "type": "local",
  "command": ["npx", "-y", "@discourse/mcp@latest"],
  "enabled": true
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "discourse": {
      "command": "npx",
      "args": ["-y", "@discourse/mcp@latest"]
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "discourse": {
      "command": "npx",
      "args": ["-y", "@discourse/mcp@latest"]
    }
  }
}

Connect to the Cloudflare Community

After configuring your client, use the discourse_select_site tool with:

https://community.cloudflare.com

No API key is needed for reading public data. An API key is only required for write operations (posting, moderation).

Available tools

Tool Description
discourse_select_site Connect to community.cloudflare.com
discourse_search Full-text search across topics and posts
discourse_filter_topics Filter by category, tags, status, dates
discourse_read_topic Read a topic's posts and metadata
discourse_read_post Read a specific post
discourse_get_user Look up a user's profile
discourse_list_user_posts List posts by a user

Example usage

Once connected, you can ask your AI assistant things like:

  • "Search the Cloudflare community for topics about Error 522"
  • "Find unanswered topics in the SSL category from the last 3 days"
  • "Read topic 42325 and summarize the issue"
  • "Show me recent replies from user sandro"

Machine-readable discovery

AI agents can automatically discover the MCP server through these endpoints on community.cloudflare.com:

Was this helpful?

YesNo

On this page

Cloudflare Community MCP Server - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/community-mcp-server/#page","headline":"Cloudflare Community MCP Server","description":"Learn how to use the Cloudflare Community MCP server to search topics, read posts, and filter content.","url":"https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/community-mcp-server/","inLanguage":"en","image":"https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/community-mcp-server/og.png?v=a47d35b02f591164","dateModified":"2026-06-03","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Understand single-code-tool and search-and-execute patterns for exposing tools and large APIs through MCP. title: Code Mode MCP server patterns image: https://developers.cloudflare.com/agents/model-context-protocol/codemode/og.png?v=7b60bc7579cea6b4


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/agents/llms.txt
Use this file to discover all available pages before exploring further.