twitterapi-io-mcp 1.5.0 → 1.5.1

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.
Files changed (2) hide show
  1. package/data/docs.json +223 -10
  2. package/package.json +1 -1
package/data/docs.json CHANGED
@@ -1673,7 +1673,51 @@
1673
1673
  "code_snippets": [
1674
1674
  "curl --request POST \\\n --url 'https://api.twitterapi.io/twitter/upload_media_v2' \\\n --header 'X-API-Key: <api-key>'"
1675
1675
  ],
1676
- "raw_text": "Upload media to twitter.You must set the login_cookie.You can get the login_cookie from /twitter/user_login_v2.Trial operation price: $0.003 per call. "
1676
+ "raw_text": "Upload media to twitter.You must set the login_cookie.You can get the login_cookie from /twitter/user_login_v2.Trial operation price: $0.003 per call. ",
1677
+ "body": {
1678
+ "file": {
1679
+ "type": "file",
1680
+ "required": true,
1681
+ "description": "The media file to upload (image/video). Use multipart/form-data."
1682
+ },
1683
+ "login_cookies": {
1684
+ "type": "string",
1685
+ "required": true,
1686
+ "description": "The login cookies from /twitter/user_login_v2"
1687
+ },
1688
+ "proxy": {
1689
+ "type": "string",
1690
+ "required": true,
1691
+ "description": "Residential proxy URL. Example: http://username:password@ip:port"
1692
+ },
1693
+ "is_long_video": {
1694
+ "type": "boolean",
1695
+ "required": false,
1696
+ "description": "Set to true for videos longer than 2:20 (Premium only)"
1697
+ }
1698
+ },
1699
+ "body_parameters": {
1700
+ "file": {
1701
+ "type": "file",
1702
+ "required": true,
1703
+ "description": "The media file to upload (image/video). Use multipart/form-data."
1704
+ },
1705
+ "login_cookies": {
1706
+ "type": "string",
1707
+ "required": true,
1708
+ "description": "The login cookies from /twitter/user_login_v2"
1709
+ },
1710
+ "proxy": {
1711
+ "type": "string",
1712
+ "required": true,
1713
+ "description": "Residential proxy URL. Example: http://username:password@ip:port"
1714
+ },
1715
+ "is_long_video": {
1716
+ "type": "boolean",
1717
+ "required": false,
1718
+ "description": "Set to true for videos longer than 2:20 (Premium only)"
1719
+ }
1720
+ }
1677
1721
  },
1678
1722
  "like_tweet_v2": {
1679
1723
  "name": "like_tweet_v2",
@@ -2444,7 +2488,8 @@
2444
2488
  "code_snippets": [
2445
2489
  "curl --request GET \\\n --url 'https://api.twitterapi.io/oapi/tweet_filter/get_rules' \\\n --header 'X-API-Key: <api-key>'"
2446
2490
  ],
2447
- "raw_text": "Get all tweet filter rules.Rule can be used in webhook and websocket.You can also modify the rule in our web page."
2491
+ "raw_text": "Get all tweet filter rules.Rule can be used in webhook and websocket.You can also modify the rule in our web page.",
2492
+ "parameters": {}
2448
2493
  },
2449
2494
  "add_user_to_monitor_tweet": {
2450
2495
  "name": "add_user_to_monitor_tweet",
@@ -2560,7 +2605,8 @@
2560
2605
  "code_snippets": [
2561
2606
  "curl --request GET \\\n --url 'https://api.twitterapi.io/oapi/x_user_stream/get_user_to_monitor_tweet' \\\n --header 'X-API-Key: <api-key>'"
2562
2607
  ],
2563
- "raw_text": "Get the list of users being monitored for real-time tweets. Returns all users that have been added for tweet monitoring. Please ref:https://twitterapi.io/twitter-stream"
2608
+ "raw_text": "Get the list of users being monitored for real-time tweets. Returns all users that have been added for tweet monitoring. Please ref:https://twitterapi.io/twitter-stream",
2609
+ "parameters": {}
2564
2610
  },
