Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Activitypub Mcp

    A comprehensive Model Context Protocol (MCP) server that enables LLMs like Claude to explore and interact with the existing Fediverse through standardized MCP tools, resources, and prompts.

    3 stars
    Astro
    Updated Oct 12, 2025
    activitypub
    fedify
    fediverse
    mcp
    mcp-server
    webfinger

    Table of Contents

    • Install
    • Claude Desktop
    • Cursor
    • Read-only by default
    • Enabling writes
    • Authentication
    • Example
    • HTTP transport
    • Security
    • Documentation
    • License
    • Acknowledgments

    Table of Contents

    • Install
    • Claude Desktop
    • Cursor
    • Read-only by default
    • Enabling writes
    • Authentication
    • Example
    • HTTP transport
    • Security
    • Documentation
    • License
    • Acknowledgments

    Documentation

    ActivityPub MCP Server

    Fediverse Client for LLMs

    A lightweight Model Context Protocol (MCP) server that lets an LLM explore and interact with the existing Fediverse — Mastodon, Misskey, Foundkey, Pleroma, and compatible servers. Read-only by default; write tools are opt-in.

    -->

    ---

    Install

    Requires Node.js 20+.

    bash
    npx -y activitypub-mcp

    One-click install:

    Add to Cursor

    Install in VS Code

    Claude Desktop

    One-click: download the .mcpb bundle (activitypub-mcp-.mcpb) from the latest release and open it in Claude Desktop.

    Manual: edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

    json
    {
      "mcpServers": {
        "activitypub": {
          "command": "npx",
          "args": ["-y", "activitypub-mcp"]
        }
      }
    }

    Restart Claude Desktop.

    Cursor

    Edit ~/.cursor/mcp.json:

    json
    {
      "mcpServers": {
        "activitypub": {
          "command": "npx",
          "args": ["-y", "activitypub-mcp"]
        }
      }
    }

    Restart Cursor.

    ---

    Read-only by default

    Out of the box, only read tools are registered: discover actors, fetch timelines, search, get threads, explore instances, read trending content. No write tools exist in the MCP session, so injected fediverse content cannot trigger account actions.

    Public read tools (no account needed): discover-actor, fetch-timeline, get-post-thread, get-instance-info, get-public-timeline, get-trending-hashtags, get-trending-posts, search, discover-instances.

    Authenticated read tools (account required): list-accounts, switch-account, verify-account, get-home-timeline, get-notifications, get-bookmarks, get-favourites, get-relationship.

    Enabling writes

    Set ACTIVITYPUB_ENABLE_WRITES=true in the environment or MCP config env block. This registers the full set of mutation tools: post, reply, delete, boost, favourite, bookmark, follow, mute, block, vote, upload media, and scheduled posts. **Read the threat model before enabling.**

    json
    {
      "mcpServers": {
        "activitypub": {
          "command": "npx",
          "args": ["-y", "activitypub-mcp"],
          "env": {
            "ACTIVITYPUB_ENABLE_WRITES": "true"
          }
        }
      }
    }

    Authentication

    Log in with the CLI:

    bash
    npx activitypub-mcp login mastodon.social

    This runs OAuth (Mastodon-family) or MiAuth (Misskey) in your browser and saves credentials to ~/.config/activitypub-mcp/accounts.json. Multi-account is supported — use switch-account to change the active account.

    Alternatively, set ACTIVITYPUB_DEFAULT_INSTANCE and ACTIVITYPUB_DEFAULT_TOKEN env vars for a single account without the CLI flow.

    ---

    Example

    After adding the server to your MCP client, try:

    "Look up @gargron@mastodon.social and summarize their latest posts."

    The model will call discover-actor to fetch the profile, then fetch-timeline to read recent posts.

    ---

    HTTP transport

    In addition to stdio (default), the server supports HTTP mode with a bearer-gated /mcp endpoint and /health liveness check. Set MCP_HTTP_SECRET (min 16 chars) to enable. See the docs for full configuration.

    ---

    Security

    This server fetches world-writable fediverse content — posts, bios, notifications — and feeds it to the LLM. That content can contain prompt-injection payloads. Notifications are an unsolicited channel: anyone can mention your account. The `` envelope and read-only default reduce the risk surface, but do not eliminate it.

    See SECURITY.md for the full threat model, SSRF protections, credential handling, and reporting instructions.

    ---

    Documentation

    The full tool reference, resource list, prompt catalog, environment variable guide, and deployment notes live on the docs site:

    **cameronrye.github.io/activitypub-mcp/docs/**

    ---

    License

    MIT — see LICENSE.

    Acknowledgments

    Built on the Model Context Protocol by Anthropic, and interacts with the decentralized social web as specified by ActivityPub (W3C) and ActivityStreams.

    Similar MCP

    Based on tags & features

    • AD

      Adls Mcp Server

      Python·
      4
    • MC

      Mcpjungle

      Go·
      617
    • MC

      Mcp Open Library

      TypeScript·
      42
    • DA

      Davinci Resolve Mcp

      Python·
      327

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • AD

      Adls Mcp Server

      Python·
      4
    • MC

      Mcpjungle

      Go·
      617
    • MC

      Mcp Open Library

      TypeScript·
      42
    • DA

      Davinci Resolve Mcp

      Python·
      327

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k