
x-use MCP Server
by ihuzaifashoukatio.github.ihuzaifashoukat/x-usev2.4.1
Multi-account X (Twitter) automation via a real Chrome session: posting, replies, search, engagement and scheduled actions, with draft approval by default.
context tax
queued
security
queued
cold start
queued
freshness
Maintained52d ago
Install x-use MCP server
Install in Claude Code
claude mcp add x-use -e OPENAI_API_KEY='<openai-api-key>' -- uvx x-use-mcpInstall in Cursor
{
"mcpServers": {
"x-use": {
"command": "uvx",
"args": [
"x-use-mcp"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"x-use": {
"command": "uvx",
"args": [
"x-use-mcp"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"x-use": {
"type": "stdio",
"command": "uvx",
"args": [
"x-use-mcp"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"x-use": {
"command": "uvx",
"args": [
"x-use-mcp"
],
"env": {
"OPENAI_API_KEY": "<openai-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| OPENAI_API_KEY | — | yes | Optional. Only needed for server-side text generation ('auto' replies, composite draft tools, background automation). Interactive MCP use is keyless because the calling agent writes the text. |
| OPENAI_BASE_URL | — | — | Optional. OpenAI-compatible endpoint, for example https://openrouter.ai/api/v1 or http://localhost:11434/v1 for Ollama. Defaults to api.openai.com. |
Freshness
Maintained — last maintenance signal 52d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-18 · 52d ago · GitHub
Latest release
2026-07-25 · 3mo ago · GitHub · v2.4.1
Package published
no data · npm/PyPI
Registry entry updated
2026-07-25 · 3mo ago · official registry · v2.4.1
FAQ
›How do I install the x-use MCP server in Claude Code?
Run: claude mcp add x-use -e OPENAI_API_KEY='<openai-api-key>' -- uvx x-use-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does x-use require an API key?
Yes. It expects OPENAI_API_KEY, of which 1 is a secret.
›Can I use x-use as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is x-use in the official MCP registry?
Yes, as io.github.ihuzaifashoukat/x-use.
Alternatives to x-use
Other browser automation MCP servers.