mcp
v1.1.3Manage your Twitter/X presence from any AI assistant — schedule, threads, and more
Values you need
| Variable | What it is | |
|---|---|---|
OPENTWEET_API_KEY | required secret | Your OpenTweet API key from opentweet.io/dashboard |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp -e 'OPENTWEET_API_KEY=<OPENTWEET_API_KEY>' -- npx -y --package=@opentweet/mcp-server@1.1.3 opentweet-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@opentweet/mcp-server@1.1.3",
"opentweet-mcp"
],
"command": "npx",
"env": {
"OPENTWEET_API_KEY": "<OPENTWEET_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@opentweet/mcp-server@1.1.3",
"opentweet-mcp"
],
"command": "npx",
"env": {
"OPENTWEET_API_KEY": "<OPENTWEET_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "OPENTWEET_API_KEY",
"id": "opentweet-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp": {
"args": [
"-y",
"--package=@opentweet/mcp-server@1.1.3",
"opentweet-mcp"
],
"command": "npx",
"env": {
"OPENTWEET_API_KEY": "${input:opentweet-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@opentweet/mcp-server@1.1.3", "opentweet-mcp"]
env = { "OPENTWEET_API_KEY" = "<OPENTWEET_API_KEY>" }For AI agents
- Ask the user for: OPENTWEET_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: opentweet_create_tweet, opentweet_create_thread, opentweet_list_tweets, opentweet_get_tweet, opentweet_update_tweet, opentweet_delete_tweet, opentweet_publish_tweet, opentweet_batch_schedule, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json