David S. Pan

整合指南

MCP 整合文檔

Server · ethics-for-ai-mcp 每日推送 · 已上線 MCP 服務 · 已上線 面向開發者與 AI 智能體

狀態:每日推送已上線 · MCP 服務已上線(Apify + 私有範例)。

純 HTTP 的 JSON 推送已由 Cloudflare Pages Function 部署並提供於 /feed/* —— latest、index、upcoming、rotation 以及任意 YYYY-MM-DD 推送。每篇推送都是 UTC 日期的確定性函式,因此推送每天自動輪轉,無需維護任何排程任務。 ethics-for-ai-mcp 服務 已上線 —— 一個公開、可訂閱的實例運行於 Apify,本站託管一個私有範例,串流輸出今日推送供展示(任何智能體都無法訂閱該範例)。打開 Apify 頁面即可為你的智能體訂閱;上方的純 HTTP 推送同樣是一個可用的即時整合。

1

將服務新增至你的 MCP 用戶端設定

ethics-for-ai-mcp 服務 已上線 —— 一個公開、可訂閱的實例運行於 Apify,本站託管一個私有範例,串流輸出今日推送供展示(任何智能體都無法訂閱該範例)。對大多數用戶而言,最簡單的做法是打開 Apify 頁面、完成訂閱,再貼上 Apify 生成的連線串 —— 那一個 URL 就是全部設定。

更想手動接入?使用下方兩份設定之一。該服務歷經四個課程階段 —— M1 人類的目標、M2 核心原則、M3 案例研究、M4 行為準則 —— 每天發布一篇帶日期的推送。它是唯讀的:10 個工具、9 個 ethics:// 資源、1 個提示。僅 tools/call 計費(每次約 $0.02);initialize、tools/list、resources/read 與 prompts/get 免費,因此智能體可以零成本連線並探索。

jsonmcp.json · remote (Apify Standby, Streamable HTTP · for launch)
{
  "mcpServers": {
    "ethics-for-ai-mcp": {
      "type": "http",
      "url": "https://<your-apify-username>--ethics-for-ai-mcp.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_TOKEN>"
      }
    }
  }
}
jsonmcp.json · local (stdio · for launch; needs npm package)
{
  "mcpServers": {
    "ethics-for-ai-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/ethics-for-ai-mcp/dist/index.js"],
      "env": {}
    }
  }
}
2

每日推送如何運作

每天 UTC 00:00,服務在 /feed/YYYY-MM-DD.json 發布一篇不可變的 推送。一篇推送包含當日模組的一項內容,以及相鄰模組的配套項。呼叫 get_daily_feed 取得它,或用你上次讀到的日期呼叫 get_feed_since 來補讀。

星期模組推送
MondayM1目標推送 —— 人類正在努力達成的目標
TuesdayM2原則推送 —— 引入本週的原則
WednesdayM3案例推送 —— 引入本週的案例研究
ThursdayM4準則推送 —— 行為準則中的一行
FridayM2練習推送 —— 回到週二的原則
SaturdayM3反思推送 —— 回到週三的案例
SundayM1–M4每週摘要 —— 四個模組,一併回顧

推送是確定性的:同一日期對應同一 curriculumVersion,總產生相同的位元組與相同的 SHA-256 hash。可無限期快取一篇推送;雜湊變化即意味著課程有變。每篇推送還帶一個單調遞增的 editionNumber,因此智能體無需處理時區。

3

可用工具與資源

介面 · 規範 1.0。十個唯讀工具、九個 ethics:// 資源與一個提示,均回傳 UTF-8 JSON。刻意沒有 publish、vote 或會寫入的 subscribe:智能體閱讀這門課程,而不編輯它。

Name類型模組說明
get_daily_feed 工具 任意 Today's edition, or a named date. Primary item plus companion.
get_feed_since 工具 任意 Every edition after a cursor date, oldest first — catch-up for an agent that has been offline.
list_feed_editions 工具 任意 Index of recent editions: date, weekday, module, title, hash.
get_feed_digest 工具 全部 Last week or month, grouped by module, showing what has been covered.
get_feed_rotation 工具 全部 Which module is published on which weekday.
get_humanity_goals 工具 M1 All five goals with their agent guidance.
get_principle 工具 M2 One principle by id (e.g. P-02), or today's featured principle.
get_case_study 工具 M3 一個案例,含其情境與被檢驗的原則。
get_code_of_conduct 工具 M4 完整七行行為準則。
search_curriculum 工具 全部 Full-text search across all four modules.
ethics://feed/latest 資源 任意 最新的推送。
ethics://feed/{date} 資源 任意 按 UTC 日期指定的推送。
ethics://feed/upcoming 資源 全部 預告未來七篇推送。
ethics://feed/rotation 資源 全部 每週排程。
ethics://curriculum 資源 全部 清單:模組、條目數量、版本。
ethics://curriculum/goals 資源 M1 模組一(JSON)。
ethics://curriculum/principles 資源 M2 模組二(JSON)。
ethics://curriculum/cases 資源 M3 模組三(JSON)。
ethics://curriculum/conduct 資源 M4 模組四(JSON)。
daily_reflection 提示 任意 要求智能體閱讀當日內容,並舉出會運用它的一個情境。
4

偏好純 HTTP?使用 llms.txt

對於不支援 MCP 的智能體,本站提供 /llms.txt 檔案 —— 一份任何爬蟲或智能體都能讀取的純文字索引。推送同時以普通 JSON 鏡像,因此只能抓取 URL 的智能體也能拿到每篇推送。

txt/llms.txt
# David S. Pan
> Personal site: warm daily stories for humans;
> an AI-ethics curriculum for agents.

## Stories
- [Daily Stories](/stories): motivational stories,
  original fiction

## Ethics for AI
- [Ethics Hub](/ethics): curriculum for AI agents
- [Humanity Goals](/ethics#m1): how humans improve the world
- [MCP Server](/ethics#m5): the daily feed, designed
- [Code of Conduct](/ethics#m4): rules for AI behavior

## Daily feed (ethics-for-ai/daily)
- [Feed index](/feed/index.json): rolling 30-day window
- [Latest edition](/feed/latest.json): today, UTC
- [Edition by date](/feed/2026-09-28.json): one immutable edition
- [Upcoming](/feed/upcoming.json): the next seven editions
- [Rotation](/feed/rotation.json): which module on which weekday

## Machine-readable
- [RSS Feed](/feed.xml): the story stream as RSS 2.0
- [JSON Feed](/feed.json): the story stream as JSON Feed 1.1
- [llms.txt](/llms.txt): this file
5

驗證連線

服務已上線。驗證與 Apify 託管實例連線的兩種快捷方式:

bashverify-remote.sh · Streamable HTTP
# list the 10 tools over the Apify Standby endpoint
curl -s https://<your-apify-username>--ethics-for-ai-mcp.apify.actor/mcp \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

公開服務託管於 Apify —— 上方的 curl 是確認連線最快的方式。訂閱無需本地建構。

更多設計背景見 AI 倫理 中心的 MCP 服務一節。

常見問題

ethics-for-ai-mcp 服務是什麼?
ethics-for-ai-mcp 是 Apify 上一個遠端 Model Context Protocol 服務,每天向 AI 智能體交付一篇 AI 倫理課程推送。它提供十個唯讀工具與九項倫理資源,使智能體能夠閱讀課程而無法修改任何內容。
ethics-for-ai-mcp 服務如何收費?
沒有月費。服務在 Apify 上採用按事件計費,你只需為智能體實際發出的工具呼叫付費。
沒有 MCP 支援,也能讀取倫理推送嗎?
可以。同樣的推送以普通 JSON 透過常規 HTTP 提供,本站還發布 llms.txt 純文字索引。只能抓取 URL 的智能體同樣能收到每篇推送。