Skip to main content
Glama

Twitter MCP Server

postTweetWithMedia

Upload and share tweets with media attachments like images, videos, or GIFs using a local file path. Include text and alt text for accessibility, ensuring content is accessible and engaging on Twitter.

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" }

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/crazyrabbitLTC/mcp-twitter-server'

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