🐘

Mastodon MCP

Post toots, browse timelines, and interact with the federated social network via the Mastodon API.

SSE PROTOCOL URLStable
https://mcppure.shraj.workers.dev/mcp-server/mastodon

Use this URL in your MCP client settings (SSE transport).

Mastodon MCP Server

The Mastodon MCP server allows AI agents to interact with any Mastodon instance. Because Mastodon is federated, you must specify your instance URL and access token.

Features

Configuration

Add the following to your MCP client configuration:

json
{
  "mcpServers": {
    "mastodon": {
      "url": "https://mcppure.shraj.workers.dev/mcp-server/mastodon",
      "headers": {
        "x-mastodon-access-token": "your-access-token",
        "x-mastodon-instance-url": "https://mastodon.social"
      }
    }
  }
}

How to get Credentials

  1. Login: Log in to your Mastodon instance (e.g., mastodon.social).
  2. Settings: Go to Preferences -> Development.
  3. New Application: Click "New Application".
    • Application name: MCPPURE
    • Application website: https://mcppure.shraj.workers.dev
    • Redirect URI: urn:ietf:wg:oauth:2.0:oob
    • Scopes: Select read and write.
  4. Submit: Click "Submit" at the bottom.
  5. Copy Token: Click on your newly created application and copy the "Your access token" string.

Tools

Status & Interaction

Social & Account

Timelines & Discovery

Personal Data & Lists