twitter-mcp-server

Automate tweet creation, threads, media uploads, and deletions via X API v2.

11|2|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/NaveedTechLab/skills-library --skill twitter-mcp-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: twitter-mcp-server
Source: https://github.com/NaveedTechLab/skills-library/tree/main/skills/twitter-mcp-server
Command: npx skills add https://github.com/NaveedTechLab/skills-library --skill twitter-mcp-server

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tweepy, httpx, fastmcp, sqlite3, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates Twitter API v2 operations and includes a HITL approval workflow, enabling secure and controlled automation of Twitter/X account management.

Core Features & Use Cases

  • Twitter API Integration: Provides MCP tools for Twitter API v2 integration.
  • HITL Approval Workflows: Ensures all tweet operations require human approval.
  • Use Case: Automate posting tweets, creating threads, and uploading media to Twitter while maintaining strict approval workflows.

Quick Start

Use the twitter_create_tweet tool to create a tweet with the text "Hello Twitter! This is my first automated tweet." and attach the media with ID "1234567890".

Frequently Asked Questions about twitter-mcp-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Twitter API v2 operations with a human approval workflow?

You can automate tweet creation, thread posting, media upload, and deletion using Twitter API v2 with built-in HITL approval workflows, ensuring all operations require human approval before execution.

Do I need OAuth 2.0 with PKCE to automate tweet creation and thread posting?

Yes, automating tweet creation and thread posting requires OAuth 2.0 with PKCE authentication to securely access the Twitter API v2 endpoints for managing your account operations.

How does the HITL approval workflow handle tweet operations and media uploads?

The HITL approval workflow intercepts tweet operations and media uploads, tracking approval states in a sqlite3 database to ensure human operators review and authorize actions before the API request is executed.

Can I use tweepy and fastmcp to automate tweet deletion and rate limiting?

Yes, you can use tweepy and fastmcp alongside httpx and sqlite3 to automate tweet deletion while handling Twitter API rate limiting and tracking approval workflows for secure operations.

What are the limitations of using MCP tools for Twitter API v2 automation?

Limitations include strict dependency on human approval for every tweet operation, requiring OAuth 2.0 with PKCE setup, and reliance on sqlite3 for tracking, which may constrain high-volume automated posting throughput.

What's the best way to post a tweet thread with media attachments using Twitter API v2?

The best way is using MCP tools that integrate Twitter API v2 to create threads and upload media attachments, routing each request through a HITL approval workflow to securely authorize the automated posting.