能力标签
活动出版MCP
🔌
MCP工具

活动出版MCP

基于 TypeScript · 让 AI 助手直接操作你的系统与工具
英文名:activitypub-mcp
⭐ 16 Stars 🍴 3 Forks 💻 TypeScript 📄 MIT 🏷 AI 7.5分
7.5AI 综合评分
activitypubfedifyfediversemcptypescript
✦ AI Skill Hub 推荐

经 AI Skill Hub 精选评估,活动出版MCP 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。

📚 深度解析

活动出版MCP 是一款基于 MCP(Model Context Protocol)标准协议的 AI 工具扩展。MCP 协议由 Anthropic 开发并开源,旨在建立 AI 模型与外部工具之间的标准化通信接口,目前已被 Claude Desktop、Claude Code、Cursor 等主流 AI 工具采纳。

通过安装 活动出版MCP,你的 AI 助手将获得额外的工具调用能力,可以用自然语言直接操控该工具的功能,无需学习复杂的命令行语法。MCP 工具的核心价值在于"一次配置,永久增强"——配置完成后,每次与 AI 对话时都可以无缝调用这些工具。

在技术实现上,MCP 工具通过标准的 JSON-RPC 协议与 AI 客户端通信,工具的功能以"工具列表"的形式暴露给 AI 模型,AI 可以按需调用。活动出版MCP 提供了结构化的工具调用接口,使 AI 模型能够精确地理解和使用每个功能点,显著降低 AI 在工具使用上的错误率。

与传统的 API 集成相比,MCP 工具的优势在于无需编写代码——用户只需在配置文件中添加几行 JSON,即可让 AI 获得全新能力。AI Skill Hub 将 活动出版MCP 评为 AI 评分 7.5 分,属于同类工具中的优质选择。

📋 工具概览

活动出版MCP 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

GitHub Stars
⭐ 16
开发语言
TypeScript
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
MIT
AI 综合评分
7.5 分
工具类型
MCP工具
Forks
3

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

活动出版MCP 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

📌 核心特色
  • 通过标准 MCP 协议与 Claude、Cursor 等主流 AI 客户端深度集成
  • 提供结构化工具调用接口,显著降低 AI 集成复杂度
  • 支持 Claude Desktop 和 Claude Code 无缝接入,开箱即用
  • 可与其他 MCP 工具组合叠加,构建完整 AI 工作站
  • 轻量无侵入设计,不影响现有系统架构
🎯 主要使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/cameronrye/activitypub-mcp

# 方式二:手动配置 claude_desktop_config.json
{
  "mcpServers": {
    "----mcp": {
      "command": "npx",
      "args": ["-y", "activitypub-mcp"]
    }
  }
}

# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
📋 安装步骤说明
  1. 确认已安装 Node.js(v18 或以上版本)
  2. 打开 Claude Desktop 或 Claude Code 的 MCP 配置文件
  3. 按「交给 Agent 安装 → Claude Desktop」标签中的 JSON 配置填入 mcpServers 字段
  4. 保存配置文件并重启 Claude 客户端
  5. 重启后,在对话中即可使用本工具
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 安装后在 Claude 对话中直接使用
# 示例:
用户: 请帮我用 活动出版MCP 执行以下任务...
Claude: [自动调用 活动出版MCP MCP 工具处理请求]

# 查看可用工具列表
# 在 Claude 中输入:"列出所有可用的 MCP 工具"
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
// claude_desktop_config.json 配置示例
{
  "mcpServers": {
    "____mcp": {
      "command": "npx",
      "args": ["-y", "activitypub-mcp"],
      "env": {
        // "API_KEY": "your-api-key-here"
      }
    }
  }
}

// 保存后重启 Claude Desktop 生效
📑 README 深度解析 真实文档 完整度 90/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

<p align="center"> <img src="public/logo.svg" alt="ActivityPub MCP Logo" width="200" /> </p>

ActivityPub MCP Server

