Twitter/X MCP server — give any AI agent Twitter superpowers
Project description
ShipPost MCP — Twitter/X tools for AI agents
Give any AI agent (Claude Code, Cursor, Windsurf, etc.) the ability to read, write, and engage on Twitter/X.
Quick Start
Claude Code
Add to your ~/.claude/settings.json:
{
"mcpServers": {
"twitter": {
"command": "shippost-mcp",
"env": {
"TWITTER_ACCESS_TOKEN": "your-access-token",
"TWITTER_REFRESH_TOKEN": "your-refresh-token",
"TWITTER_CLIENT_ID": "your-client-id"
}
}
}
}
Install from PyPI
pip install shippost-mcp
Free Tools
| Tool | Description |
|---|---|
get_my_profile |
Get your Twitter profile |
get_timeline |
Read your home timeline |
get_mentions |
Get tweets mentioning you |
get_user_profile |
Look up any user's profile |
get_tweet |
Get a specific tweet by ID |
search_tweets |
Search recent tweets |
post_tweet |
Post a tweet |
reply_to_tweet |
Reply to a tweet |
like_tweet |
Like a tweet |
retweet |
Retweet a tweet |
follow_user |
Follow a user |
Paid AI Tools (requires ShipPost API key)
| Tool | Description |
|---|---|
find_opportunities |
AI scans your timeline for the best tweets to reply to |
draft_reply |
AI drafts a reply in your voice |
draft_tweet |
AI drafts an original tweet |
draft_thread |
AI drafts a full thread |
analyze_account |
AI analyzes any Twitter account |
get_performance |
AI-powered engagement analytics |
Get your API key at shippost.ai
Configuration
| Env Var | Required | Description |
|---|---|---|
TWITTER_ACCESS_TOKEN |
Yes | OAuth 2.0 access token |
TWITTER_REFRESH_TOKEN |
Recommended | For automatic token renewal |
TWITTER_CLIENT_ID |
For refresh | Your Twitter app's client ID |
SHIPPOST_API_KEY |
For AI features | Get at shippost.ai |
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shippost_mcp-0.1.0.tar.gz
(7.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shippost_mcp-0.1.0.tar.gz.
File metadata
- Download URL: shippost_mcp-0.1.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ef5ff709eb35c55d0775efb56bc420eabbef0ff387080e4ed7434e786c6751d
|
|
| MD5 |
53daa9bbc3e9132cb320b29c4b861ac9
|
|
| BLAKE2b-256 |
4b38f71afb122ea9994aa6def39b68505fbd90fde299261ecc8d456f869f2a9f
|
File details
Details for the file shippost_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: shippost_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
740e229512a7929293296adcc5ee5bf52be4fe5959a251160d9621b6400f5ee4
|
|
| MD5 |
0b7b0ba2b9ac41a67fd178b46080e6ec
|
|
| BLAKE2b-256 |
df81272e5b9e5b7bf32bf572a9b519621ad3ec0323bef354b26334f6a6eb8603
|