Mastodon

•

Integrate Mastodon with AI agents and Claude Code, offering 76 tools for comprehensive social media management across any instance.

The Mastodon MCP Server & CLI provides a comprehensive interface for AI agents and developers to interact with any Mastodon instance, offering 76 tools for posting, editing, managing timelines, searching, handling notifications, and following accounts. It offers both a command-line interface and an MCP server, ensuring consistent functionality and tool naming across both access methods. The tool simplifies setup by registering its own application on your Mastodon instance and adapts to instance-specific limits like character counts, making it a robust solution for automated social media management.

Key Features

0176 comprehensive tools for Mastodon management (posting, editing, timelines, search, notifications, etc.)
02Automated Mastodon application registration and secure token storage
03Supports multiple connected Mastodon accounts and instances
04Dual interface: command-line interface (CLI) for scripting and an MCP server for AI agents
05Dynamically reads instance-specific limits for accurate posting and polling
060 GitHub stars

Use Cases

01Manage and edit published Mastodon statuses, preserving engagement (boosts, replies)
02Automate Mastodon posts, threads, and content warnings via AI agents or scripts
03Perform advanced content analysis and social listening across Mastodon timelines and trends