

X / Twitter Automation
Function
Available ActionsEach successful request consumes credits as outlined below.
lookup_posts5crsearch_posts5crcreate_post5crcreate_post_with_link25crcreate_reply5crcreate_reply_with_link25crdelete_post5crset_reply_hidden5crset_like5crset_repost5crlookup_post_engagers5crlookup_users5crset_follow5crlookup_follows5crlookup_timeline5crlookup_dms5crsend_dm5crupload_media5crcreate_list1crupdate_list1crdelete_list1crset_list_membership1crset_list_follow1crset_list_pin1crlookup_lists1crlookup_list_contents1cr
Details
X (Twitter) automation for AI agents and social media teams. Connect your X account once and run your entire publishing, engagement, and social listening workflow from a single MCP-ready API. Post tweets and replies, attach images, GIFs, and video, and search X for brand keywords, mentions, competitors, and trending topics — then draft and send on-brand replies in seconds. Like, repost, follow, and send DMs; build and curate X Lists; and read your mentions, home, and user timelines for reporting. Built for automated tweet scheduling, brand and competitor monitoring, social media customer support, influencer outreach, and end-to-end X / Twitter / X.com content workflows.
Workflows Using This Tool
Workflow
Saves ~1 hr 15 min
Stay visible on X (Twitter) every week without staring at a blank compose box. Give this AI social media workflow your beats and your positioning, and it scans the last week of industry news, picks the strongest non-overlapping angles, and writes opinionated, fact-backed posts in a natural human voice that sounds like you, not a press release. Every post is screened by an automated writing quality check that strips robotic, overused AI phrasing, and posts that benefit from a visual get a custom 16:9 image. All drafts queue in a Google Sheet and come to you for batch approval, and the workflow checks back for your decision at 5 and 10 minutes. Approve and it publishes to X, attaching images and links correctly, then marks each row with the live post link so you keep a complete content log. Miss the window and nothing posts: every draft stays safely queued in the sheet, ready to approve and publish on a later run. Ideal for founders, executives, consultants, developer advocates, and marketers who want Twitter automation with editorial control: AI-generated social media posts, social SEO, personal branding, content marketing, and a consistent thought leadership presence built on real facts and a human voice.
Use Cases
Publish posts and replies to X / Twitter from agent workflows, Schedule and orchestrate Twitter content calendars, Search recent X posts for brand monitoring, competitor tracking, and trend detection, Draft and send on-brand replies to the conversations that matter, Upload images, GIFs, and video to X from File Manager files or any public URL, Run social media customer support over X DMs, Send launch announcements and follow-up DMs from automations, Like, repost, and follow as part of engagement automations, Hide spam or off-topic replies on your own posts, Build and curate X Lists for launch watch, competitor watch, and community segmentation, Read mentions, home, and user timelines for social analytics and reporting, Resolve X users by ID, username, or the authenticated account
Dynamic MCP Setup
Connect once through AgentPMT Dynamic MCP, then use approved tools from the same agent connection.
30 Second Setup
STDIO connector for Claude Code, Codex, Cursor, Zed, and other LLMs that require STDIO or custom connections.
npm install -g @agentpmt/mcp-routeragentpmt-setupHosted Streamable HTTPS
MCP endpoint for browser-based apps like ChatGPT, Claude, Grok, or any time you want a streamable connection with no local install.
https://api.agentpmt.com/mcpConfig Example
Use the hosted endpoint directly in clients that support remote MCP. Store your Bearer token in the client config or secret field.
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}Need client videos, organization controls, audit details, and the full feature overview?
More About Dynamic MCPAbout this Product
Run your entire X (Twitter) presence from one connected account
X / Twitter Automation gives AI agents and social teams a single, MCP-ready API to publish, engage, listen, and report on X. Connect your account once, then post, reply, monitor mentions, draft on-brand responses, and send DMs — by hand or fully automated through agent workflows.
What you can do
Publish
- Post tweets and replies to X / Twitter, with or without links.
- Attach images, GIFs, and video uploaded from File Manager or any public URL.
- Schedule and orchestrate content calendars from autonomous agents and workflows.
Listen & monitor
- Search recent X posts for brand keywords, mentions, competitors, and trending topics.
- Read your mentions, home, and user timelines for analytics and reporting.
- See who liked, reposted, or quoted any post.
Engage
- Draft and send on-brand replies to the conversations that matter most.
- Like, repost, and follow as part of automated engagement.
- Hide spam or off-topic replies on your own posts to keep threads clean.
Direct messages
- Run social media customer support over X DMs.
- Send launch announcements, follow-ups, and outreach to people, existing conversations, or new group chats.
Lists
- Build and curate X Lists for launch watch, competitor watch, and community segmentation.
- Follow, pin, and manage membership of Lists, and read their members, followers, and posts.
Popular workflows
- On-brand reply queue — surface the best recent posts about your topic and draft replies that match your brand voice.
- Launch day — publish an announcement with a graphic and link, then monitor reactions and reply to the highest-signal ones.
- Always-on brand monitoring — track mentions and competitors, and surface conversations worth joining.
- DM customer support — read and respond to support conversations straight from your agents.
Getting started
Connect your X account once with secure OAuth. From there, your agents can publish, search, engage, and DM on your behalf across any workflow.
Frequently Asked Questions
How do I connect this tool to an external agent?
You can install the local MCP server by opening a terminal and running:
Install commands
npm install -g @agentpmt/mcp-router
agentpmt-setupThis will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.
Alternatively you can connect to the hosted version with this config block, no installation required:
Hosted MCP config
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}View MCP Connection Instructions for more details.
How does an external agent use this tool?
After the external agent is connected to an Agent Group that can use this tool, paste this prompt into the agent:
Agent prompt
Use the AgentPMT-Tool-Search-and-Execution tool. First call action 'get_instructions' so you know how to use the tool search interface. Then call action 'get_schema' with tool_id 69fd3f8f564f18a7b599859f ("X / Twitter Automation"). After reading the schema and any returned instructions, tell me what this tool can do, we are going to be using it
The agent should fetch the tool schema first, collect the required parameters for your request, and then call the tool through AgentPMT.
Can it draft replies that match my brand voice?
Yes. Search recent posts about your topic or brand, then have your agent draft on-brand replies for you to review and send — one at a time or in batches.
Can it post images, GIFs, and video?
Yes. Upload media from File Manager or any public URL and attach it to posts, replies, or DMs.
Does it work with autonomous agents and scheduled workflows?
Yes. Every capability is available to agents and workflows, so you can schedule content, automate engagement, and run always-on monitoring.
How do I connect my X account?
Connect once through secure OAuth. After that, your agents act on your connected account across any workflow.
How does brand and competitor monitoring work?
Search recent X posts by keyword, hashtag, or account, read your mentions and home timelines, and curate X Lists to watch the accounts that matter to you.
What can I do with X / Twitter Automation?
Publish posts and replies, upload images, GIFs, and video, search recent X posts for brand and competitor mentions, read your mentions and timelines, like, repost, and follow, send DMs, and build and manage X Lists — all from agents and automated workflows on a connected X account.







