twitterapi-io-mcp 1.5.8 → 1.5.9
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 +9 -1
- package/data/docs.json +201 -15
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.5.9](https://github.com/dorukardahan/twitterapi-io-mcp/compare/v1.5.8...v1.5.9) (2026-04-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* sync live OpenAPI write params ([4a9f8b4](https://github.com/dorukardahan/twitterapi-io-mcp/commit/4a9f8b4ef02c69e964634d780dae52a77a656a27))
|
|
7
|
+
|
|
1
8
|
## [1.5.8](https://github.com/dorukardahan/twitterapi-io-mcp/compare/v1.5.7...v1.5.8) (2026-04-21)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -9,7 +16,8 @@
|
|
|
9
16
|
|
|
10
17
|
### Bug Fixes
|
|
11
18
|
|
|
12
|
-
*
|
|
19
|
+
* sync `create_tweet_v2`, `send_dm_to_user`, and `upload_image` request params with the live OpenAPI
|
|
20
|
+
* add `npm audit --audit-level=high` back to `prepublishOnly` and pin transitive `npm` to 11.13.0 via `overrides`
|
|
13
21
|
|
|
14
22
|
## [1.5.7](https://github.com/dorukardahan/twitterapi-io-mcp/compare/v1.5.6...v1.5.7) (2026-04-19)
|
|
15
23
|
|
package/data/docs.json
CHANGED
|
@@ -1577,7 +1577,17 @@
|
|
|
1577
1577
|
"media_ids": {
|
|
1578
1578
|
"type": "array",
|
|
1579
1579
|
"required": false,
|
|
1580
|
-
"description": "
|
|
1580
|
+
"description": "List of media IDs (strings) to attach. Optional. Obtain each from /twitter/upload_media_v2."
|
|
1581
|
+
},
|
|
1582
|
+
"quote_tweet_id": {
|
|
1583
|
+
"type": "string",
|
|
1584
|
+
"required": false,
|
|
1585
|
+
"description": "ID of a tweet to quote. Optional. Alternative to attachment_url."
|
|
1586
|
+
},
|
|
1587
|
+
"schedule_for": {
|
|
1588
|
+
"type": "string",
|
|
1589
|
+
"required": false,
|
|
1590
|
+
"description": "Schedule the tweet to be sent at a future time. Optional. Format: ISO-8601 with milliseconds, e.g. 2026-01-20T10:00:00.000Z"
|
|
1581
1591
|
},
|
|
1582
1592
|
"proxy": {
|
|
1583
1593
|
"type": "string",
|
|
@@ -1619,7 +1629,17 @@
|
|
|
1619
1629
|
"media_ids": {
|
|
1620
1630
|
"type": "array",
|
|
1621
1631
|
"required": false,
|
|
1622
|
-
"description": "
|
|
1632
|
+
"description": "List of media IDs (strings) to attach. Optional. Obtain each from /twitter/upload_media_v2."
|
|
1633
|
+
},
|
|
1634
|
+
"quote_tweet_id": {
|
|
1635
|
+
"type": "string",
|
|
1636
|
+
"required": false,
|
|
1637
|
+
"description": "ID of a tweet to quote. Optional. Alternative to attachment_url."
|
|
1638
|
+
},
|
|
1639
|
+
"schedule_for": {
|
|
1640
|
+
"type": "string",
|
|
1641
|
+
"required": false,
|
|
1642
|
+
"description": "Schedule the tweet to be sent at a future time. Optional. Format: ISO-8601 with milliseconds, e.g. 2026-01-20T10:00:00.000Z"
|
|
1623
1643
|
},
|
|
1624
1644
|
"proxy": {
|
|
1625
1645
|
"type": "string",
|
|
@@ -1645,7 +1665,89 @@
|
|
|
1645
1665
|
"code_snippets": [
|
|
1646
1666
|
"curl --request POST \\\n --url 'https://api.twitterapi.io/twitter/create_tweet_v2' \\\n --header 'X-API-Key: <api-key>' \\\n --header 'Content-Type: application/json'"
|
|
1647
1667
|
],
|
|
1648
|
-
"raw_text": "Create a tweet.You must set the login_cookie.You can get the login_cookie from /twitter/user_login_v2.Trial operation price: $0.003 per call. login_cookies: The login cookies of the user.You can get the login_cookie from /twitter/user_login_v2.Must be set tweet_text: The text of the tweet.Must be set reply_to_tweet_id: The id of the tweet to reply to.Optional attachment_url: The url of quote tweet.Optional.eg.https://x.com/sama/status/1947640330318156074 community_id: The id of the community to post to.Optional is_note_tweet: If this option is set to True, tweets longer than 280 characters can be posted (Twitter Premium only). media_ids: The ids of the media to post.Optional.You can get the media_ids from /twitter/upload_image_v2 (to be developed) proxy: The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504"
|
|
1668
|
+
"raw_text": "Create a tweet.You must set the login_cookie.You can get the login_cookie from /twitter/user_login_v2.Trial operation price: $0.003 per call. login_cookies: The login cookies of the user.You can get the login_cookie from /twitter/user_login_v2.Must be set tweet_text: The text of the tweet.Must be set reply_to_tweet_id: The id of the tweet to reply to.Optional attachment_url: The url of quote tweet.Optional.eg.https://x.com/sama/status/1947640330318156074 community_id: The id of the community to post to.Optional is_note_tweet: If this option is set to True, tweets longer than 280 characters can be posted (Twitter Premium only). media_ids: The ids of the media to post.Optional.You can get the media_ids from /twitter/upload_image_v2 (to be developed) proxy: The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504",
|
|
1669
|
+
"parameters": [
|
|
1670
|
+
{
|
|
1671
|
+
"name": "login_cookies",
|
|
1672
|
+
"in": "body",
|
|
1673
|
+
"type": "string",
|
|
1674
|
+
"format": null,
|
|
1675
|
+
"required": true,
|
|
1676
|
+
"description": "The login cookies of the user.You can get the login_cookie from /twitter/user_login_v2.Must be set"
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"name": "tweet_text",
|
|
1680
|
+
"in": "body",
|
|
1681
|
+
"type": "string",
|
|
1682
|
+
"format": null,
|
|
1683
|
+
"required": true,
|
|
1684
|
+
"description": "The text of the tweet.Must be set"
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
"name": "reply_to_tweet_id",
|
|
1688
|
+
"in": "body",
|
|
1689
|
+
"type": "string",
|
|
1690
|
+
"format": null,
|
|
1691
|
+
"required": false,
|
|
1692
|
+
"description": "The id of the tweet to reply to.Optional"
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
"name": "attachment_url",
|
|
1696
|
+
"in": "body",
|
|
1697
|
+
"type": "string",
|
|
1698
|
+
"format": null,
|
|
1699
|
+
"required": false,
|
|
1700
|
+
"description": "The url of quote tweet.Optional.eg.https://x.com/sama/status/1947640330318156074"
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"name": "community_id",
|
|
1704
|
+
"in": "body",
|
|
1705
|
+
"type": "string",
|
|
1706
|
+
"format": null,
|
|
1707
|
+
"required": false,
|
|
1708
|
+
"description": "The id of the community to post to.Optional"
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"name": "is_note_tweet",
|
|
1712
|
+
"in": "body",
|
|
1713
|
+
"type": "boolean",
|
|
1714
|
+
"format": null,
|
|
1715
|
+
"required": false,
|
|
1716
|
+
"description": "If this option is set to True, tweets longer than 280 characters can be posted (Twitter Premium only)."
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"name": "media_ids",
|
|
1720
|
+
"in": "body",
|
|
1721
|
+
"type": "array",
|
|
1722
|
+
"format": null,
|
|
1723
|
+
"required": false,
|
|
1724
|
+
"description": "List of media IDs (strings) to attach. Optional. Obtain each from /twitter/upload_media_v2."
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"name": "quote_tweet_id",
|
|
1728
|
+
"in": "body",
|
|
1729
|
+
"type": "string",
|
|
1730
|
+
"format": null,
|
|
1731
|
+
"required": false,
|
|
1732
|
+
"description": "ID of a tweet to quote. Optional. Alternative to attachment_url."
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"name": "schedule_for",
|
|
1736
|
+
"in": "body",
|
|
1737
|
+
"type": "string",
|
|
1738
|
+
"format": null,
|
|
1739
|
+
"required": false,
|
|
1740
|
+
"description": "Schedule the tweet to be sent at a future time. Optional. Format: ISO-8601 with milliseconds, e.g. 2026-01-20T10:00:00.000Z"
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"name": "proxy",
|
|
1744
|
+
"in": "body",
|
|
1745
|
+
"type": "string",
|
|
1746
|
+
"format": null,
|
|
1747
|
+
"required": true,
|
|
1748
|
+
"description": "The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504"
|
|
1749
|
+
}
|
|
1750
|
+
]
|
|
1649
1751
|
},
|
|
1650
1752
|
"upload_media_v2": {
|
|
1651
1753
|
"name": "upload_media_v2",
|
|
@@ -2118,10 +2220,10 @@
|
|
|
2118
2220
|
"required": true,
|
|
2119
2221
|
"description": "The text of the direct message.Must be set"
|
|
2120
2222
|
},
|
|
2121
|
-
"
|
|
2122
|
-
"type": "
|
|
2223
|
+
"media_id": {
|
|
2224
|
+
"type": "string",
|
|
2123
2225
|
"required": false,
|
|
2124
|
-
"description": "
|
|
2226
|
+
"description": "ID of a single media asset to attach. Optional. Obtain from /twitter/upload_media_v2."
|
|
2125
2227
|
},
|
|
2126
2228
|
"proxy": {
|
|
2127
2229
|
"type": "string",
|
|
@@ -2150,10 +2252,10 @@
|
|
|
2150
2252
|
"required": true,
|
|
2151
2253
|
"description": "The text of the direct message.Must be set"
|
|
2152
2254
|
},
|
|
2153
|
-
"
|
|
2154
|
-
"type": "
|
|
2255
|
+
"media_id": {
|
|
2256
|
+
"type": "string",
|
|
2155
2257
|
"required": false,
|
|
2156
|
-
"description": "
|
|
2258
|
+
"description": "ID of a single media asset to attach. Optional. Obtain from /twitter/upload_media_v2."
|
|
2157
2259
|
},
|
|
2158
2260
|
"proxy": {
|
|
2159
2261
|
"type": "string",
|
|
@@ -2184,7 +2286,57 @@
|
|
|
2184
2286
|
"code_snippets": [
|
|
2185
2287
|
"curl --request POST \\\n --url 'https://api.twitterapi.io/twitter/send_dm_to_user' \\\n --header 'X-API-Key: <api-key>' \\\n --header 'Content-Type: application/json'"
|
|
2186
2288
|
],
|
|
2187
|
-
"raw_text": "Send a direct message to a user.You must set the login_cookie..You can get the login_cookie from /twitter/user_login_v2.You can only send DMs to those who have enabled DMs. Sometimes it may fail, so be prepared to retry.Trial operation price: $0.003 per call. login_cookies: The login cookie of the user.You can get the login_cookies from /twitter/user_login_v2.Must be set user_id: The id of the user to send the direct message to.Must be set text: The text of the direct message.Must be set media_ids: The ids of the media to post.Optional.You can get the media_ids from /twitter/upload_image_v2 (to be developed) proxy: The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 reply_to_message_id: The id of the message to reply to.Optional"
|
|
2289
|
+
"raw_text": "Send a direct message to a user.You must set the login_cookie..You can get the login_cookie from /twitter/user_login_v2.You can only send DMs to those who have enabled DMs. Sometimes it may fail, so be prepared to retry.Trial operation price: $0.003 per call. login_cookies: The login cookie of the user.You can get the login_cookies from /twitter/user_login_v2.Must be set user_id: The id of the user to send the direct message to.Must be set text: The text of the direct message.Must be set media_ids: The ids of the media to post.Optional.You can get the media_ids from /twitter/upload_image_v2 (to be developed) proxy: The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504 reply_to_message_id: The id of the message to reply to.Optional",
|
|
2290
|
+
"parameters": [
|
|
2291
|
+
{
|
|
2292
|
+
"name": "login_cookies",
|
|
2293
|
+
"in": "body",
|
|
2294
|
+
"type": "string",
|
|
2295
|
+
"format": null,
|
|
2296
|
+
"required": true,
|
|
2297
|
+
"description": "The login cookie of the user.You can get the login_cookies from /twitter/user_login_v2.Must be set"
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"name": "user_id",
|
|
2301
|
+
"in": "body",
|
|
2302
|
+
"type": "string",
|
|
2303
|
+
"format": null,
|
|
2304
|
+
"required": true,
|
|
2305
|
+
"description": "The id of the user to send the direct message to.Must be set"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"name": "text",
|
|
2309
|
+
"in": "body",
|
|
2310
|
+
"type": "string",
|
|
2311
|
+
"format": null,
|
|
2312
|
+
"required": true,
|
|
2313
|
+
"description": "The text of the direct message.Must be set"
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
"name": "media_id",
|
|
2317
|
+
"in": "body",
|
|
2318
|
+
"type": "string",
|
|
2319
|
+
"format": null,
|
|
2320
|
+
"required": false,
|
|
2321
|
+
"description": "ID of a single media asset to attach. Optional. Obtain from /twitter/upload_media_v2."
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
"name": "proxy",
|
|
2325
|
+
"in": "body",
|
|
2326
|
+
"type": "string",
|
|
2327
|
+
"format": null,
|
|
2328
|
+
"required": true,
|
|
2329
|
+
"description": "The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504"
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
"name": "reply_to_message_id",
|
|
2333
|
+
"in": "body",
|
|
2334
|
+
"type": "string",
|
|
2335
|
+
"format": null,
|
|
2336
|
+
"required": false,
|
|
2337
|
+
"description": "The id of the message to reply to.Optional"
|
|
2338
|
+
}
|
|
2339
|
+
]
|
|
2188
2340
|
},
|
|
2189
2341
|
"create_community_v2": {
|
|
2190
2342
|
"name": "create_community_v2",
|
|
@@ -4120,7 +4272,7 @@
|
|
|
4120
4272
|
"name": "auth_session",
|
|
4121
4273
|
"in": "body",
|
|
4122
4274
|
"type": "string",
|
|
4123
|
-
"format":
|
|
4275
|
+
"format": null,
|
|
4124
4276
|
"required": true,
|
|
4125
4277
|
"description": "The session of the login. It's returned by /twitter/login_by_2fa"
|
|
4126
4278
|
},
|
|
@@ -4128,15 +4280,15 @@
|
|
|
4128
4280
|
"name": "image_url",
|
|
4129
4281
|
"in": "body",
|
|
4130
4282
|
"type": "string",
|
|
4131
|
-
"format":
|
|
4132
|
-
"required":
|
|
4283
|
+
"format": null,
|
|
4284
|
+
"required": true,
|
|
4133
4285
|
"description": "The url of the image to upload"
|
|
4134
4286
|
},
|
|
4135
4287
|
{
|
|
4136
4288
|
"name": "proxy",
|
|
4137
4289
|
"in": "body",
|
|
4138
4290
|
"type": "string",
|
|
4139
|
-
"format":
|
|
4291
|
+
"format": null,
|
|
4140
4292
|
"required": true,
|
|
4141
4293
|
"description": "The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port"
|
|
4142
4294
|
}
|
|
@@ -4147,7 +4299,41 @@
|
|
|
4147
4299
|
"code_snippets": [
|
|
4148
4300
|
"curl --request POST \\\n --url 'https://api.twitterapi.io/twitter/upload_image' \\\n --header 'X-API-Key: <api-key>' \\\n --header 'Content-Type: application/json'"
|
|
4149
4301
|
],
|
|
4150
|
-
"raw_text": "upload image to twitter.Need to login first. Trial operation price: $0.001 per call. auth_session: The session of the login. It's returned by /twitter/login_by_2fa image_url: The url of the image to upload proxy: The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port"
|
|
4302
|
+
"raw_text": "upload image to twitter.Need to login first. Trial operation price: $0.001 per call. auth_session: The session of the login. It's returned by /twitter/login_by_2fa image_url: The url of the image to upload proxy: The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port",
|
|
4303
|
+
"body": {
|
|
4304
|
+
"auth_session": {
|
|
4305
|
+
"type": "string",
|
|
4306
|
+
"required": true,
|
|
4307
|
+
"description": "The session of the login. It's returned by /twitter/login_by_2fa"
|
|
4308
|
+
},
|
|
4309
|
+
"image_url": {
|
|
4310
|
+
"type": "string",
|
|
4311
|
+
"required": true,
|
|
4312
|
+
"description": "The url of the image to upload"
|
|
4313
|
+
},
|
|
4314
|
+
"proxy": {
|
|
4315
|
+
"type": "string",
|
|
4316
|
+
"required": true,
|
|
4317
|
+
"description": "The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port"
|
|
4318
|
+
}
|
|
4319
|
+
},
|
|
4320
|
+
"body_parameters": {
|
|
4321
|
+
"auth_session": {
|
|
4322
|
+
"type": "string",
|
|
4323
|
+
"required": true,
|
|
4324
|
+
"description": "The session of the login. It's returned by /twitter/login_by_2fa"
|
|
4325
|
+
},
|
|
4326
|
+
"image_url": {
|
|
4327
|
+
"type": "string",
|
|
4328
|
+
"required": true,
|
|
4329
|
+
"description": "The url of the image to upload"
|
|
4330
|
+
},
|
|
4331
|
+
"proxy": {
|
|
4332
|
+
"type": "string",
|
|
4333
|
+
"required": true,
|
|
4334
|
+
"description": "The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port"
|
|
4335
|
+
}
|
|
4336
|
+
}
|
|
4151
4337
|
},
|
|
4152
4338
|
"create_tweet": {
|
|
4153
4339
|
"name": "create_tweet",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twitterapi-io-mcp",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.9",
|
|
4
4
|
"mcpName": "io.github.dorukardahan/twitterapi-io-mcp",
|
|
5
5
|
"description": "TwitterAPI.io MCP server providing offline access to docs (endpoints, pages, blogs) for Claude and other AI assistants",
|
|
6
6
|
"main": "index.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"build": "echo 'No build step required - pure ES Module'",
|
|
15
15
|
"scrape": "node scrape-all.cjs",
|
|
16
16
|
"generate:docs": "node generate-context7-docs.cjs",
|
|
17
|
-
"prepublishOnly": "npm test"
|
|
17
|
+
"prepublishOnly": "npm audit --audit-level=high && npm test"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
20
20
|
"mcp",
|
|
@@ -71,5 +71,8 @@
|
|
|
71
71
|
"@semantic-release/exec": "^7.1.0",
|
|
72
72
|
"@semantic-release/git": "^10.0.1",
|
|
73
73
|
"semantic-release": "^25.0.3"
|
|
74
|
+
},
|
|
75
|
+
"overrides": {
|
|
76
|
+
"npm": "11.13.0"
|
|
74
77
|
}
|
|
75
78
|
}
|