2565
2611
  "add_webhook_rule": {
2566
2612
  "name": "add_webhook_rule",
@@ -3165,7 +3211,8 @@
3165
3211
  "code_snippets": [
3166
3212
  "curl --request GET \\\n --url 'https://api.twitterapi.io/oapi/my/info' \\\n --header 'X-API-Key: <api-key>'"
3167
3213
  ],
3168
- "raw_text": "Get my info"
3214
+ "raw_text": "Get my info",
3215
+ "parameters": {}
3169
3216
  },
3170
3217
  "update_avatar_v2": {
3171
3218
  "name": "update_avatar_v2",
@@ -3501,7 +3548,34 @@
3501
3548
  "code_snippets": [
3502
3549
  "curl --request POST \\\n --url 'https://api.twitterapi.io/twitter/list/add_member' \\\n --header 'X-API-Key: <api-key>' \\\n --header 'Content-Type: application/json' \\\n --data '{\"auth_session\": \"SESSION\", \"list_id\": \"LIST_ID\", \"user_name\": \"USERNAME\", \"proxy\": \"http://user:pass@host:port\"}'"
3503
3550
  ],
3504
- "raw_text": "Add member to a list. Need to login first. auth_session: login session list_id: list id user_id: user id user_name: username proxy: proxy URL"
3551
+ "raw_text": "Add member to a list. Need to login first. auth_session: login session list_id: list id user_id: user id user_name: username proxy: proxy URL",
3552
+ "body": {
3553
+ "auth_session": {
3554
+ "type": "string",
3555
+ "required": true,
3556
+ "description": "The session from /twitter/login_by_2fa"
3557
+ },
3558
+ "list_id": {
3559
+ "type": "string",
3560
+ "required": true,
3561
+ "description": "The id of the list"
3562
+ },
3563
+ "user_id": {
3564
+ "type": "string",
3565
+ "required": false,
3566
+ "description": "The id of the user to add. user_id and user_name must be set at least one."
3567
+ },
3568
+ "user_name": {
3569
+ "type": "string",
3570
+ "required": false,
3571
+ "description": "The name of the user to add. user_id and user_name must be set at least one."
3572
+ },
3573
+ "proxy": {
3574
+ "type": "string",
3575
+ "required": true,
3576
+ "description": "Residential proxy URL"
3577
+ }
3578
+ }
3505
3579
  },
3506
3580
  "remove_list_member": {
3507
3581
  "name": "remove_list_member",
@@ -3557,7 +3631,34 @@
3557
3631
  "code_snippets": [
3558
3632
  "curl --request POST \\\n --url 'https://api.twitterapi.io/twitter/list/remove_member' \\\n --header 'X-API-Key: <api-key>' \\\n --header 'Content-Type: application/json' \\\n --data '{\"auth_session\": \"SESSION\", \"list_id\": \"LIST_ID\", \"user_name\": \"USERNAME\", \"proxy\": \"http://user:pass@host:port\"}'"
3559
3633
  ],
3560
- "raw_text": "Remove member from a list. Need to login first. auth_session: login session list_id: list id user_id: user id user_name: username proxy: proxy URL"
3634
+ "raw_text": "Remove member from a list. Need to login first. auth_session: login session list_id: list id user_id: user id user_name: username proxy: proxy URL",
3635
+ "body": {
3636
+ "auth_session": {
3637
+ "type": "string",
3638
+ "required": true,
3639
+ "description": "The session from /twitter/login_by_2fa"
3640
+ },
3641
+ "list_id": {
3642
+ "type": "string",
3643
+ "required": true,
3644
+ "description": "The id of the list"
3645
+ },
3646
+ "user_id": {
3647
+ "type": "string",
3648
+ "required": false,
3649
+ "description": "The id of the user to remove. user_id and user_name must be set at least one."
3650
+ },
3651
+ "user_name": {
3652
+ "type": "string",
3653
+ "required": false,
3654
+ "description": "The name of the user to remove. user_id and user_name must be set at least one."
3655
+ },
3656
+ "proxy": {
3657
+ "type": "string",
3658
+ "required": true,
3659
+ "description": "Residential proxy URL"
3660
+ }
3661
+ }
3561
3662
  },
