Connect X API to your agents
A trial starts first, then a project installs X API from its marketplace.
X API MCP server
Let agents read what people say on X through the X API
Add the X API MCP server to an Aldena project with an X app's Bearer token, and agents search posts and read users and timelines on X.
- Sign-in
- Token header
- Installs as
x-api- Transport
- Streamable HTTP
X is where many developer communities, customers and status updates move fastest, and the X API is how software reads it. The X API MCP server exposes that API to an agent: searching recent posts, reading users and their timelines, and following threads, with the App-only Bearer token Aldena sends in an Authorization header.
In an Aldena project that turns social listening into agent work with a record. After a release, an agent searches for posts about the new feature, sorts reports of bugs from general reactions, and files the reproducible ones as issues through the Linear MCP server. During an incident, it reads what affected users are posting and adds the timeline to the incident notes, so the team sees the customer side alongside the logs.
The App-only token reads public data without acting as anyone, which keeps the connection read-only: agents can draft a reply or an announcement, but a person publishes it. Every tool still gets its own row in the project's permissions. For the X developer documentation, install the X Docs MCP server beside it, and for scheduling posts across networks, see the AdaptlyPost MCP server.
With X API, your agents can
Search recent posts by keyword, hashtag or account
Read a user's profile and their recent posts
Follow a thread from its first post to the replies
Track mentions of a product or release over time
Try asking
Things to ask an agent in a project chat once it's installed.
“Search X for posts about our product from the last week and sort the complaints from the praise.”
“Read the recent posts of the three accounts that reported the outage and summarize what they saw and when.”
“Find the X thread where people discussed our pricing change and list the objections that came up more than once.”
Server
- Server URL
https://api.x.com/mcp- Website
- x.com
- MCP docs
- X API MCP docs
How to connect X API
- Open Marketplace
In a project, open Settings → Connectors → MCP servers and press Marketplace.
- Install X API
Search for X API and press Install. Aldena adds it as
x-api. - Add your token header
The install sends no X API credentials. Press Edit on the server, turn on Send an authentication header, and enter the Header name and Token the X API docs give: often
AuthorizationandBearer <token>. - Let agents use it
Agents find its tools with
mcp_searchand call them withmcp_call. Each tool gets its own row in the project's permissions.
Related MCP servers
FAQ
Which X token does Aldena send to the X API MCP server?
Your X app's App-only Bearer token, from the Keys and tokens page of the app in the X Developer Console. Press Edit on the installed server, turn on Send an authentication header, keep the Header name Authorization, and enter Bearer followed by that token.
Can an agent post to X through the MCP server in Aldena?
No. An App-only Bearer token reaches read-only endpoints with no user context, so the server can search and read but cannot post, reply or like as you. Agents draft posts for a person to publish instead, which most teams prefer anyway.
What is the difference between the X API and X Docs MCP servers?
X Docs searches the X developer documentation and needs no token. The X API server reads live data from X itself: posts, users and timelines. Engineers building on the X API often install both, one to read the docs and one to check real responses.
Ready when you are
Spin up your first project.
One project per client, product, or piece of work, staffed with intake, requirements, build and code review agents.