Skip to main content
Glama
twittershots

TwitterShots MCP Server

by twittershots

TwitterShots MCP Server

MCP (Model Context Protocol) server for generating Twitter/X tweet screenshots using the TwitterShots API.

How to Use

1. Get Your API Key

  1. Visit TwitterShots Account Settings

  2. Navigate to Account Settings > API Key

  3. Copy your API key for configuration

API Usage Limits:

  • Free & Pro: 5 screenshots for trial

  • Pro+: 300 screenshots per month

  • Business: 6,000 screenshots per month

2. Install and Configure

  1. Clone or download the TwitterShots MCP Server from the repository:

    git clone git@github.com:twittershots/twittershots-mcp.git
    cd twittershots-mcp

    Or download the project as a ZIP file and extract it to your desired location.

3. Configure MCP Client

Add the server to your MCP client configuration (e.g., Cursor, Claude Desktop) in your MCP config file:

For Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "twittershots": {
      "command": "node",
      "args": ["/path/to/twittershots-mcp/build/index.js"],
      "env": {
        "TWITTERSHOTS_API_KEY": "your-api-key-here"
      }
    }
  }
}

Example mcp.json with actual path:

{
  "mcpServers": {
    "twittershots": {
      "command": "node",
      "args": ["/Users/0xinhua/workspace/open-source/0xinhua-proj/twittershots-mcp/build/index.js"],
      "env": {
        "TWITTERSHOTS_API_KEY": "sk_xxxxxx"
      }
    }
  }
}

4. Start Using with Natural Language

Once configured, you can use natural language to generate tweet screenshots and check API usage:

  • "Use twittershots to screenshot https://x.com/elonmusk/status/2001742502332911922 in dark mode"

  • "Generate a screenshot of tweet 2002397336803348716 with dark theme"

  • "Create a tweet screenshot with light theme and show full text"

  • "Check my twittershots API usage"

  • "Get my API quota usage"

Related MCP server: Twitter MCP Server

Tool: get_screenshot

Get a screenshot image URL for a Twitter/X tweet.

Parameters:

  • url (required): Twitter/X tweet URL or tweet ID

  • format (optional): Image format - svg (default), png, or html

  • theme (optional): Theme - light (default) or dark

  • logo (optional): Logo type - x (default), bluebird, or none

  • showFullText (optional): Show full tweet content (default: true)

  • showTimestamp (optional): Show timestamp (default: true)

  • showViews (optional): Show view count (default: true)

  • showStats (optional): Show reply, retweet, and like counts (default: true)

Example:

use twittershots to screenshot https://x.com/elonmusk/status/2001742502332911922 in dark mode

Output: Screenshot URL with the generated image link

Tool: get_usage

Get your current API quota usage, including remaining requests and total quota limit.

Parameters: None

Example:

check my twittershots API usage

or

get my API usage

Output:

API Usage:

Remaining: 1234
Limit: 2000
Used: 766 (38.3%)
A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Enables users to interact with X (Twitter) through the X API. Supports posting tweets, retrieving user timelines, searching tweets, and replying to tweets with comprehensive error handling.
    3
    10
  • A
    license
    A
    quality
    A
    maintenance
    Enables seamless interaction with Twitter/X platform through Claude AI, allowing users to post tweets with images, search for tweets, and engage in conversations using natural language commands.
    10
    74
    23
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables interaction with X (Twitter) to post tweets, threads, and replies while retrieving tweet metrics and account information. It supports core management tasks like deleting tweets and verifying authentication through the Twitter API.
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Enables AI assistants to interact with X (Twitter) API v2 for posting tweets, searching, liking, retweeting, and more through natural language.
    MIT

View all related MCP servers

Related MCP Connectors

  • X (formerly Twitter) posts, profiles, and search for AI agents. Free key, self-minted, no signup.

  • Generate images, GIFs, and PDFs from HTML, URLs, or templates — from your AI agent.

  • Screenshots, PDFs and Markdown from any URL or HTML for AI agents, via the SnapForge API

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/twittershots/twittershots-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server