- Home
- MCP servers
- Twitter Voice
Twitter Voice
- python
0
GitHub Stars
python
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"robgrappler-twitter-voice-mcp": {
"command": "python",
"args": [
"/absolute/path/to/twitter-voice-mcp/src/server.py"
],
"env": {
"GEMINI_API_KEY": "YOUR_GEMINI_API_KEY",
"OPENAI_API_KEY": "YOUR_OPENAI_API_KEY",
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY",
"TWITTER_BEARER_TOKEN": "YOUR_TWITTER_BEARER_TOKEN"
}
}
}
}You can run the twitter-voice-mcp server to analyze your Twitter/X voice, generate tweets in your style, and manage drafts for posting or quoting. This MCP server automates voice modeling, draft creation, and posting workflows so you can publish tweets that reflect your unique voice with minimal manual effort.
How to use
Use an MCP client to connect to the twitter-voice-mcp server and manage voice analysis, draft generation, and posting workflows. You will set your AI and Twitter credentials as environment variables, start the server, and then interact with its capabilities through your MCP client.
How to install
Prerequisites you need before starting: Python 3.10 or newer, Twitter/X API credentials (Bearer Token), and an AI API key for Gemini, OpenAI, or Anthropic.
Additional notes
Configuration and usage details include setting up AI provider and model, analyzing voice from tweets or text, generating drafts, posting drafts to Twitter, and auto-generating tweets from images. You can manage drafts, review them, and post them when ready. Ensure your environment variables are properly configured before starting the server.
CLI and configuration examples
{
"mcpServers": {
"twitter_voice_mcp": {
"command": "python",
"args": [
"/absolute/path/to/twitter-voice-mcp/src/server.py"
],
"env": {
"GEMINI_API_KEY": "your-key",
"TWITTER_BEARER_TOKEN": "your-token"
}
}
}
}
Available tools
analyze_my_voice
Analyze voice from tweets to build a voice profile that represents your Twitter/X style.
import_voice_profile
Import a pre-analyzed voice profile to reuse an established voice model.
analyze_from_file
Analyze voice from a text file to extend or adjust your voice profile.
generate_draft_tweets
Create new tweets on a chosen topic in your voice.
generate_retweet_drafts
Generate comment drafts for quotes that align with your voice.
list_pending_drafts
View all drafts awaiting review or posting.
approve_and_post_draft
Post an approved draft directly to Twitter/X.
export_drafts_csv
Export your drafts to a CSV file for external use.
scan_and_draft_tweets_from_images
Auto-generate tweets from images found in a folder.