twitterapi-mcp-server
Verified Safeby Jing-yilin
Overview
Provides Model Context Protocol (MCP) access to Twitter data and write actions through the TwitterAPI.io service for LLM clients like Claude.
Installation
npx twitterapi-mcp-serverEnvironment Variables
- TWITTERAPI_API_KEY
- PROXY_URL
- HTTP_PROXY
- HTTPS_PROXY
Security Notes
The server securely handles API keys via environment variables and stores sensitive login cookies only in-memory. It uses HTTPS for all API requests and supports enterprise proxies. A moderate risk exists with client-provided `save_dir` arguments for file writes, as a malicious client could potentially attempt to write to arbitrary file paths on the local system if not properly restricted by the client-side sandbox; however, the content written is controlled (cleaned JSON data). No 'eval' or obvious obfuscation is present.
Similar Servers
mcp-openapi-server
A Model Context Protocol (MCP) server that exposes OpenAPI endpoints as MCP tools, along with optional support for MCP prompts and resources, enabling Large Language Models to interact with REST APIs.
claude-prompts-mcp
Enhances AI assistant behavior through structured prompt management, multi-step chains, quality gates, and autonomous verification loops, primarily for development tasks.
example-remote-server
A reference server demonstrating all Model Context Protocol (MCP) features and OAuth 2.0 authentication patterns.
x-twitter-mcp-server
An MCP server for interacting with Twitter (X) via AI tools, allowing natural language commands to fetch, post, search, and manage tweets and user data.