xflux
v1.2.1X/Twitter read API for agents: search, timelines, Smart Money.
Values you need
| Variable | What it is | |
|---|---|---|
XFLUX_API_KEY | required secret | API key from https://www.xfluxapi.com/dashboard/api-keys (free tier available) |
XFLUX_API_BASE | optional | Optional API base URL (default https://www.xfluxapi.com/api/v1) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add xflux -e 'XFLUX_API_KEY=<XFLUX_API_KEY>' -- npx -y --package=@xflux/xflux-mcp-server@1.2.1 xflux-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"xflux": {
"args": [
"-y",
"--package=@xflux/xflux-mcp-server@1.2.1",
"xflux-mcp"
],
"command": "npx",
"env": {
"XFLUX_API_KEY": "<XFLUX_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"xflux": {
"args": [
"-y",
"--package=@xflux/xflux-mcp-server@1.2.1",
"xflux-mcp"
],
"command": "npx",
"env": {
"XFLUX_API_KEY": "<XFLUX_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "XFLUX_API_KEY",
"id": "xflux-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"xflux": {
"args": [
"-y",
"--package=@xflux/xflux-mcp-server@1.2.1",
"xflux-mcp"
],
"command": "npx",
"env": {
"XFLUX_API_KEY": "${input:xflux-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.xflux]
command = "npx"
args = ["-y", "--package=@xflux/xflux-mcp-server@1.2.1", "xflux-mcp"]
env = { "XFLUX_API_KEY" = "<XFLUX_API_KEY>" }For AI agents
- Ask the user for: XFLUX_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: xflux_get_user, xflux_search_tweets, xflux_get_user_tweets, xflux_get_tweet, xflux_list_monitors, xflux_get_monitor_hits, xflux_smart_money_list, xflux_smart_money_profile, ….
- 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