Atlas / MCP servers / ihuzaifashoukat / X-Use

X-UseSAFE

mcp/ihuzaifashoukat/x-use

Browser-native AI agents for X (Twitter): multi-account, MCP-ready, no X API key required.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
—
Transport
stdio
License
MIT
Stars
171
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

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.

The X API's pricing tiers put write access out of reach for exactly the people who want to automate a couple of accounts. x-use sidesteps the API entirely: if a logged-in browser can do it, an MCP client can ask for it. And because write actions go through a draft-approval step by default, an agent can prepare work all day while nothing reaches X until a human says yes.

x-use is the v2 relaunch of twitter-automation-ai. The repository was renamed; old URLs keep redirecting, and stars, forks, and issues came along intact.

[](https://lobehub.com/mcp/ihuzaifashoukat-x-use) [](https://glama.ai/mcp/servers/ihuzaifashoukat/x-use) [](https://opensource.org/licenses/MIT) [](https://www.python.org/downloads/) [](https://github.com/ihuzaifashoukat/x-use/actions/workflows/ci.yml) [](https://github.com/ihuzaifashoukat/x-use/issues) [](https://github.com/ihuzaifashoukat/x-use/network/members) [](https://github.com/ihuzaifashoukat/x-use/st

Read from source at commit 617096158f47OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (pypi)
claude mcp add x-use-mcp --env OPENAI_API_KEY=${OPENAI_API_KEY} -- None x-use-mcp==2.4.1
03

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (11)

LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
src/xuse/mcp/actions.py:40
dedup_key = f"post_{account_id}_{hashlib.sha1(key_material.encode('utf-8')).hexdigest()[:12]}"
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
src/xuse/mcp/queue_tools.py:120
dedup_key = f"post_{account_id}_{hashlib.sha1(key_material.encode('utf-8')).hexdigest()[:12]}"
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
tests/mcp/test_exec_robustness.py:53
return f"post_{account_id}_{hashlib.sha1(material.encode('utf-8')).hexdigest()[:12]}"
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
tests/mcp/test_queue_tools_keys.py:28
return f"post_{account_id}_{hashlib.sha1(material.encode('utf-8')).hexdigest()[:12]}"
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/mcp/test_search_profile.py:103
"https://x.com/nasa/../../evil",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/core/test_config_writer_hardening.py:150
"https://1.2.3.4:8443",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/mcp/test_proxy_tools.py:57
{"pool": "dc", "proxy_url": "http://5.6.7.8:3128"})
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
tests/mcp/test_media.py:50
decoded = Image.open(io.BytesIO(base64.b64decode(block.data)))
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
selenium, webdriver-manager, fake-headers, pydantic, langchain-google-genai, openai, requests, python-dotenv
Why it matters. 10 requirement(s) not pinned with ==
Fix. pin exact versions
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
README.md:43
curl -fsSL https://raw.githubusercontent.com/ihuzaifashoukat/x-use/main/install.sh | bash

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 617096158f47full audit observations/trust-audit/mcp-server/ihuzaifashoukat__x-use.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07617096158f47SAFEB89first audit
05

Questions

What is the X-Use MCP server?

Browser-native AI agents for X (Twitter): multi-account, MCP-ready, no X API key required.

Is X-Use safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does X-Use need?

It reads OPENAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does X-Use run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as x-use-mcp.

How current is this page?

The grade is for one exact copy of the source (617096158f47), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement