mirror of
https://ghfast.top/https://github.com/discourse/discourse-mcp.git
synced 2026-07-16 11:47:54 +08:00
Adds three new tools for interacting with Discourse Chat: - discourse_list_chat_channels: List all public chat channels with filtering and pagination support - discourse_list_user_chat_channels: List user's chat channels (public + DMs) with unread tracking - discourse_get_chat_messages: Retrieve channel messages with flexible pagination The discourse_get_chat_messages tool supports: - Directional pagination (past/future) from a target message ID - Date-based filtering (query messages around a specific date) - Fetching from last read position - Smart pagination hints that adapt based on query direction All tools follow the text-only output pattern (no redundant JSON footers) for optimal context usage. Version bumped to 0.1.12
57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"name": "@discourse/mcp",
|
|
"version": "0.1.12",
|
|
"description": "Discourse MCP CLI server (stdio) exposing Discourse tools via MCP",
|
|
"author": "Discourse",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"discourse",
|
|
"mcp"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/discourse/discourse-mcp.git"
|
|
},
|
|
"homepage": "https://github.com/discourse/discourse-mcp#readme",
|
|
"private": false,
|
|
"type": "module",
|
|
"bin": {
|
|
"discourse-mcp": "dist/index.js"
|
|
},
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"prepublishOnly": "pnpm build",
|
|
"dev": "node --enable-source-maps dist/index.js",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf dist",
|
|
"sync:fixtures": "node scripts/sync-fixtures.mjs",
|
|
"test": "node --test dist/test/**/*.js",
|
|
"release": "standard-version",
|
|
"release:dry": "standard-version --dry-run",
|
|
"release:alpha": "standard-version --prerelease alpha",
|
|
"release:beta": "standard-version --prerelease beta"
|
|
},
|
|
"files": [
|
|
"dist/**",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"engines": {
|
|
"node": ">=24"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.14.10",
|
|
"standard-version": "^9.5.0",
|
|
"typescript": "^5.5.4"
|
|
},
|
|
"packageManager": "pnpm@10.14.0"
|
|
}
|