本项目是一个使用 Node.js 实现的 Model Context Protocol (MCP) 服务器,专门用于执行 Discourse 论坛的搜索操作。它为用户提供了便捷的方式,可通过 MCP 协议在 Discourse 论坛中搜索帖子。
query
(字符串)你可以将以下内容添加到你的 claude_desktop_config.json
文件中,以实现与 Claude Desktop 的集成。
{
"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"
]
}
}
}
{
"mcpServers": {
"discourse": {
"command": "npx",
"args": [
"-y",
"@ashdev/discourse-mcp-server"
],
"env": {
"DISCOURSE_API_URL": "https://try.discourse.org",
"DISCOURSE_API_KEY": "1234"
}
}
}
}