Set up Twitterx in Metorial for Claude, ChatGPT and Cursor
Share Twitterx with your team in Claude, ChatGPT and Cursor through Metorial: 15 tools (5 read-only).
To give your team Twitterx in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Twitterx integration in a Metorial portal. Agents can create, read, delete, and search posts (tweets) on Twitter/X. The integration has 15 tools, 5 read-only, 9 write and 1 destructive.
What you'll learn
- How an admin shares Twitterx in a portal and how each person connects
- How to keep the 5 read-only tools and reject the other 10
Before you start
- A portal with at least one access group
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
Available: Bearer Token, OAuth 2.0.
The portal and metorial setup use Bearer Token unless someone picks another method.
Admin: share Twitterx in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Twitterx. Under Auth Method, keep Bearer Token or pick another.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Twitterx.
Choose who gets it
Add the access groups that should see Twitterx. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Twitterx integration. Once it exists, check which groups have it:
Employee: connect Twitterx
In the portal
Open Twitterx in the catalog
Sign in to your portal and open Twitterx. The status reads Available.
Authenticate
Under Quick setup, select Authenticate.
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses Bearer Token. To connect with OAuth 2.0 instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Twitterx connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 5 read-only tools, such as get_post and get_user, and lose the 9 write tools, such as create_post or manage_like, and the destructive tool delete_post.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 15 tools, minus any you rejected.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (5)
get_user: Look up Twitter/X user profiles.search_posts: Search for recent posts on Twitter/X using a query.get_timeline: Retrieve a user's timeline, mentions, or home timeline.get_direct_messages: Retrieve direct message events.get_post: Retrieve one or more posts by their IDs.
Write tools (9)
manage_bookmark: Add, remove, or list bookmarked posts for the authenticated user.manage_block_mute: Block, unblock, mute, or unmute a user, or list blocked/muted users.create_post: Create a new post (tweet) on Twitter/X.manage_list: Create, update, delete Twitter/X lists, manage list members, or retrieve list details, members, and posts.manage_follow: Follow or unfollow a user, or retrieve a user's followers or following list.manage_like: Like or unlike a post, retrieve a user's liked posts, or get users who liked a specific post.manage_retweet: Retweet or undo a retweet of a post, or retrieve users who retweeted a specific post.manage_reply_visibility: Hide or unhide a reply to one of your posts.send_direct_message: Send a direct message to a user or into an existing conversation.
Destructive tools (1)
delete_post: Delete an existing post (tweet) on Twitter/X.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Twitterx there
- Tool permissions: tool filters and what employees see
- Twitterx on metorial.com: the integration overview