Discourse Mcp Server

Discourse Mcp Server

🚀 论坛 MCP 服务器

本项目是一个使用 Node.js 实现的 Model Context Protocol (MCP) 服务器,专门用于执行 Discourse 论坛的搜索操作。它为用户提供了便捷的方式,可通过 MCP 协议在 Discourse 论坛中搜索帖子。

✨ 主要特性

  • 支持使用 MCP 协议在 Discourse 论坛中搜索帖子。

📚 详细文档

📄 API 文档

工具

  • search_posts
    • 功能:在 Discourse 论坛中搜索帖子。
    • 输入query (字符串)
    • 返回:帖子对象数组

💻 使用示例

与 Claude Desktop 集成

你可以将以下内容添加到你的 claude_desktop_config.json 文件中,以实现与 Claude Desktop 的集成。

Docker 方式

{
"mcpServers": {
"discourse": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "DISCOURSE_API_URL=https://try.discourse.org",
"-e", "DISCOURSE_API_KEY=1234",
"-e", "DISCOURSE_API_USERNAME=ash",
"ashdev/discourse-mcp-server"
]
}
}
}

NPX 方式

{
"mcpServers": {
"discourse": {
"command": "npx",
"args": [
"-y",
"@ashdev/discourse-mcp-server"
],
"env": {
"DISCOURSE_API_URL": "https://try.discourse.org",
"DISCOURSE_API_KEY": "1234"
}
}
}
}
  • 0 关注
  • 0 收藏,8 浏览
  • system 提出于 2025-09-23 06:27

相似服务问题