Twitter MCP Server

postTweetWithMedia

Upload and post a tweet with media attachments to Twitter using specified text, file path, and MIME type, ensuring accessibility with alt text for the media.

Instructions

Post a tweet with media attachment to Twitter

Input Schema

NameRequiredDescriptionDefault
altTextNoAlternative text for the media (accessibility)
mediaPathYesLocal file path to the media to upload
mediaTypeYesMIME type of the media file
textYesThe text of the tweet

Input Schema (JSON Schema)

{ "properties": { "altText": { "description": "Alternative text for the media (accessibility)", "type": "string" }, "mediaPath": { "description": "Local file path to the media to upload", "type": "string" }, "mediaType": { "description": "MIME type of the media file", "enum": [ "image/jpeg", "image/png", "image/gif", "video/mp4" ], "type": "string" }, "text": { "description": "The text of the tweet", "type": "string" } }, "required": [ "text", "mediaPath", "mediaType" ], "type": "object" }
ID: qlfiuj6xn6