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 Pydantic AI?
Pydantic AI validates every Mastodon tool response against typed schemas, catching data inconsistencies at build time. Connect 35 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
- —
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
- —
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your Mastodon integration code
- —
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
- —
Dependency injection system cleanly separates your Mastodon connection logic from agent behavior for testable, maintainable code
Mastodon in Pydantic AI
Mastodon and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Mastodon to Pydantic 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 Pydantic 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 Pydantic 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 Pydantic AI
Every tool call from Pydantic 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 Pydantic AI discover MCP tools?
Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
Does Pydantic AI validate MCP tool responses?
Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
Can I switch LLM providers without changing MCP code?
Absolutely. Pydantic AI abstracts the model layer. your Mastodon MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.
MCPServerHTTP not found
Update: pip install --upgrade pydantic-ai
Explore More MCP Servers
View all →
Mabl (AI-Powered Test Automation)
10 toolsManage E2E testing via Mabl — trigger test plans, monitor execution results, and perform AI-driven failure analysis.

IBGE Censo & SIDRA — Dados Censitários
4 toolsAccess Brazil's official census and statistical data: GDP, population, employment, inflation (IPCA), agricultural production, and thousands of SIDRA aggregate tables — the backbone of Brazilian economic intelligence.

Flowise
7 toolsManage low-code AI workflows via Flowise — run predictions, track chatflows and agentflows, handle tools, and audit execution history directly from any AI agent.

BLS JOLTS — Job Openings, Quits & Turnover
2 toolsDeep-dive into the 'Great Resignation' and labor tightness with the US Job Openings and Labor Turnover Survey (JOLTS). Track hires, fires, and voluntary quits.
