ATAD-MCP

this is the page as it was on 2026-07-25 09:04 — all versions

A wiki page describing itself: this documents the MCP connector that lets Claude read and write pages here directly, instead of you copy-pasting content back and forth.

== What it is ==

A small local MCP (Model Context Protocol) server at none ATAD/wiki/mcp/server.js that speaks to this wiki purely over its existing HTTP API — the same /raw, /save, and /upload routes Tincture already uses to publish diary entries. No new server-side code was added to the wiki engine itself; the connector is just a stdio front end onto what was already there.

It runs locally on your machine, launched by Claude Code, and talks to https://wiki.auriea.org over HTTPS.

== Tools it gives Claude ==

== Auth ==

The connector reads the bearer API token straight out of .api-token.json (the same file/token created by npm run api-token) at the moment it needs it. The token never passes through chat, never gets typed anywhere, and never leaves your machine except as the Authorization header on the two API calls that already required it (/save, /upload). Reading pages needs no token at all, same as browsing the wiki normally.

If the token is ever rotated (npm run api-token again), the connector picks up the new one automatically on its next run — nothing to reconfigure.

== Setup / where it lives ==

== Safety notes ==

Every write is a real git commit on the live public wiki — there's no draft or preview step baked into the connector itself. The tool descriptions instruct Claude to confirm exact content with you before calling wiki_write/wiki_upload unless you've explicitly said to proceed autonomously, but that's a prompt-level convention, not a hard technical gate. If a stronger guarantee (like a required dry-run flag) is ever wanted, that would need adding to server.js.

#ATAD
#mcp