David S. Pan

Integration Guide

MCP Integration Docs

Server · ethics-for-ai-mcp Daily feed · Live MCP server · Live For developers & AI agents

Status: Daily feed is LIVE · MCP server LIVE (Apify + private sample).

The plain-HTTP JSON feed is deployed and served by a Cloudflare Pages Function at /feed/* — latest, index, upcoming, rotation and any YYYY-MM-DD edition. Each edition is a deterministic function of the UTC date, so the feed rotates automatically every day with no cron to keep alive. The ethics-for-ai-mcp server is live — a public, subscribable instance runs on Apify, and this site hosts a private sample that streams today's edition for display (no agent can subscribe to the sample). Open the Apify page to subscribe your own agent; the plain-HTTP feed above remains a live, working integration too.

1

Add the server to your MCP client configuration

The ethics-for-ai-mcp server is live — a public, subscribable instance runs on Apify, and this site hosts a private sample that streams today's edition for display (no agent can subscribe to the sample). For most users the simplest setup is to open the Apify page, subscribe, and paste the connection Apify generates — that single URL is the whole configuration.

Prefer to wire it in by hand? Use one of the two configs below. The server runs through four curriculum stages — M1 Humanity's Goals, M2 Core Principles, M3 Case Studies, M4 Code of Conduct — publishing one dated edition a day. It is read-only: 10 tools, 9 ethics:// resources, 1 prompt. Only tools/call is metered (about $0.02 each); initialize, tools/list, resources/read and prompts/get are free, so an agent will be able to connect and discover at zero cost.

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

How the daily feed works

Every day at 00:00 UTC the server publishes one immutable edition at /feed/YYYY-MM-DD.json. An edition carries one item from that day's module plus a companion item from the neighbouring module. Call get_daily_feed for it, or get_feed_since with the date you last read to catch up.

WeekdayModuleEdition
MondayM1Goals edition — a goal humanity is working towards
TuesdayM2Principles edition — introduces the week's principle
WednesdayM3Cases edition — introduces the week's case study
ThursdayM4Conduct edition — one line of the code
FridayM2Practice edition — returns to Tuesday's principle
SaturdayM3Reflection edition — returns to Wednesday's case
SundayM1–M4Weekly digest — all four modules, recapped

Editions are deterministic: the same date against the same curriculumVersion always produces the same bytes and the same SHA-256 hash. Cache an edition indefinitely; a changed hash means the curriculum changed. Every edition also carries a monotonic editionNumber, so an agent never has to reason about timezones.

3

Available tools & resources

Interface · spec 1.0. Ten read-only tools, nine ethics:// resources and one prompt, all returning UTF-8 JSON. There is deliberately no publish, vote or writing subscribe: agents read this curriculum, they do not edit it.

NameTypeModuleDescription
get_daily_feed Tool any Today's edition, or a named date. Primary item plus companion.
get_feed_since Tool any Every edition after a cursor date, oldest first — catch-up for an agent that has been offline.
list_feed_editions Tool any Index of recent editions: date, weekday, module, title, hash.
get_feed_digest Tool all Last week or month, grouped by module, showing what has been covered.
get_feed_rotation Tool all Which module is published on which weekday.
get_humanity_goals Tool M1 All five goals with their agent guidance.
get_principle Tool M2 One principle by id (e.g. P-02), or today's featured principle.
get_case_study Tool M3 A case with its scenario and the principles it tests.
get_code_of_conduct Tool M4 The complete seven-line code of conduct.
search_curriculum Tool all Full-text search across all four modules.
ethics://feed/latest Resource any The most recent edition.
ethics://feed/{date} Resource any A specific edition by UTC date.
ethics://feed/upcoming Resource all The next seven editions, previewed.
ethics://feed/rotation Resource all The weekly schedule.
ethics://curriculum Resource all Manifest: modules, item counts, version.
ethics://curriculum/goals Resource M1 Module 1 as JSON.
ethics://curriculum/principles Resource M2 Module 2 as JSON.
ethics://curriculum/cases Resource M3 Module 3 as JSON.
ethics://curriculum/conduct Resource M4 Module 4 as JSON.
daily_reflection Prompt any Asks the agent to read today's item and name one situation where it would apply it.
4

Prefer plain HTTP? Use llms.txt

For agents without MCP support, the site publishes an /llms.txt file — a plain-text index that any crawler or agent can read. The feed is mirrored as ordinary JSON so an agent that can only fetch a URL still gets every edition.

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

Verify the connection

The server is live. Two quick ways to verify a connection to the Apify-hosted instance:

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":{}}'

The public server is hosted on Apify — the curl above is the fastest way to confirm your connection. No local build is required to subscribe.

More design background is in the MCP Server section of the Ethics for AI hub.

Frequently asked questions

What is the ethics-for-ai-mcp server?
ethics-for-ai-mcp is a remote Model Context Protocol server on Apify that hands an AI agent one ethics-for-AI curriculum edition per day. It exposes ten read-only tools and nine ethics resources, so an agent can read the curriculum without being able to modify anything.
How much does the ethics-for-ai-mcp server cost?
There is no monthly subscription. The server uses pay-per-event billing on Apify, so you are charged only for the tool calls your agent actually makes.
Can I read the ethics feed without MCP support?
Yes. The same editions are served as plain JSON over ordinary HTTP, and the site publishes an llms.txt plain-text index. An agent that can only fetch a URL still receives every edition.