<p align="center"> <strong>Fediverse Client for LLMs</strong> </p>

<p align="center"> A comprehensive <strong>Model Context Protocol (MCP)</strong> server that enables LLMs like Claude to <strong>explore and interact with the existing Fediverse</strong> through standardized MCP tools, resources, and prompts. </p>

<p align="center"> <a href="https://badge.fury.io/js/activitypub-mcp"><img src="https://badge.fury.io/js/activitypub-mcp.svg" alt="npm version" /></a> <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT" /></a> <a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-007ACC?logo=typescript&logoColor=white" alt="TypeScript" /></a> <a href="https://nodejs.org/"><img src="https://img.shields.io/badge/Node.js-20+-339933?logo=node.js&logoColor=white" alt="Node.js" /></a> <a href="https://modelcontextprotocol.io/"><img src="https://img.shields.io/badge/MCP-Compatible-blueviolet" alt="MCP Compatible" /></a> </p>

<p align="center"> <a href="https://github.com/cameronrye/activitypub-mcp/actions"><img src="https://github.com/cameronrye/activitypub-mcp/actions/workflows/ci.yml/badge.svg" alt="CI" /></a> <a href="https://www.npmjs.com/package/activitypub-mcp"><img src="https://img.shields.io/npm/dm/activitypub-mcp.svg" alt="npm downloads" /></a> <a href="https://github.com/cameronrye/activitypub-mcp"><img src="https://img.shields.io/github/stars/cameronrye/activitypub-mcp?style=social" alt="GitHub stars" /></a> </p>

---

Upgrading from v1? See MIGRATION-v2.md for the full v2.0.0 upgrade guide. v2 includes breaking changes (Node 20+, required HTTP secret, env var format change) — read the migration notes before upgrading.

---

Highlights

<p align="center"> Full write capabilities, multi-account support, and HTTP transport — all of it shipping in v2.0.0 with hardened security and a topic-organized source tree. See <a href="MIGRATION-v2.md">MIGRATION-v2.md</a> if you are upgrading from v1.x. </p>

Post & Interact
Create posts, reply, boost, favourite, and bookmark directly from your LLM
Multi-Account
Manage multiple fediverse accounts with secure credential storage
Media & Polls
Upload images with alt text, vote on polls, schedule posts
Export Anywhere
Export timelines, threads, and accounts to JSON, Markdown, or CSV
HTTP Transport
Production-ready HTTP/SSE mode for enterprise deployments
53 Tools
21 read-only + 28 authenticated + 4 export tools

<p align="center"> <a href="#authenticated-write-tools">See Authenticated Tools</a> | <a href="#content-export-tools">See Export Tools</a> | <a href="CHANGELOG.md">Full Changelog</a> </p>

---

Features

Core Capabilities

  • Fediverse Client: Interact with existing ActivityPub servers (Mastodon, Pleroma, Misskey, etc.)
  • WebFinger Discovery: Find and discover actors across the fediverse
  • MCP Protocol: Complete MCP server with resources, tools, and prompts
  • LLM-Optimized: Designed specifically for LLM interaction patterns
  • TypeScript: Fully typed with modern TypeScript and ESM
  • High Performance: Efficient resource management and caching
  • Secure: Built-in security features and input validation
  • Dual Transport: Supports both stdio (Claude Desktop) and HTTP transport modes

