Skip to content
appsgit

x-use

x-use is an MCP server that adds web browsing tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Browser-native AI agents for X (Twitter): multi-account, MCP-ready, no X API key required. It has 171 GitHub stars, is released under the MIT license and runs locally with uvx x-use-mcp.

github.com/ihuzaifashoukat/x-use (opens in a new tab)

Install x-use

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "x-use": {
      "command": "uvx",
      "args": [
        "x-use-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env OPENAI_API_KEY=your-value --transport stdio x-use -- uvx x-use-mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "x-use": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "x-use-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "openai_api_key",
      "description": "OPENAI_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "x-use": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "x-use-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "${input:openai_api_key}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
OPENAI_API_KEYsecretNoOptional. Only needed for server-side text generation ('auto' replies, composite draft tools, background automation). Interactive MCP use is keyless because…
OPENAI_BASE_URLNoOptional. OpenAI-compatible endpoint, for example https://openrouter.ai/api/v1 or http://localhost:11434/v1 for Ollama. Defaults to api.openai.com.

About x-use

Browser-native AI agents for X (Twitter). Multi-account, MCP-ready, no X API key required. x-use drives a real, stealth-hardened browser instead of the paid X API. It posts, replies, searches, and engages across as many accounts as you configure, writes content with your own LLM, and exposes everything as MCP tools, so Claude Desktop, Claude Code, Cursor, and other MCP clients can run your X presence directly.

  • twitter-automation
  • automation
  • llm
  • selenium
  • ai-agents
  • browser-automation
  • claude-desktop
  • cursor
  • mcp-server
  • model-context-protocol

FAQ

x-use FAQ

Still curious? Email info@appsgit.com.

What is x-use?

x-use is an MCP server that adds web browsing tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Browser-native AI agents for X (Twitter): multi-account, MCP-ready, no X API key required. It has 171 GitHub stars, is released under the MIT license and runs locally with uvx x-use-mcp. The source code is at github.com/ihuzaifashoukat/x-use.

How do I install the x-use MCP server?

Add the command uvx x-use-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is x-use free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is x-use actively maintained?

The most recent commit was on Aug 18, 2026. The latest release is v2.4.1, published Jul 25, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.