Compatible with every major AI agent and IDE
What is the Mastodon MCP Server?
Connect your Mastodon account to any AI agent and manage your decentralized social presence through natural conversation.
What you can do
- Status Management — Post new toots, reply to threads, and manage visibility settings (public, unlisted, private, direct) using
post_status. - Engagement — Favorite, bookmark, and reblog content to interact with your community effortlessly.
- Timeline Discovery — Access your home timeline, public feeds, or specific tag streams to stay updated on the latest discussions.
- Account Control — Follow or unfollow users, manage blocks and mutes, and update your profile metadata directly.
- Trending Insights — Query trending tags, links, and statuses to understand what's happening across the instance.
How it works
- Subscribe to this server
- Enter your Mastodon Personal Access Token
- Start interacting with the Fediverse from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Content Creators — Schedule or draft posts and engage with followers without leaving your workflow.
- Social Researchers — Analyze trending topics and public timelines using AI-driven queries.
- Community Managers — Monitor notifications and manage account relationships efficiently.
Built-in capabilities (35)
Block a Mastodon account
Bookmark a Mastodon status
Check server health status
Clear all notifications
Create a new Mastodon application
Delete a Mastodon status
Dismiss a single notification
Favourite a Mastodon status
Follow a Mastodon account
Get a Mastodon account profile
Get statuses posted by a Mastodon account
View statuses from followed users
Get general information about the server
View server rules
View statuses in a specific list
Check status of an uploaded media attachment
View notifications for the user (v1)
View grouped notifications for the user (v2, Mastodon 4.3+)
View public statuses (local or federated)
View a single Mastodon status
View thread ancestors and descendants for a status
View statuses containing a specific hashtag
View trending links
View trending statuses
View trending hashtags
Mute a Mastodon account
Post a new status (toot) to Mastodon
Boost (reblog) a Mastodon status
Register a new Mastodon account
Search for accounts, statuses, and hashtags
Unfollow a Mastodon account
Update Mastodon profile credentials
Update media description or focal point
Upload media asynchronously
Verify Mastodon account credentials
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Mastodon tool infrastructure. Connect 35 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Mastodon without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Mastodon tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Mastodon in Mastra AI
Mastodon and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Mastodon to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Mastodon in Mastra AI
The Mastodon MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 35 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Mastodon for Mastra AI
Every tool call from Mastra AI to the Mastodon MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I post a status with a content warning (spoiler text)?
Yes. When using the post_status tool, you can provide a spoiler_text string which will act as a content warning for your followers.
How do I verify if my access token is working correctly?
You can use the verify_credentials tool. It will test your current token and return your authenticated profile information if successful.
Is it possible to see what is currently trending on my instance?
Absolutely. Use the get_trending_tags tool to retrieve the most popular hashtags used on your instance recently.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Vonage
10 toolsSend SMS, WhatsApp, and Viber messages, and manage virtual numbers and 2FA via Vonage communications platform.

Zoho Sign
12 toolsManage digital signatures, document requests, and templates via Zoho Sign directly from your AI agent.

Frontegg
12 toolsManage B2B identity, provision users, and oversee tenants via AI agents with Frontegg.

Invoice Ninja
11 toolsManage clients, invoices, and products directly through AI.