Fediverse Interaction Features

  • Remote Actor Discovery: Find users on any fediverse instance
  • Timeline Fetching: Get posts from any user's timeline with pagination support
  • Trending Content: Access trending hashtags and posts
  • Instance Discovery: Find and explore fediverse instances via live API
  • Instance Information: Get detailed info about any server
  • Search Capabilities: Search for accounts, hashtags, and posts across instances
  • Post Threads: Fetch complete conversation threads with replies
  • WebFinger Support: Resolve actor identifiers across the network
  • Multi-Platform Support: Works with Mastodon, Pleroma, Misskey, and more
  • Misskey/Foundkey write support: Authenticated actions (post, renote, react, follow, mute/block, media upload, home timeline, notifications) route to the native Misskey API automatically when an instance is detected as Misskey or Foundkey. All other software (Mastodon, Pleroma, Akkoma, GotoSocial, Sharkey, Firefish) uses the Mastodon-compatible API. Bookmarks, poll voting, and scheduled posts are Mastodon-only and return a clear "not supported on Misskey" message on Misskey accounts.
  • Platform-scoped IDs: status/account IDs passed to write tools must come from the same instance's API — IDs are not translated across platforms.
  • Follower/Following Lists: Access social connections
  • Batch Operations: Fetch multiple actors or posts in a single request

MCP Features

  • Resources (10 total): Access remote ActivityPub data (actors, timelines, trending, instance info)
  • Tools (53 total): Discover, interact, and create content in the fediverse
  • 21 read-only tools for discovery and exploration (including unified search)
  • 28 authenticated tools for posting, interactions, polls, media, and scheduling
  • 4 export tools for data export in JSON, Markdown, or CSV formats
  • Prompts (11 total): Templates for fediverse exploration, content strategy, and community analysis
  • Monitoring: Built-in logging, audit trails, and performance metrics
  • Health Checks: Server health monitoring and diagnostics

Authenticated Features

  • Multi-Account Support: Manage multiple fediverse accounts with secure credential storage
  • Posting Operations: Create, reply to, and delete posts
  • Social Interactions: Boost, favourite, bookmark, follow, mute, and block
  • Authenticated Timelines: Access home timeline, notifications, bookmarks, and favourites
  • Content Export: Export timelines, threads, and account data in multiple formats

Platform-Specific Features

  • Automatic script detection: npm scripts automatically choose the right script for your platform
  • Native path handling: Proper configuration paths for each platform
  • Shell compatibility: Both PowerShell (.ps1) and Bash (.sh) scripts provided

Prerequisites

  • Node.js 20+ (LTS recommended)
  • npm or yarn package manager
  • Git for cloning the repository

REQUIRED if MCP_TRANSPORT_MODE=http. v2 refuses to start without it.

One-Click Installation

For the fastest setup, use our automated installation script:

#### Universal (All Platforms) ```bash

Or clone and run setup

git clone https://github.com/cameronrye/activitypub-mcp.git cd activitypub-mcp npm run setup


#### Platform-Specific Installation

**Windows (PowerShell):**
powershell

Clone and setup

git clone https://github.com/cameronrye/activitypub-mcp.git cd activitypub-mcp npm run setup:windows

Clone and setup

git clone https://github.com/cameronrye/activitypub-mcp.git cd activitypub-mcp npm run setup:unix

Manual Installation

  1. Clone and install dependencies:
git clone https://github.com/cameronrye/activitypub-mcp.git
cd activitypub-mcp
npm install
  1. Configure environment:

Windows: ```cmd

Testing the Setup

Test MCP server with MCP Inspector:

```bash

Install MCP Inspector

npm install -g @modelcontextprotocol/inspector

Installation Methods by Platform

PlatformRecommended MethodAlternative Methods
Windowsnpm run setup.\scripts\setup.ps1 or npm run setup:windows
macOSnpm run setupbash scripts/setup.sh or npm run setup:unix
Linuxnpm run setupbash scripts/setup.sh or npm run setup:unix

Quick Start

MCP_HTTP_CORS_ORIGINS=https://app.example.com

Copy environment template

copy .env.example .env

Edit configuration (optional)

notepad .env


**macOS/Linux:**
bash

Copy environment template

cp .env.example .env

Edit configuration (optional)

nano .env


3. **Start the MCP server**:
bash

Environment Variables

Create a .env file:

