Skip to content

AI & MCP Server (touched-page/mcp) ​

touched-page/mcp (MIT License) connects your cross-medium Personal Media Library, subjective 5-tier taste profile, custom topics, and Markdown drafts directly to Claude Desktop, Cursor, OpenCode, OpenChamber, Windsurf, or any MCP-compatible AI client.

Every user gets two zero-friction ways to connect—working identically against both https://touched.page and any self-hosted touched-node:

  1. Remote Streamable HTTP (Recommended, zero install): Built straight into https://touched.page/mcp and https://your-node.example/mcp.
  2. Local stdio CLI: Run npx -y github:touched-page/mcp for desktop hosts that manage local MCP subprocesses.

1. Create a Key (or Use OWNER_KEY) ​

  • Hosted touched.page: Open /settings -> Extension & Keys -> MCP Quick-Connect and generate a scoped API key (tp_live_...).
    • Grant read:self if you only want AI to read your taste profile, library, topics, feed, and posts.
    • Add mark:write, topics:write, and/or articles:write only if you want AI to rate works, organize topics, or save private post drafts.
  • Self-hosted touched-node: Use your node's configured OWNER_KEY as the Bearer token against https://your-node.example/mcp (or http://127.0.0.1:4411/mcp locally).

2. Copy-Paste Client Configs ​

Cursor (.cursor/mcp.json) — Remote Streamable HTTP ​

json
{
  "mcpServers": {
    "touched": {
      "url": "https://touched.page/mcp",
      "headers": {
        "Authorization": "Bearer tp_live_your_api_key"
      }
    }
  }
}

OpenCode / OpenChamber (opencode.json) — Remote Streamable HTTP ​

json
{
  "mcp": {
    "touched": {
      "type": "remote",
      "url": "https://touched.page/mcp",
      "headers": {
        "Authorization": "Bearer tp_live_your_api_key"
      }
    }
  }
}

Claude Desktop (claude_desktop_config.json) — Local stdio ​

json
{
  "mcpServers": {
    "touched": {
      "command": "npx",
      "args": ["-y", "github:touched-page/mcp"],
      "env": {
        "TOUCHED_BASE_URL": "https://touched.page",
        "TOUCHED_API_KEY": "tp_live_your_api_key"
      }
    }
  }
}

Self-Hosted touched-node ​

Replace url with https://your-node.example/mcp (or set TOUCHED_BASE_URL to your node URL) and pass your OWNER_KEY as the Bearer token.


3. Curated Tool Reference (12 Safe Tools) ​

ToolModeRequired Scope / AuthWhat It Does
get_taste_profileReadread:self / OWNER_KEYCompact taste summary (tier labels, Tier 5/4/1 signature works, media breakdown, public topics with /t/:id links). Automatically excludes private and archive items.
list_my_libraryReadread:self / OWNER_KEYFilter your library by tier (1–5), systemList, category, topicId, tag, or search q (archive & private excluded by default).
search_worksReadPublic / Optional BearerCross-language WorkDB search across titles, multilingual aliases, creators, and namespace:externalId keys.
get_work_reviewsReadPublic / Optional BearerRead work metadata and public reviews sorted by taste (For You), latest, or top, with optional tier filter.
get_following_feedReadread:self / Optional BearerRead recommended or following feed items (all, reviews, posts) along with white-box recommendation reasons.
list_my_topicsReadread:self / OWNER_KEYList your custom theme lists (topics) with visibility (public / unlisted / private), item counts, and /t/:id share URLs.
list_postsReadread:self / OWNER_KEYList your posts/essays (including private drafts when authenticated), optionally filtered by visibility, workId, or q.
get_postReadPublic / read:selfRead full Markdown content of a post (or your own private draft) by slug or UUID.
read_public_nodeReadPublic HTTPS (None)Fetch and summarize any public https://.../touched.json open-protocol node with strict SSRF protection.
save_work_reviewWritemark:write / OWNER_KEYRate (1–5), write/update a review note, tag, or update systemList / topicIds / visibility on an existing work.
manage_topicWritetopics:write / OWNER_KEYCreate or update a theme list (public / unlisted / private) and attach, score (1–5), annotate, or remove works.
draft_postWritearticles:write / OWNER_KEYCreate a Markdown post linked to 0–N works. Always saved as visibility: "private" draft.

4. Non-Negotiable Privacy & Safety Invariants ​

  1. Private-draft lock (draft_post): draft_post hardcodes visibility: "private". An AI client can help you outline or draft an essay linked to works, but can never publish a public post without you reviewing and publishing it in the web editor.
  2. Zero sensitive personal data exposure: MCP tools never emit user emails, OAuth bindings/tokens, private user_mutes, or session cookies.
  3. Zero destructive bulk tools: Account deletion, bulk wipes, and key revocation are deliberately absent from the MCP surface.
  4. SSRF-hardened read_public_node: Enforces https: only, resolves DNS and blocks loopback (127.0.0.0/8, ::1), RFC1918 private subnets, link-local, and cloud-metadata IPs on both the initial URL and every redirect hop, with a strict 5s timeout and 512 KB response cap.
  5. Least-privilege API scopes: A read-only key (read:self) can safely power recommendations and analysis while any write tool call returns HTTP 403.

5. Practical Prompts to Try ​

  • "Read my get_taste_profile and pick 3 novels or albums I haven't logged yet based on my Tier 5 games."
  • "Check get_following_feed for this week and summarize the reviews from people who share my top-tier RPGs."
  • "Use manage_topic to create an unlisted topic called 'Weekend Short Games' and add Outer Wilds and Hades with short notes."
  • "Pull read_public_node on https://library.example.com/touched.json and compare their S-tier list against mine."
  • "Draft a private post with draft_post comparing Disco Elysium and Invisible Cities so I can edit it in the web editor later."

Open-core ecosystem under MIT License. Built around works, writing, and data sovereignty.