X Search MCP
This server lets you control Microsoft Edge via a CUA driver to search and browse X.com (Twitter) using an already-authenticated browser profile. Available tools:
list_cua_tools: Retrieve the list of tools exposed by the connected CUA driver.search_x: Search X.com using advanced query operators (e.g.,from:,since:,until:,lang:,filter:links, exact phrases). Supports aliveparameter to switch to the latest posts tab.get_latest_profile_posts: Fetch the most recent visible posts from a specific X profile.get_profile_info: Retrieve visible text information from a user's profile page.search_hashtag_top: Search a hashtag and return the most relevant/top results.search_hashtag_latest: Search a hashtag and return the most recent posts.get_post_thread: Open a specific post and return the visible conversation/thread context.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@X Search MCP search for tweets from:OpenAI about AI since:2026-01-01"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
X Search MCP
Este MCP usa o CUA Driver para controlar o Microsoft Edge e pesquisar no X.com usando o mesmo perfil que já está aberto e autenticado.
Ferramentas
list_cua_tools: lista as ferramentas expostas pelo CUA conectado.search_x: abre uma busca no X e retorna o texto atual da página.get_latest_profile_posts: retorna os posts mais recentes visíveis de um perfil.get_profile_info: retorna o texto acessível com as informações visíveis de um perfil.search_hashtag_top: pesquisa uma hashtag e retorna os resultados mais relevantes.search_hashtag_latest: pesquisa uma hashtag e retorna os posts mais recentes.get_post_thread: abre um post e retorna o contexto visível da conversa.
search_x aceita operadores do X, por exemplo:
from:OpenAI model;"frase exata";since:2026-07-01 until:2026-07-15;lang:pt filter:links.
O parâmetro live=true abre a aba de posts mais recentes. Ele apenas controla o filtro da busca; não é usado como mecanismo de atualização.
Related MCP server: Xee-mcp
Como funciona
Localiza a janela aberta do Edge com
list_windows.Navega pela barra de endereços usando
get_window_state,click,set_valueepress_key.Lê o conteúdo atual com
page(action="get_text").Confirma que a URL e o texto retornado pertencem à consulta atual antes de responder.
Essa validação evita devolver silenciosamente o conteúdo de uma busca anterior quando a árvore de acessibilidade do X fica defasada.
Instalação
npm install
npm run buildVariáveis necessárias para o CUA via stdio:
CUA_TRANSPORT=stdio
CUA_COMMAND=C:\Users\User\AppData\Local\Programs\Cua\cua-driver\bin\cua-driver.exe
CUA_ARGS_JSON=["mcp"]Para CUA via HTTP:
CUA_TRANSPORT=http
CUA_URL=http://localhost:3000/mcpTeste de regressão
Com o Edge aberto e autenticado no X:
npm run test:sequentialO teste executa quatro pesquisas consecutivas e uma leitura de perfil na mesma sessão. Ele falha se alguma resposta contiver conteúdo defasado ou se a timeline do perfil ainda estiver carregando.
Para testar somente a timeline de um perfil:
npm run test:profileRequisitos e limites
O Edge precisa estar aberto no perfil desejado.
A sessão do X precisa estar autenticada para buscas completas.
O MCP não armazena senha e não contorna login, CAPTCHA ou controles do site.
Não é necessário iniciar o Edge com porta de debugging nem usar perfil temporário.
Available Tools
2 toolslist_cua_toolsA
Lista as ferramentas disponiveis no CUA MCP conectado ao Edge.
Inputs: no named parameters.
search_xA
Pesquisa no X.com usando o Microsoft Edge controlado pelo CUA e retorna o texto acessivel da pagina. Aceita operadores como from:, since:, until:, lang:, filter:links e frases entre aspas.
Inputs: query (required), live.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
list_cua_tools and search_x have clearly distinct purposes with no overlap. One lists available CUA tools, the other performs searches on X.com, making disambiguation trivial.
Both tool names follow a consistent verb_noun pattern in snake_case: 'list_cua_tools' and 'search_x'. The naming convention is uniform across the tool set.
With only 2 tools, the set feels thin for a server named 'X Search MCP' which suggests a broader scope. However, the count is not extreme, and the tools serve basic functions.
The server's stated purpose is X search, but it only provides a single search tool and a meta-tool for listing CUA tools. Missing common operations like retrieving individual tweets, user search, or timeline access make the surface incomplete.
Related MCP Connectors
X/Twitter search, posts, comments, user profiles, user posts/replies and video transcripts.
Search X (Twitter) posts and read profiles, followers, trends and X Articles. OAuth sign-in.
Fetch recent public X/Twitter posts by named handle for monitoring, comparison, OSINT, and research.
Search and read public Reddit and X posts, comments, threads, profiles and Articles; run monitors.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables searching X (formerly Twitter) using xAI's Responses API with support for filtering by handles, date ranges, and media understanding, returning structured results with citations.116 npm1MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to search X posts and read user timelines without API costs, using cookie authentication.2MIT
- AlicenseNot gradedqualityDmaintenanceSearch X (formerly Twitter) in real-time from your AI assistant using xAI's Grok API, with no X API account required.1,028 npmMIT
- AlicenseAqualityCmaintenanceEnables reading public X (Twitter) content like profiles, tweets, and search results via a stealth browser, without official API costs.1120 PyPIMIT