https://github.com/ashdevfr/discourse-mcp-server
https://github.com/ashdevfr/discourse-mcp-server
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ashdevfr/discourse-mcp-server
- Owner: AshDevFr
- License: mit
- Created: 2025-03-10T21:47:18.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-10T23:36:54.000Z (7 months ago)
- Last Synced: 2025-06-18T02:48:03.722Z (4 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discourse MCP Server
Node.js server implementing Model Context Protocol (MCP) for Discourse search operation.
## Features
- Search Posts on a Discourse forum using MCP protocol.
## API
### Tools
- **search_posts**
- Search posts on a Discourse forum
- Input: `query` (string)
- Returns an array of post objects## Usage with Claude Desktop
Add this to your `claude_desktop_config.json`:### Docker
```json
{
"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
```json
{
"mcpServers": {
"discourse": {
"command": "npx",
"args": [
"-y",
"@ashdev/discourse-mcp-server"
],
"env": {
"DISCOURSE_API_URL": "https://try.discourse.org",
"DISCOURSE_API_KEY": "1234",
"DISCOURSE_API_USERNAME": "ash"
}
}
}
}
```## Build
Docker build:
```bash
docker build -t ashdev/discourse-mcp-server .
```