```env

MCP Server configuration

MCP_SERVER_NAME=activitypub-mcp MCP_SERVER_VERSION=2.0.0

Transport configuration (stdio or http; stdio is default)

MCP_TRANSPORT_MODE=stdio MCP_HTTP_PORT=3000 MCP_HTTP_HOST=127.0.0.1

Set to false to skip only the outbound connectivity probe (e.g., air-gapped envs).

Authentication — single account (optional)

ACTIVITYPUB_DEFAULT_INSTANCE=mastodon.social ACTIVITYPUB_DEFAULT_TOKEN=your-oauth-access-token ACTIVITYPUB_DEFAULT_USERNAME=your-username

Quick Reference

For detailed usage instructions, examples, and troubleshooting, see the documentation site:

API Reference

- /mcp - MCP protocol endpoint

- /health - Health check endpoint

Claude Desktop Integration

To use this MCP server with Claude Desktop:

1. Locate your Claude Desktop config file: - macOS: ~/Library/Application Support/Claude/claude_desktop_config.json - Windows: %APPDATA%\Claude\claude_desktop_config.json

  1. Add the server configuration:
{
  "mcpServers": {
    "activitypub": {
      "command": "npx",
      "args": ["-y", "activitypub-mcp"]
    }
  }
}
  1. Restart Claude Desktop to load the new server.

Cursor Integration

To use this MCP server with Cursor:

1. Locate Cursor's MCP config file (same on every platform): - ~/.cursor/mcp.json

  1. Add the server configuration (identical shape to Claude Desktop):
{
  "mcpServers": {
    "activitypub": {
      "command": "npx",
      "args": ["-y", "activitypub-mcp"]
    }
  }
}
  1. Restart Cursor.

Troubleshooting Platform Issues

Windows PowerShell Execution Policy: ```powershell

🇨🇳 中文文档镜像 AI 翻译 2026-05-31
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

ActivityPub MCP Server 是一个专为大语言模型(LLM)设计的 Fediverse 客户端。通过实现 Model Context Protocol (MCP) 标准,它赋予了像 Claude 这样的 AI 模型探索并与现有去中心化社交网络(Fediverse)进行交互的能力。该项目旨在打破 AI 与分布式社交生态之间的壁垒,让 AI 能够实时感知并参与到基于 ActivityPub 协议的社交活动中。

⚡ 功能介绍

本项目提供了强大的 Fediverse 交互能���,支持通过 WebFinger 协议在 Mastodon、Pleroma、Misskey 等不同实例间发现用户(Actors)。核心功能包括获取用户时间线、检索热门话题、搜索账号及实例信息。作为标准的 MCP Server,它内置了优化的 Resources、Tools 和 Prompts,专为 LLM 的交互模式设计,并采用现代 TypeScript 开发,确保了高性能与类型安全。

📋 环境依赖

在开始使用之前,请确保您的开发环境已安装 Node.js 20+(推荐使用 LTS 版本)以及 npm 或 yarn 包管理器。此外,您需要安装 Git 用于克隆代码仓库。如果您计划使用 HTTP 传输模式(MCP_TRANSPORT_MODE=http),请务必根据文档配置相应的环境参数,否则 v2 版本将无法正常启动。

🛠 安装步骤(Docker/pip/源码)

您可以根据需求选择多种安装方式。推荐使用最快捷的 npx 命令进行一键安装:`npx activitypub-mcp install`。此外,您也可以通过 Git 克隆仓库并运行 `npm run setup` 进行源码部署。针对不同操作系统(如 Windows PowerShell),项目也提供了特定的安装脚本以确保兼容性,方便开发者快速上手。

🚀 使用教程

项目提供了快速启动指南,帮助您迅速将 ActivityPub MCP 接入工作流。在启动服务时,您可以根据需要配置环境变量,例如通过 `MCP_HTTP_CORS_ORIGINS` 来设置跨域访问权限。对于初学者,建议参考官方提供的 Quick Start 流程,确保服务能够按照预期与您的 LLM 客户端建立连接。

