reddit-mcp-server 1.6.1 → 1.6.2
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/dist/bin.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
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("1.6.
|
|
6
|
+
console.log("1.6.2");
|
|
7
7
|
process.exit(0);
|
|
8
8
|
}
|
|
9
9
|
if (args.includes("--help") || args.includes("-h")) {
|
|
10
10
|
console.log(`
|
|
11
|
-
Reddit MCP Server v1.6.
|
|
11
|
+
Reddit MCP Server v1.6.2
|
|
12
12
|
|
|
13
13
|
Usage: reddit-mcp-server [options]
|
|
14
14
|
|
package/dist/index.js
CHANGED
|
@@ -1244,7 +1244,7 @@ function formatSubredditInfo(subreddit) {
|
|
|
1244
1244
|
//#endregion
|
|
1245
1245
|
//#region src/index.ts
|
|
1246
1246
|
dotenv.config({ quiet: true });
|
|
1247
|
-
const VERSION = "1.6.
|
|
1247
|
+
const VERSION = "1.6.2";
|
|
1248
1248
|
function validateUserAgent(userAgent, username) {
|
|
1249
1249
|
if (!/^[\w-]+:[\w-]+:[\d.]+ \(by \/u\/\w+\)$/.test(userAgent)) {
|
|
1250
1250
|
console.error("[Warning] User-Agent does not follow Reddit's recommended format");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reddit-mcp-server",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "A Model Context Protocol (MCP) server for Reddit with full read AND write operations - create posts, reply, edit, and delete content.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"dotenv": "^17.4.2",
|
|
73
73
|
"fast-xml-parser": "^5.11.1",
|
|
74
|
-
"fastmcp": "^4.
|
|
74
|
+
"fastmcp": "^4.20.14",
|
|
75
75
|
"functype": "^1.8.0",
|
|
76
76
|
"zod": "^4.4.3"
|
|
77
77
|
},
|