3562
3663
  "get_list_tweets": {
3563
3664
  "name": "get_list_tweets",
@@ -3689,7 +3790,41 @@
3689
3790
  "code_snippets": [
3690
3791
  "curl --request POST \\\n --url 'https://api.twitterapi.io/twitter/bookmark_tweet_v2' \\\n --header 'X-API-Key: <api-key>' \\\n --header 'Content-Type: application/json'"
3691
3792
  ],
3692
- "raw_text": "Bookmark a tweet. You must set the login_cookie. You can get the login_cookie from /twitter/user_login_v2. Trial operation price: $0.002 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_id: The id of the tweet to bookmark. Must be set proxy: The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port"
3793
+ "raw_text": "Bookmark a tweet. You must set the login_cookie. You can get the login_cookie from /twitter/user_login_v2. Trial operation price: $0.002 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_id: The id of the tweet to bookmark. Must be set proxy: The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port",
3794
+ "body": {
3795
+ "login_cookies": {
3796
+ "type": "string",
3797
+ "required": true,
3798
+ "description": "The login cookies of the user. You can get the login_cookie from /twitter/user_login_v2. Must be set"
3799
+ },
3800
+ "tweet_id": {
3801
+ "type": "string",
3802
+ "required": true,
3803
+ "description": "The id of the tweet to bookmark. Must be set"
3804
+ },
3805
+ "proxy": {
3806
+ "type": "string",
3807
+ "required": true,
3808
+ "description": "The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port"
3809
+ }
3810
+ },
3811
+ "body_parameters": {
3812
+ "login_cookies": {
3813
+ "type": "string",
3814
+ "required": true,
3815
+ "description": "The login cookies of the user. You can get the login_cookie from /twitter/user_login_v2. Must be set"
3816
+ },
3817
+ "tweet_id": {
3818
+ "type": "string",
3819
+ "required": true,
3820
+ "description": "The id of the tweet to bookmark. Must be set"
3821
+ },
3822
+ "proxy": {
3823
+ "type": "string",
3824
+ "required": true,
3825
+ "description": "The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port"
3826
+ }
3827
+ }
3693
3828
  },
3694
3829
  "bookmarks_v2": {
3695
3830
  "name": "bookmarks_v2",
@@ -3739,7 +3874,51 @@
3739
3874
  "code_snippets": [
3740
3875
  "curl --request POST \\\n --url 'https://api.twitterapi.io/twitter/bookmarks_v2' \\\n --header 'X-API-Key: <api-key>' \\\n --header 'Content-Type: application/json'"
3741
3876
  ],
3742
- "raw_text": "Get the bookmarks list of the logged-in user. You must set the login_cookie. You can get the login_cookie from /twitter/user_login_v2. Returns tweets in the same format as other tweet endpoints. Use cursor for pagination. login_cookies: The login cookies of the user. You can get the login_cookie from /twitter/user_login_v2. Must be set proxy: The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port count: Number of bookmarks to return per page. Default is 20 cursor: Cursor for pagination. Use next_cursor from previous response to get next page"
3877
+ "raw_text": "Get the bookmarks list of the logged-in user. You must set the login_cookie. You can get the login_cookie from /twitter/user_login_v2. Returns tweets in the same format as other tweet endpoints. Use cursor for pagination. login_cookies: The login cookies of the user. You can get the login_cookie from /twitter/user_login_v2. Must be set proxy: The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port count: Number of bookmarks to return per page. Default is 20 cursor: Cursor for pagination. Use next_cursor from previous response to get next page",
3878
+ "body": {
3879
+ "login_cookies": {
3880
+ "type": "string",
3881
+ "required": true,
3882
+ "description": "The login cookies of the user. You can get the login_cookie from /twitter/user_login_v2. Must be set"
3883
+ },
3884
+ "proxy": {
3885
+ "type": "string",
3886
+ "required": true,
3887
+ "description": "The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port"
3888
+ },
3889
+ "count": {
3890
+ "type": "integer",
3891
+ "required": false,
3892
+ "description": "Number of bookmarks to return per page. Default is 20"
3893
+ },
3894
+ "cursor": {
3895
+ "type": "string",
3896
+ "required": false,
3897
+ "description": "Cursor for pagination. Use next_cursor from previous response to get next page"
3898
+ }
3899
+ },
3900
+ "body_parameters": {
3901
+ "login_cookies": {
3902
+ "type": "string",
3903
+ "required": true,
3904
+ "description": "The login cookies of the user. You can get the login_cookie from /twitter/user_login_v2. Must be set"
3905
+ },
3906
+ "proxy": {
3907
+ "type": "string",
3908
+ "required": true,
3909
+ "description": "The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port"
3910
+ },
3911
+ "count": {
3912
+ "type": "integer",
3913
+ "required": false,
3914
+ "description": "Number of bookmarks to return per page. Default is 20"
3915
+ },
3916
+ "cursor": {
3917
+ "type": "string",
3918
+ "required": false,
3919
+ "description": "Cursor for pagination. Use next_cursor from previous response to get next page"
3920
+ }
3921
+ }
3743
3922
  },
