A mcp x server to post tweets
Project description
MCP X Server
What can you do with MCP X Server? Give it a sentence or a topic, and it will help you write and refine a tweet, then publish it to X.
Build image
docker build -t mcp-x-server:latest .
How to run with STDIO
Local
{
"mcpServices": {
"x-mcp": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"--with",
"pydantic-ai",
"--with",
"pydantic-ai-slim[duckduckgo,openai]",
"--with",
"dotenv",
"--with",
"python-twitter-v2",
"fastmcp",
"run",
"/Users/wenyanglu/Workspace/ai/mcp_x_server/server.py"
],
"env": {
"CONSUMER_KEY": "*******************",,
"CONSUMER_SECRET": "*******************",
"ACCESS_TOKEN": "*******************",
"ACCESS_SECRET": "*******************",
"DEEPSEEK_API_KEY": "*******************"
}
}
}
}
Docker
docker run -i \
-e CONSUMER_KEY="your-consumer-key" \
-e CONSUMER_SECRET="your-consumer-secret" \
-e ACCESS_TOKEN="your-access-token" \
-e ACCESS_SECRET="your-access-secret" \
-e DEEPSEEK_API_KEY="your-deepseek-key" \
mcp-x-server:latest
Run with SSE
fastmcp run --transport sse server.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mcp_x_server-0.1.5.tar.gz
(10.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 mcp_x_server-0.1.5.tar.gz.
File metadata
- Download URL: mcp_x_server-0.1.5.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8eb0c6068247c51c6f0be7871051986ebf2e8a1ab93fe5a584e79fb08a70fe2d
|
|
| MD5 |
644671086b1a3c79087e4f92afe81371
|
|
| BLAKE2b-256 |
ce4f8f90f395471c582b651bcfb8620b301bc7203b90155eec103bcde1802779
|
File details
Details for the file mcp_x_server-0.1.5-py3-none-any.whl.
File metadata
- Download URL: mcp_x_server-0.1.5-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ed5a7ee0f63c06ebb2e8335a706b38b2a2f42d36820f3e9f79b2da16c24da91
|
|
| MD5 |
11a372ec7bb3f9bb37f597be54550f82
|
|
| BLAKE2b-256 |
ef68a0b09441ef0b81efe02d08238c7c9351b7d18222da4f69530843291897ba
|