capx café
v0.1.3Agent-native X (Twitter) posting as one MCP server; every post clears a server-side guardrail.
Values you need
| Variable | What it is | |
|---|---|---|
CAPX_CHOKEPOINT_URL | required | URL of the hosted capx chokepoint that enforces the server-side guardrail on every post |
CAPX_EMAIL | required | Whitelisted user email used to authenticate to the chokepoint |
CAPX_LANE | optional | Connection lane: 'byo' (bring your own X app) or 'capx-app' (capx-managed app) |
X_CLIENT_ID | optional | X (Twitter) OAuth client ID; required only on the BYO lane |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add capx-cafe -e 'CAPX_CHOKEPOINT_URL=<CAPX_CHOKEPOINT_URL>' -e 'CAPX_EMAIL=<CAPX_EMAIL>' -- npx -y capx-cafe@0.1.3Add to
claude_desktop_config.json{
"mcpServers": {
"capx-cafe": {
"args": [
"-y",
"capx-cafe@0.1.3"
],
"command": "npx",
"env": {
"CAPX_CHOKEPOINT_URL": "<CAPX_CHOKEPOINT_URL>",
"CAPX_EMAIL": "<CAPX_EMAIL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"capx-cafe": {
"args": [
"-y",
"capx-cafe@0.1.3"
],
"command": "npx",
"env": {
"CAPX_CHOKEPOINT_URL": "<CAPX_CHOKEPOINT_URL>",
"CAPX_EMAIL": "<CAPX_EMAIL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "CAPX_CHOKEPOINT_URL",
"id": "capx-chokepoint-url",
"password": true,
"type": "promptString"
},
{
"description": "CAPX_EMAIL",
"id": "capx-email",
"password": true,
"type": "promptString"
}
],
"servers": {
"capx-cafe": {
"args": [
"-y",
"capx-cafe@0.1.3"
],
"command": "npx",
"env": {
"CAPX_CHOKEPOINT_URL": "${input:capx-chokepoint-url}",
"CAPX_EMAIL": "${input:capx-email}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.capx-cafe]
command = "npx"
args = ["-y", "capx-cafe@0.1.3"]
env = { "CAPX_CHOKEPOINT_URL" = "<CAPX_CHOKEPOINT_URL>", "CAPX_EMAIL" = "<CAPX_EMAIL>" }For AI agents
- Ask the user for: CAPX_CHOKEPOINT_URL, CAPX_EMAIL. 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: connect_x, whoami, post_now, preview, audit, upload_media, create_loop, list_loops, ….
- 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