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.4.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.4.tar.gz.
File metadata
- Download URL: mcp_x_server-0.1.4.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 |
ab353e7c465e3e4aeeb2aeab401b18a53c34801498cb68ab0930a7ab98444bd9
|
|
| MD5 |
2e475811c18f304f67cd82a89bb9ab14
|
|
| BLAKE2b-256 |
da51f7455ec8218640b134704f6be5445455a0076f22603720c7e3bc45629b58
|
File details
Details for the file mcp_x_server-0.1.4-py3-none-any.whl.
File metadata
- Download URL: mcp_x_server-0.1.4-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 |
7b162b9357bb0bd932aa235d7700375500c1f9a2c2d70d3e0e4cde407b149793
|
|
| MD5 |
04b9650243cd702bc8ab768165a1add0
|
|
| BLAKE2b-256 |
aa7cb2d8f8be777e0bcf09e6c977a2410d587cb99ff9066d9203fd4e88a0901f
|