X (Twitter) MCP server

by rafaljanicki

post_tweet

Share tweets on X (Twitter) with text, media, replies, and tags using the post_tweet tool on the X (Twitter) MCP server.

Instructions

Post a tweet with optional media, reply, and tags

Input Schema

NameRequiredDescriptionDefault
media_pathsNo
reply_toNo
tagsNo
textYes

Input Schema (JSON Schema)

{ "properties": { "media_paths": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Media Paths" }, "reply_to": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Reply To" }, "tags": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Tags" }, "text": { "title": "Text", "type": "string" } }, "required": [ "text" ], "title": "post_tweetArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rafaljanicki/x-twitter-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server