reddit-mcp-server 1.4.6 → 1.4.7
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 +1 -1
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.4.
|
|
6
|
+
console.log("1.4.7");
|
|
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.4.
|
|
11
|
+
Reddit MCP Server v1.4.7
|
|
12
12
|
|
|
13
13
|
Usage: reddit-mcp-server [options]
|
|
14
14
|
|
package/dist/index.js
CHANGED
|
@@ -657,7 +657,7 @@ function formatSubredditInfo(subreddit) {
|
|
|
657
657
|
//#endregion
|
|
658
658
|
//#region src/index.ts
|
|
659
659
|
dotenv.config({ quiet: true });
|
|
660
|
-
const VERSION = "1.4.
|
|
660
|
+
const VERSION = "1.4.7";
|
|
661
661
|
function validateUserAgent(userAgent, username) {
|
|
662
662
|
if (!/^[\w-]+:[\w-]+:[\d.]+ \(by \/u\/\w+\)$/.test(userAgent)) {
|
|
663
663
|
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.4.
|
|
3
|
+
"version": "1.4.7",
|
|
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",
|