Activitypub MCP Server

Security-first, read-only-by-default MCP server for ActivityPub and the Fediverse.

Local serverstdio

What is the Activitypub MCP Server?

Security-first, read-only-by-default MCP server for ActivityPub and the Fediverse.

What the server does

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.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Activitypub MCP Server

{
  "mcpServers": {
    "activitypub": {
      "command": "npx",
      "args": ["-y", "activitypub-mcp"],
      "env": {
        "ACTIVITYPUB_ENABLE_WRITES": "your-value",
        "MCP_HTTP_SECRET": "your-value",
        "ACTIVITYPUB_DEFAULT_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
ACTIVITYPUB_ENABLE_WRITESConfiguration value read at startup.Optional
MCP_HTTP_SECRETCredential the server authenticates with.Yes
ACTIVITYPUB_DEFAULT_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Activitypub to Cursor.”
  • “Use Activitypub to Authentication.”

Frequently asked questions

Security-first, read-only-by-default MCP server for ActivityPub and the Fediverse. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.