Read-only MCP connector serving the Run It on AI book; index and Implementation Blocks are free.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
This repository is the complete source code of the server that powers the
Run It on AI reading companion at mcp.runitonai.com. If you bought the
book and connected your AI to it, this is everything that runs on our side.
We publish it so you do not have to take our word for anything. The server is a few hundred lines of TypeScript. You (or your AI β paste any file into it and ask) can read exactly what it does and, just as importantly, what it cannot do.
What reaches our server when you use the companion:
What never reaches us, because there is no code here that could receive, store, or forward it:
Who talks to whom: when you add the companion as a Claude connector, your machine never contacts our server directly β Anthropic's cloud brokers the connection. On ChatGPT, OpenAI's cloud does. We see tool calls, not you.
Your credential is the license key on your Gumroad receipt (a code like
XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX). It identifies a purchase, not a
person. The server checks it against Gumroad, caches a hash of it for a day,
and rate-limits it. Refunded or disabled keys stop working. See
src/license.ts β the whole mechanism is one file.
Only chapter text needs the key. The companion's operating instructions
(activate) and every Implementation Block β the book's working exercises β
are served without any credential at all; the exercises are also published
right here in implementation-blocks/.
Claude (web or desktop) β the easy path. Settings -> Connectors -> Add custom connector, then paste:
Start a chat with: Activate Run It on AI β my access code is <your license key>.
ChatGPT. Use the "Run It on AI Companion" GPT (link in the book), or
build your own: create a Custom GPT and import
https://mcp.runitonai.com/openapi.yaml as an Action.
Claude Code (terminal users).
Codex. In ~/.codex/config.toml:
| Path | What it is |
|---|---|
src/worker.ts | The Cloudflare Worker: routing, transports, the Gumroad sync endpoint |
src/license.ts | License-key verification and caching (the access gate) |
src/auth.ts | Verification of legacy bearer tokens (nothing mints new ones) |
src/rate_limit.ts | Per-key rate limiting |
src/mcp/ | MCP protocol plumbing (tool catalog, dispatch, transports) |
src/tools/ | The tools your AI can call |
openapi-v1.yaml | The same surface described for ChatGPT Actions |
implementation-blocks/ | Every Implementation Block from the book, as readable markdown |
Two data files ship as placeholders: src/data/chapters.json (the book's
chapter text) and src/data/skill.json (the companion's operating
instructions). Both are generated from the book manuscript at deploy time.
The book's prose is the product, so it is not in the public repo β but the
code that serves it is all here, and the Implementation Blocks (the working
exercises) are published in full in implementation-blocks/.
Note for contributors: everything in this repo is generated from the private manuscript repo by a sync script, and a pre-commit hook there re-syncs it on every relevant change. The Implementation Blocks live in the book's manuscript; the copies here are build artifacts β never edit them here, they will be overwritten.
wrangler.toml ships with placeholder KV namespace ids; point them at your
own Cloudflare account if you want to self-host the shell.
MIT β see LICENSE. The book itself (chapters, companion instructions) remains copyrighted content of StructLabs.io Pte Ltd and is not part of this repository.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/runitonai-mcp)<a href="https://allmcps.com/mcp/runitonai-mcp"><img src="https://allmcps.com/api/badge/runitonai-mcp?style=directory" alt="Runitonai Mcp on AllMCPs" /></a>