Skip to main content

MCP server for X (Twitter) via Virtuals GAME SDK - 37 tools for tweets, search, users, and engagement

Project description

virtuals-tweepy-mcp

MCP server for X (Twitter) via Virtuals Protocol's GAME SDK. Provides 37 tools for AI agents to search tweets, post content, manage engagement, and more—with higher rate limits than standard Twitter API.

Quick Start

1. Get Credentials

  1. Register at GAME Console

  2. Create a project and get your API key

  3. Run OAuth to get Twitter access token:

    uvx virtuals-tweepy-mcp auth
    

2. Add to Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "twitter": {
      "command": "uvx",
      "args": ["virtuals-tweepy-mcp"],
      "env": {
        "GAME_API_KEY": "your-api-key",
        "GAME_TWITTER_ACCESS_TOKEN": "apx-your-token"
      }
    }
  }
}

Restart Claude Desktop. You now have 37 Twitter tools available.

Available Tools

Category Tools
Search search_recent_tweets, search_spaces
Tweets get_tweet, post_tweet, delete_tweet, quote_tweet
Replies reply_to_tweet, get_tweet_replies
Engagement like_tweet, unlike_tweet, retweet, unretweet, bookmark_tweet, unbookmark_tweet
Users get_user_by_username, get_users_by_usernames, get_my_profile
Timelines get_user_tweets, get_user_mentions, get_home_timeline
Follow follow_user, unfollow_user, get_followers, get_following
Lists get_list, get_owned_lists, get_list_tweets, get_list_members, create_list, update_list, delete_list, add_list_member, remove_list_member
DMs get_dm_conversations, get_dm_messages, send_dm
Media upload_media

CLI Usage

The package also includes a CLI (vobs) for direct Twitter interaction:

# Install
uvx virtuals-tweepy-mcp

# Or with uv/pip
uv pip install virtuals-tweepy-mcp

# Commands
vobs me                              # Your profile
vobs search "bitcoin"                # Search tweets
vobs timeline elonmusk               # User's tweets
vobs user VitalikButerin             # User info
vobs mentions                        # Your mentions
vobs home                            # Home timeline
vobs post "Hello world!"             # Post tweet
vobs fetch <tweet-url>               # Fetch tweet with media URLs

Search Syntax

Supports Twitter's advanced operators:

vobs search "from:elonmusk crypto"           # Tweets by user
vobs search "#AI min_faves:100 lang:en"      # High-engagement
vobs search "(ETH OR BTC) -scam has:links"   # Complex queries
Operator Example Description
from: from:user By user
to: to:user Replies to
#tag #AI Hashtag
min_faves: min_faves:100 Min likes
has:media has:media Has images/video
-term -scam Exclude
OR ETH OR BTC Either term

Rate Limits

  • Tier 1: 50 calls / 5 minutes
  • Tier 2: Higher limits (requires Virtuals approval)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

virtuals_tweepy_mcp-0.1.2.tar.gz (78.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

virtuals_tweepy_mcp-0.1.2-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file virtuals_tweepy_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: virtuals_tweepy_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 78.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.13

File hashes

Hashes for virtuals_tweepy_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 98a67f17d1950e4a8950d2c10093cca6459a31a10b14183de69192a04b6123ba
MD5 2c94ddf86861aaf931546de64741916d
BLAKE2b-256 cb558156372f38e0a0a4bf92d025a08fadc3008aef9dab38d781f1a3a7f4b4e6

See more details on using hashes here.

File details

Details for the file virtuals_tweepy_mcp-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for virtuals_tweepy_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ead7c89de78b05ccaca45aef976c9c3694a545e8f7498a437117aee49dff8207
MD5 3137052f87068234eacdda014f6d41a0
BLAKE2b-256 c36540770be01e2e1a517a13590878493aed28da7dee10503de5f6feb521ed60

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page