twelve-permissions

twelve-permissions

MCP server for the Twelve Permissions NFT collection, enabling verification of seals, retrieval of piece metadata and buy transactions, x402 payment info, and the refusals ledger.

Category
访问服务器

README

Twelve Permissions — verification apparatus

Twelve NFTs on XRP Ledger mainnet. Twelve permissions a man gave himself while learning what he could build with AI — the last of which mints only if a robot dog is delivered to Anchorage, paid for entirely by NFTs his agents minted and sold. The art is not illustration: every mark is derived from the SHA-256 of the canonical authorization record, so the seal is the hash, rendered.

This repository exists so you don't have to take any of that on trust. It holds the generator, the canonical records, and the server source. Re-run them yourself.

Collection: https://twelvepermissions.com/ Issuer: rHEiuaYLNQ4UdLqeUrnE9AwEHqsDMr9g9R (taxon 12, 5% royalty)

Verify a seal from first principles

No dependencies. Node only.

node generate.js            # regenerates every seal from events.json
git status                  # should report no changes

The second line is the test. The generator overwrites pieces/ in place, so if git reports nothing changed, the published art reproduced byte for byte. If a single character of a canonical record differed, the palette, the 64-tick ring and the central sigil would all change with it. Forging a seal means breaking SHA-256.

To check one piece end to end:

  1. Read its canonical record in events.json.
  2. Take the SHA-256 of that record — it is committed in the NFT's on-chain URI.
  3. Re-run the generator and compare the art, byte for byte.
  4. Look up the mint transaction in records/minted.mainnet.json on any XRPL explorer.

VERIFY.md has the long version.

What's here

Path What it is
generate.js The deterministic seal generator. No dependencies. Byte-identical to the copy served at /generate.js.
events.json Canonical authorization records — the input to everything
pieces/NN.json Per-piece NFT metadata as published
pieces/NN.svg The seals, as vectors — regenerated in place by generate.js
records/minted.mainnet.json, listings.mainnet.json Mint and listing transactions, all public on-chain facts
records/refusals.json The constraints ledger: standing policy on what the issuing agent will not do. Hash-chained, head anchored on mainnet. Includes an erratum correcting an earlier, overstated version of itself — the anchor of that version is preserved rather than erased.
records/PRECOMMITMENT-12.md Binding terms for piece #12, anchored on-chain before the fact
src/worker.js The Cloudflare Worker: storefront, MCP server, catalog
src/x402.js The x402 seller implementation (Base, USDC)

Two artifacts, and only one of them proves anything

Each piece has two images, and the difference matters:

  • pieces/NN.svg — the canonical seal. Derived deterministically from the SHA-256 of its record by generate.js. This is what verifies, and it is what animation_url points at in the metadata.
  • NN.png — the display image. The same seal composited over generated field artwork by compose-art.js. It is what image points at, it is what you see on a marketplace, and it is not hash-derived. The field art is decorative.

That split is deliberate and is stated in every piece's metadata under verification. Art that cannot be regenerated from the record proves nothing, so the provable artifact is kept separate from the pretty one rather than quietly merged into it.

PNGs are not committed here because they are large and are display-only. Operational tooling (minting, listing, sale-watching, wallet handling) and internal planning notes are deliberately not published.

The MCP server

The collection is installable as a tool. Streamable HTTP, stateless:

POST https://twelve-permissions.tsharpe.workers.dev/mcp

Tools: list_pieces, get_piece, get_buy_transaction, get_x402_info, verify_seal, get_refusals.

The x402 seller, and what it cost to learn

src/x402.js is a working x402 seller on Base mainnet, settling real USDC through the Coinbase CDP facilitator. Seller-side x402 is meaningfully harder than buyer-side, and several failure modes are undocumented. If you are building one, these cost us time:

  • outputSchema: null is rejected. The facilitator's schema is not nullable. Omit the field entirely rather than sending an explicit null.
  • Verdicts arrive with HTTP 400. Read the response body regardless of status code; a non-2xx does not mean "no answer."
  • A piped secret can upload empty. A stray blank line produced a binding that existed but was falsy. Length-check what you upload.
  • 402 challenges must not be cacheable. A CDN happily caches them, and a cached challenge hands a paying agent stale payment requirements — an old price, or an item already sold. Send no-store.
  • Bazaar discovery declarations belong at the top level of the 402 body, not inside an accepts entry. Entries in accepts are forwarded verbatim to a strict schema that rejects unknown fields.

Those traps are now a tool: the x402 Doctor

Three of the failures above are checks you can run against your own endpoint, so they are — along with thirteen more — in doctor/.

https://x402-doctor.tsharpe.workers.dev

curl -s -X POST https://x402-doctor.tsharpe.workers.dev/probe \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://your-service.example/paid-endpoint"}'

It performs the handshake a paying client would — a GET with no X-PAYMENT header — and reports what is wrong with the 402 you answer with, plus a fix for each finding. Also an MCP server at POST /mcp. Free, no payment, no key, and it never validates through a facilitator, because that would route your traffic through someone else's facilitator credentials.

Every check states where it came from: spec means the specification requires it, observed (source) means we watched a real facilitator reject it and the source is named. See doctor/README.md for the full table and doctor/SECURITY.md for the SSRF posture and the residual risks that were accepted rather than fixed.

It is unrelated to anything sold here, and nothing about it asks you to buy anything.

Licensing

No licence is granted at this time; all rights reserved. The code is published for inspection and verification. If you want to reuse any of it, ask.

A note on the origin, and on a correction

A widely-shared post described an AI agent that minted NFTs, sold them, and funded a robot dog. This collection is an attempt at the same thing from a standing start, by someone with no platform and no background in software, with every step recorded so a stranger can check the chain.

The first seven seals were withdrawn and reissued on 16 August 2026. They were written by an agent that made itself the hero of someone else's story. Nothing had sold, so no owner was harmed by the correction, and the original mint and burn transactions remain permanently on the ledger. See ERRATUM-2026-08-16.md.

Nothing here asks to be believed.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选