Connect Twitterx to AI agents

Connect Twitterx to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

get_user

Get User

Look up Twitter/X user profiles. Retrieve by user ID, username, or get the authenticated user's own profile. Returns profile details, bio, metrics (followers, following, post count), and account status.

manage_bookmark

Manage Bookmark

Add, remove, or list bookmarked posts for the authenticated user.

manage_block_mute

Manage Block & Mute

Block, unblock, mute, or unmute a user, or list blocked/muted users.

search_posts

Search Posts

Search for recent posts on Twitter/X using a query. Supports Twitter's powerful search operators including keywords, hashtags, mentions, language filters, and boolean logic.

create_post

Create Post

Create a new post (tweet) on Twitter/X. Supports plain text posts, replies to existing posts, quote posts, posts with media attachments, and polls.

manage_list

Manage List

Create, update, delete Twitter/X lists, manage list members, or retrieve list details, members, and posts. A single tool for all list operations.

manage_follow

Manage Follow

Follow or unfollow a user, or retrieve a user's followers or following list.

delete_post

Delete Post

Delete an existing post (tweet) on Twitter/X. Only the author of the post can delete it.

get_timeline

Get Timeline

Retrieve a user's timeline, mentions, or home timeline. Use this to read recent posts from a specific user, posts mentioning a user, or the authenticated user's chronological home feed.

manage_like

Manage Like

Like or unlike a post, retrieve a user's liked posts, or get users who liked a specific post.

manage_retweet

Manage Retweet

Retweet or undo a retweet of a post, or retrieve users who retweeted a specific post.

get_direct_messages

Get Direct Messages

Retrieve direct message events. Fetch all recent DM events for the authenticated user or messages from a specific conversation.

manage_reply_visibility

Manage Reply Visibility

Hide or unhide a reply to one of your posts. Hidden replies are still accessible but not shown by default in the conversation thread.

get_post

Get Post

Retrieve one or more posts by their IDs. Returns full post details including text, author, metrics, and metadata.

send_direct_message

Send Direct Message

Send a direct message to a user or into an existing conversation. Can also create a new group conversation with an initial message.

More integrations teams use with Twitterx

Slack

Slack: connect with bot OAuth or user OAuth. Send, update, delete, and schedule messages; list and cancel scheduled messages; open DMs and group DMs; manage conversations, members, files, reactions, pins, bookmarks, reminders, user groups, and user status; search messages and files with user scopes; and retrieve user, conversation, and workspace info.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Subscribe to webhook notifications for changes to messages, calendar events, and contacts. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Discord

Send, edit, and delete messages in channels. Manage servers (guilds), channels, roles, members, invites, webhooks, threads, scheduled events, auto moderation rules, audit logs, application commands, and custom guild emojis. Add or remove users, assign roles, kick or ban members, and receive supported message, guild, channel, member, and inbound webhook triggers.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs. Listen for webhooks on page, blog, comment, attachment, space, label, and user events.

Gmail

Send, read, and search email messages with support for recipients, attachments, and HTML content. Create, update, and send drafts. Manage conversation threads and organize messages with labels. Search mailboxes using Gmail query syntax (from, to, subject, date, attachment filters). Configure mail settings including forwarding rules, filters, vacation responders, signatures, aliases, and delegates. Import and insert messages for migration. Sync mailbox changes incrementally via history API. Subscribe to mailbox change notifications via push notifications.

Technical notes for Twitterx

Create, read, delete, and search posts (tweets) on Twitter/X. Manage user profiles, follows, blocks, and mutes. Send and receive direct messages in one-to-one and group conversations. Access home, user, and mentions timelines. Like, retweet, bookmark, and quote posts. Create and manage curated lists of accounts. Search recent and historical posts using advanced query operators for keywords, hashtags, mentions, dates, and more. Upload images, videos, and GIFs for media attachments. Stream real-time posts matching filtered rules. Access trending topics by location and discover live audio Spaces. Retrieve engagement metrics including impressions, likes, and replies. Receive real-time webhook events for post creation, direct messages, follows, and other account activity.

Connect Twitterx to production AI agents

See how Metorial gives Twitterx access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Twitterx to AI agents with Metorial.

  1. Can Metorial connect Twitterx to AI agents?
    Yes. Metorial connects AI agents to Twitterx through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.