Mastodon

● Active

io.github.richarvey/mastodon-mcp

Give Claude and other AI assistants a Mastodon account: 95 tools for posting, timelines and search

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "mastodon-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ric_/mastodon-mcp@1.1.1"
      ]
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add mastodon-mcp -- npx -y @ric_/mastodon-mcp@1.1.1
OpenAI Codex CLI
codex mcp add mastodon-mcp -- npx -y @ric_/mastodon-mcp@1.1.1
VS Code
code --add-mcp '{"name":"mastodon-mcp","type":"stdio","command":"npx","args":["-y","@ric_/mastodon-mcp@1.1.1"]}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Communication
Version
1.1.1
Registry
active
Published
Dec 3, 2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Dec 4, 2026

Looks healthy: Mastodon is maintained, open source.

Maintained
Active
Last commit today (Dec 3, 2026), 0 open issues.
Official registry
Active
Published as io.github.richarvey/mastodon-mcp in the official MCP registry, version 1.1.1.
Source
Open source, MIT
Public repository under the MIT licence, 0 stars, 0 forks.
Runs
On your machine
A local npm package started by your client; it can reach whatever your user account can.
Credentials
None declared
The registry entry declares no required environment variables.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

A

Grade A · Production-ready

Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.

  • Recent commits+30/30

    Last commit today.

  • Open licence+15/15

    MIT on GitHub.

  • Documentation+15/15

    The repository ships a README.

  • Adoption0/20

    0 GitHub stars.

  • Registry status+12/12

    Active in the official MCP registry.

  • Product surface+8/8

    Has a homepage or a published package/endpoint.

Own this server? Add the grade badge — it links back here

<a href="https://serverdex.io/server/io-github-richarvey-mastodon-mcp?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-richarvey-mastodon-mcp/report-badge.svg" alt="Mastodon — Serverdex Report Card A" height="22"></a>

Compare every server's grade on best-maintained MCP servers.

On GitHub

read Dec 4, 2026
Stars
0
Forks
0
Last push
Dec 3, 2026
License
MIT

TypeScriptactivitypubai-agentsanthropicclaudeclaude-codedecentralizedfediversellmmastodonmastodon-apimcpmcp-servermodel-context-protocolnodejsnpm-packagesocial-mediastreamable-httptypescript

From the README

Give your AI assistant a Mastodon account. mastodon-mcp is a Model Context Protocol server that lets Claude, or any other MCP client, read timelines, post, search, manage notifications and curate your profile on any Mastodon instance. • 95 tools covering the Mastodon client API, up to date with Mastodon 5.0 • Multiple accounts across different instances, side by side • stdio and streamable HTTP transports • No API keys to paste: accounts are added through Mastodon's own OAuth flow • One runtime dependency: the official MCP SDK Contents • Quick start • Connecting to an MCP client • Adding a Mastodon account • Things to try • Using several accounts • Command-line options • Tool reference • Mastodon compatibility • Security • Development • License Quick start You need Node.js 22.12 or newer. The server is published on npm as @ric_/mastodon-mcp. The simplest way to run it is to let your MCP client start it with npx: Or install it once, which gives you a mastodon-mcp command to use in place of npx -y @ric_/mastodon-mcp: Then point your MCP client at it (next section) and ask the assistant to add your Mastodon account. From source That produces dist/index.js, which is the server.…

Read the full README on GitHub →

The most-starred Communication servers in the index, with their live-check result.

ServerStarsLast pushLive check
Corsair15,610Nov 2026Needs sign-in
Inbox Zero13,154Nov 2026Needs sign-in
Agent-Native Dispatch7,803Nov 2026Needs sign-in
Agent-Native Chat7,803Nov 2026Needs sign-in
Agent-Native Brain7,803Nov 2026Needs sign-in

Mastodon: questions people ask

Is Mastodon a remote or a local MCP server?
According to its entry in the official MCP registry, Mastodon ships as a local package (npm) that your client starts on your machine.
Is Mastodon safe to use?
Looks healthy: Mastodon is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: None declared. Serverdex check of Dec 4, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is Mastodon still maintained?
Active: the repository's last commit today. Last push Dec 3, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Dec 4, 2026.
How do I add Mastodon to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
  1. OmniMemSelf-hosted memory for AI agents: semantic recall, dead-end warnings and compiled skills.★ 107
Browse all Communication →

Add the badge to your site

Show visitors that Mastodon is listed here — it’s also the link we check for a free listing.

Mastodon — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-richarvey-mastodon-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Mastodon — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Mastodon — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-richarvey-mastodon-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-richarvey-mastodon-mcp) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-richarvey-mastodon-mcp) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-richarvey-mastodon-mcp)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-richarvey-mastodon-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-richarvey-mastodon-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-richarvey-mastodon-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).