3744
3923
  "unbookmark_tweet_v2": {
3745
3924
  "name": "unbookmark_tweet_v2",
@@ -3781,7 +3960,41 @@
3781
3960
  "code_snippets": [
3782
3961
  "curl --request POST \\\n --url 'https://api.twitterapi.io/twitter/unbookmark_tweet_v2' \\\n --header 'X-API-Key: <api-key>' \\\n --header 'Content-Type: application/json'"
3783
3962
  ],
3784
- "raw_text": "Remove a tweet from bookmarks. You must set the login_cookie. You can get the login_cookie from /twitter/user_login_v2. Trial operation price: $0.002 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_id: The id of the tweet to unbookmark. Must be set proxy: The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port"
3963
+ "raw_text": "Remove a tweet from bookmarks. You must set the login_cookie. You can get the login_cookie from /twitter/user_login_v2. Trial operation price: $0.002 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_id: The id of the tweet to unbookmark. Must be set proxy: The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port",
3964
+ "body": {
3965
+ "login_cookies": {
3966
+ "type": "string",
3967
+ "required": true,
3968
+ "description": "The login cookies of the user. You can get the login_cookie from /twitter/user_login_v2. Must be set"
3969
+ },
3970
+ "tweet_id": {
3971
+ "type": "string",
3972
+ "required": true,
3973
+ "description": "The id of the tweet to unbookmark. Must be set"
3974
+ },
3975
+ "proxy": {
3976
+ "type": "string",
3977
+ "required": true,
3978
+ "description": "The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port"
3979
+ }
3980
+ },
3981
+ "body_parameters": {
3982
+ "login_cookies": {
3983
+ "type": "string",
3984
+ "required": true,
3985
+ "description": "The login cookies of the user. You can get the login_cookie from /twitter/user_login_v2. Must be set"
3986
+ },
3987
+ "tweet_id": {
3988
+ "type": "string",
3989
+ "required": true,
3990
+ "description": "The id of the tweet to unbookmark. Must be set"
3991
+ },
3992
+ "proxy": {
3993
+ "type": "string",
3994
+ "required": true,
3995
+ "description": "The proxy to use. Please use high-quality residential proxies and avoid free proxies. Required. Example: http://username:password@ip:port"
3996
+ }
3997
+ }
3785
3998
  },
3786
3999
  "login_by_2fa": {
3787
4000
  "name": "login_by_2fa",
@@ -14116,4 +14329,4 @@
14116
14329
  }
14117
14330
  }
14118
14331
  }
14119
- }
14332
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twitterapi-io-mcp",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
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",