1. Conduid
  2. AI
  3. cameronrye/activitypub-mcp
MCP server · AI

cameronrye/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.

72Good

Scored 6 hours ago · breakdown

About cameronrye/activitypub-mcp

cameronrye/activitypub-mcp is an MCP server published by cameronrye in the AI category: 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.

The repository has 17 stars and 5 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Install
npx activitypub-mcp
Claude Code
claude mcp add activitypub-mcp -- npx -y activitypub-mcp
npx
npx -y activitypub-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about cameronrye/activitypub-mcp

Powered by Claude · Grounded in docs

I know everything about cameronrye/activitypub-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v3.2.1Release v3.2.1 · 22 Jun 2026[3.2.1] - 2026-06-22 Dependency maintenance and security patch release. No source or API changes — tool names, schemas, and human-readable responses are identical to 3.2.0. Security undici 7.26.0 → 7.28.0 — clears a HIGH-severity…
v3.2.0Release v3.2.0 · 17 Jun 2026[3.2.0] - 2026-06-16 Structured tool output and Smithery listing improvements. No breaking changes — tool names and the human-readable text responses are unchanged; structured output is purely additive. Added Structured tool results —…
v3.1.6Release v3.1.6 · 16 Jun 2026[3.1.6] - 2026-06-15 Correctness, hardening, and docs patch from a third end-to-end review. Fixes a silent read-path data loss, several remote-input edge cases, and a cluster of tool-reference documentation drift. No breaking changes.…
v3.1.5Release v3.1.5 · 15 Jun 2026[3.1.5] - 2026-06-15 Maintenance release: dependency, toolchain, and CI/security hardening. No runtime behavior changes — the published server is functionally identical to 3.1.4. Changed Migrated the build to TypeScript 6 and refreshed…
v3.1.4Release v3.1.4 · 11 Jun 2026[3.1.4] - 2026-06-10 Security, correctness, and distribution patch from a second end-to-end review. Fixed `fetch-timeline` shows real post content again. Outbox items are activities (`Create`/`Announce`), so reading `content` straight…

README


Install

Requires Node.js 20+.

npx -y activitypub-mcp

One-click install:

Add to Cursor Install in VS Code

Claude Desktop

One-click: download the .mcpb bundle (activitypub-mcp-<version>.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):

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

Restart Claude Desktop.

Cursor

Edit ~/.cursor/mcp.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.

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

Authentication

Log in with the CLI:

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.


Platform support

discover-actor and fetch-timeline speak plain ActivityPub (WebFinger → actor → outbox), so they read any conformant ActivityPub server — Mastodon, Misskey, Foundkey, Pleroma/Akkoma, Lemmy (communities and users), PeerTube (channels and accounts), GoToSocial, and Pixelfed.

The instance-API read tools (search, get-trending-hashtags, get-trending-posts, get-public-timeline) and every write tool require a Mastodon- or Misskey-API instance, since they call those platforms' REST APIs. Login uses OAuth (Mastodon-family) or MiAuth (Misskey).


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.

See examples/ for copy-pasteable recipes — Fediverse research digests, scheduled threads, notification triage, image posts with alt text, and topic curation.


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.

To self-host it as a service, the repo includes a Dockerfile and a docker-compose.yml (HTTP mode):

export MCP_HTTP_SECRET=$(node -e "console.log(require('crypto').randomBytes(32).toString('hex'))")
docker compose up --build   # then: curl http://localhost:8080/health

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 <untrusted-content> 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.

README fetched from the repository 6 hours ago. The original is authoritative.

Questions

About cameronrye/activitypub-mcp

How do I install cameronrye/activitypub-mcp?

Run npx activitypub-mcp, then add the server to your MCP client's configuration.

Is cameronrye/activitypub-mcp safe to use with an AI agent?

Its trust score is 72 out of 100 (good). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is cameronrye/activitypub-mcp still maintained?

Yes — the latest release is v3.2.1 (22 Jun 2026), and the last commit was a month ago. The repository has 17 stars and 25 open issues.