reddit-mcp-server 1.7.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +1 -1
- package/dist/bin.js +2 -2
- package/dist/index.js +141 -147
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [2.0.0] - 2026-10-31
|
|
6
|
+
|
|
7
|
+
A major version because HTTP clients lose `/sse` and `/ready`, and invalid arguments change shape. Stdio clients (Claude Desktop, Claude Code, `npx`) see no change.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- The server runs on [somamcp](https://github.com/sapientsai/somamcp) 2.2 (MCP TypeScript SDK 2.x) instead of FastMCP. Tool names, descriptions and parameters are unchanged; tools now also carry a top-level `title`, and their input schemas are JSON Schema draft 2020-12
|
|
12
|
+
- Tool errors read as plain text: `Failed to search: …` instead of `Tool 'search_reddit' execution failed: Failed to search: …`, still with `isError: true`
|
|
13
|
+
- Invalid tool arguments come back as a tool result with `isError: true` (`Invalid arguments for tool 'get_user_posts': Too big: …`), not a JSON-RPC `-32602` protocol error, and the message no longer names the field
|
|
14
|
+
- HTTP serving is stateless: no `Mcp-Session-Id`, and `GET`/`DELETE /mcp` answer 405. MCP SDK clients handle this
|
|
15
|
+
- `/health` answers JSON (`{"name":"reddit-mcp-server","status":"running"}`) instead of the text `✓ Ok`. `/health/detail` is new and takes the bearer token when `OAUTH_ENABLED=true`; with OAuth off it always answers 401
|
|
16
|
+
- Requests over 4 MiB get 413
|
|
17
|
+
- 401 and 403 responses carry the standard reason phrases instead of custom ones; the status codes are unchanged
|
|
18
|
+
- The Docker Compose health check probes `/health` instead of `/`, which was always 404
|
|
19
|
+
- The Docker build downloads pnpm's native binary once per platform, with retries, in a cached layer. The runtime image runs on node alone, without pnpm, and shrinks from 129 MB to 72 MB
|
|
20
|
+
- `manifest.json` lists all 25 tools; it listed 15
|
|
21
|
+
- `functype` 1.22; `somamcp` 2.2.1, so `/health/detail` answers a wrong token with 403, as `/mcp` does
|
|
22
|
+
|
|
23
|
+
### Removed
|
|
24
|
+
|
|
25
|
+
- The legacy SSE endpoint (`/sse`). HTTP clients use Streamable HTTP at `/mcp`
|
|
26
|
+
- `/ready`. Use `/health`
|
|
27
|
+
|
|
28
|
+
### Unchanged on purpose
|
|
29
|
+
|
|
30
|
+
- CORS: preflight and responses still allow any origin, as under FastMCP
|
|
31
|
+
- Keepalive: HTTP responses stream as SSE with periodic keepalive frames, as FastMCP's pings did, so idle-timeout proxies don't cut long tool calls
|
|
32
|
+
|
|
5
33
|
## [1.5.0] - 2026-06-22
|
|
6
34
|
|
|
7
35
|
### Added
|
package/README.md
CHANGED
|
@@ -240,7 +240,7 @@ Without OAuth credentials, reads come from two free sources:
|
|
|
240
240
|
| `get_subreddit_info`, `get_subreddit_rules` | Arctic Shift | |
|
|
241
241
|
| `search_reddit` | Arctic Shift | Posts need `subreddit`; `type=sr` matches name prefixes; no `type=user` |
|
|
242
242
|
|
|
243
|
-
**Archive caveats:** scores and comment counts lag, and are often 0 or 1 on recent posts. Keyword search on large subreddits is slow, and the archive throttles it
|
|
243
|
+
**Archive caveats:** scores and comment counts lag, and are often 0 or 1 on recent posts. Keyword search on large subreddits is slow, and the archive throttles it. The server waits up to 10 seconds and retries once. If that fails too, the error says when to retry. Every archive result ends with a note naming the source.
|
|
244
244
|
|
|
245
245
|
**Still needs OAuth:** `get_trending_subreddits`, `get_post_flairs`, `get_me`, `get_my_overview`, `get_my_saved`, and all write tools.
|
|
246
246
|
|
package/dist/bin.js
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
process.env.TRANSPORT_TYPE ??= "stdio";
|
|
4
4
|
const args = process.argv.slice(2);
|
|
5
5
|
if (args.includes("--version") || args.includes("-v")) {
|
|
6
|
-
console.log("
|
|
6
|
+
console.log("2.0.0");
|
|
7
7
|
process.exit(0);
|
|
8
8
|
}
|
|
9
9
|
if (args.includes("--help") || args.includes("-h")) {
|
|
10
10
|
console.log(`
|
|
11
|
-
Reddit MCP Server
|
|
11
|
+
Reddit MCP Server v2.0.0
|
|
12
12
|
|
|
13
13
|
Usage: reddit-mcp-server [options]
|
|
14
14
|
|