⚙️ 配置说明(含 MCP / env)

项目通过 `.env` 文件进行环境配置。在使用前,请先根据模板文件进行初始化:在 macOS/Linux 下使用 `cp .env.example .env`,在 Windows 下使用 `copy .env.example .env`。您可以根据实际需求编辑该文件,配置必要的 API 密钥、传输模式及 CORS 策略,以实现个性化的服务运行环境。

🔌 API 说明

本项目提供了详细的 API 参考文档与使用指南。开发者可以通过访问官方文档站点获取更深入的用法说明、代码示例及故障排除方案。核心接口包括 `/mcp` 端点,用于处理 MCP 协议请求。无论是查看 Usage Guide 还是查阅具体的 API Reference,文档都能为您的集成工作提供全面支持。

🔄 工作流/模块

本项目支持无缝集成到主流的 AI 开发���具中。对于 Claude Desktop 用户,只需在对应的配置文件(macOS 为 `~/Library/Application Support/Claude/claude_desktop_config.json`,Windows 为 `%APPDATA%\Claude\claude_desktop_config.json`)中添加服务器配置即可。同时,它也完美支持 Cursor 编辑器,通过修改 `~/.cursor/mcp.json` 即可实现 AI 对 Fediverse 数据的实时调用。

❓ FAQ 摘要

针对不同平台可能遇到的问题,本项目整理了 FAQ 常见问题解答。例如,Windows 用户在运行 PowerShell 脚本时可能会遇到执行策略(Execution Policy)限制,可以通过特定的 PowerShell 命令进行解决。通过查阅 FAQ,您可以快速定位并修复安装或运行过程中的环境兼容性问题。

🎯 aiskill88 AI 点评 A 级 2026-05-29

高质量的MCP服务器实现

📚 实用指南(长尾问题)
适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效
部署方案
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
activitypub-mcp 中文教程activitypub-mcp 安装报错怎么办activitypub-mcp MCP 配置activitypub-mcp 与同类工具对比activitypub-mcp 最佳实践activitypub-mcp 适合谁用

⚡ 核心功能

👥 适合谁
  • 需要让 Claude / Cursor 操作本地工具的 AI 工程师
⭐ 最佳实践
  • 配置 MCP 服务器时建议使用 stdio 传输 + JSON-RPC,避免暴露公网
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • MCP 配置路径拼错或权限不足,重启 Claude Desktop 才生效

👥 适合人群

Claude Desktop / Claude Code 用户AI 工具开发者需要扩展 AI 能力的专业人士自动化工程师

🎯 使用场景

  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站

⚖️ 优点与不足

✅ 优点
  • +MIT 协议,可免费商用
  • +标准化 MCP 协议,生态互联性强
  • +与 Claude 官方生态无缝对接
  • +即插即用,配置简单快捷
⚠️ 不足
  • 依赖 Claude 客户端,非 Claude 用户无法使用
  • MCP 协议仍在持续演进,接口可能变更
  • 需要一定的配置步骤
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

activitypub-mcp 是一款TypeScript开发的AI辅助工具。开源MCP工具:A comprehensive Model Context Protocol (MCP) server that enables LLMs like Claud。⭐16 · TypeScript 主要应用场景包括:LLM模型上下文协议服务器。
💡 AI Skill Hub 点评

AI Skill Hub 点评:活动出版MCP 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ MIT 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 活动出版MCP
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 activitypub-mcp
原始描述 开源MCP工具:A comprehensive Model Context Protocol (MCP) server that enables LLMs like Claud。⭐16 · TypeScript
Topics activitypubfedifyfediversemcptypescript
GitHub https://github.com/cameronrye/activitypub-mcp
License MIT
语言 TypeScript
🔗 原始来源
🐙 GitHub 仓库  https://github.com/cameronrye/activitypub-mcp 🌐 官方网站  https://cameronrye.github.io/activitypub-mcp/

收录时间:2026-05-29 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。