twittertools-mcp 1.2.1 → 1.2.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/package.json +1 -1
- package/server.js +8 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twittertools-mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"mcpName": "io.github.steley/twittertools-mcp",
|
|
5
5
|
"description": "MCP server for twittertools.com — fetch X (Twitter) posts and threads, count and split posts with X's real rules. No login, no tracking.",
|
|
6
6
|
"license": "MIT",
|
package/server.js
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./xrules.js";
|
|
30
30
|
|
|
31
31
|
const NAME = "twittertools";
|
|
32
|
-
const VERSION = "1.2.
|
|
32
|
+
const VERSION = "1.2.2"; // keep in sync with package.json
|
|
33
33
|
// Protocol versions this server can honestly claim: across these revisions the
|
|
34
34
|
// four verbs used here (initialize, tools/list, tools/call, ping) kept their
|
|
35
35
|
// shapes, and the additions (icons, tasks, elicitation, …) are all optional
|
|
@@ -56,15 +56,18 @@ const TOOLS = [
|
|
|
56
56
|
description:
|
|
57
57
|
"Fetch one public X (Twitter) post by URL or ID: text, author, engagement counts, " +
|
|
58
58
|
"and media with direct CDN URLs (photos, or MP4 video variants sorted by quality). " +
|
|
59
|
-
"
|
|
59
|
+
"Use for a specific post the user links or cites — not for searching X, timelines, " +
|
|
60
|
+
"bookmarks, or DMs. Deleted, protected, or age-restricted posts are not available " +
|
|
61
|
+
"without an X login.",
|
|
60
62
|
inputSchema: urlOrIdSchema,
|
|
61
63
|
},
|
|
62
64
|
{
|
|
63
65
|
name: "get_thread",
|
|
64
66
|
description:
|
|
65
|
-
"Unroll a public X thread into its posts in order.
|
|
66
|
-
"and prefer pasting the thread's LAST
|
|
67
|
-
"be partial; the response says so
|
|
67
|
+
"Unroll a public X thread into its posts in order. For a single post, use get_tweet " +
|
|
68
|
+
"instead. Expensive upstream — call sparingly, and prefer pasting the thread's LAST " +
|
|
69
|
+
"post, which returns the whole chain. Results may be partial; the response says so " +
|
|
70
|
+
"when they are.",
|
|
68
71
|
inputSchema: urlOrIdSchema,
|
|
69
72
|
},
|
|
70
73
|
{
|