Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
SPR (Sealed Payment Record)
概要
作者による説明(英語の原文)
Seal every payment your AI agent makes as a signed record, on your own machine, with your key.
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況i未計測★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: ネットショップ・決済
- 入力が必要なもの:SPR_AGENT_ID, SPR_ENTITY
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- 自分で入力するもの:
SPR_AGENT_ID,SPR_ENTITY,SPR_DIR,SPR_TIME_ZONE,SPR_BINDING
必要なもの
- npmNode.jsのインストール(npxコマンドに必要)
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"spr": {
"command": "npx",
"args": [
"-y",
"@luca-network/spr-mcp"
],
"env": {
"SPR_AGENT_ID": "your-value",
"SPR_ENTITY": "your-value",
"SPR_DIR": "your-value",
"SPR_TIME_ZONE": "your-value",
"SPR_BINDING": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add spr --env SPR_AGENT_ID=your-value --env SPR_ENTITY=your-value --env SPR_DIR=your-value --env SPR_TIME_ZONE=your-value --env SPR_BINDING=your-value -- npx -y @luca-network/spr-mcp動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"spr": {
"command": "npx",
"args": [
"-y",
"@luca-network/spr-mcp"
],
"env": {
"SPR_AGENT_ID": "your-value",
"SPR_ENTITY": "your-value",
"SPR_DIR": "your-value",
"SPR_TIME_ZONE": "your-value",
"SPR_BINDING": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"spr": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@luca-network/spr-mcp"
],
"env": {
"SPR_AGENT_ID": "your-value",
"SPR_ENTITY": "your-value",
"SPR_DIR": "your-value",
"SPR_TIME_ZONE": "your-value",
"SPR_BINDING": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
- The agent's ID, such as agt_research
- The company the agent pays for
SPR_DIRenvThe book's folder (default ./spr-books); it holds the company's private keySPR_TIME_ZONEenvThe company's time zone for accounting dates (default UTC)SPR_BINDINGenvon, to return the nonce to sign with each x402 intent
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名はドメイン luca.network で確認済みです(レジストリがドメインの所有を確認しています)
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
ネットショップ・決済のほかのサーバーとの比較i
- このカテゴリのほかの1755件のうち0%よりスターが多い
- このカテゴリのほかの1755件のうち85%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの1755件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
SPR (Sealed Payment Record)は安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:SPR_AGENT_ID, SPR_ENTITY
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(0.2.0)がレジストリに届いたのは4 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Stripe MCP
MCP server integrating with Stripe - tools for customers, products, payments, and more.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
SPR: the Sealed Payment Record
Your AI agent pays for data, compute and services, and your finance team and auditor can't see what each payment was for. SPR records every payment your agent makes, before and after it pays, sealed with your company's own key on your own machine. Anyone can check the seals. No service has to be trusted, Luca's included.
npx -y @luca-network/spr-mcp
Free and open: Apache-2.0, with a royalty-free patent commitment (PATENTS.md).
Use it from your AI tool
Every setup below runs the same MCP server on your machine. Set SPR_AGENT_ID (your agent) and SPR_ENTITY (the company it pays for); records go to SPR_DIR.
Claude Desktop: add to claude_desktop_config.json:
{ "mcpServers": { "spr": { "command": "npx", "args": ["-y", "@luca-network/spr-mcp"],
"env": { "SPR_AGENT_ID": "agt_research", "SPR_ENTITY": "Example Co", "SPR_DIR": "/Users/you/spr-books" } } } }
Cursor: the same block in .cursor/mcp.json.
Claude Code:
claude mcp add spr -e SPR_AGENT_ID=agt_research -e SPR_ENTITY="Example Co" -- npx -y @luca-network/spr-mcp
OpenAI Agents SDK and LangChain (JavaScript):
import { SprBook, toOpenAIAgentsTools, toLangChainTools } from "@luca-network/spr-sdk";
const book = new SprBook({ dir: "./books", agentId: "agt_research", entity: "Example Co" }); const tools = toOpenAIAgentsTools(book, tool); // tool from "@openai/agents"; or toLangChainTools(book, tool)
CrewAI, Microsoft Agent Framework, Google ADK and the Claude Agent SDK (Python): each connects to the MCP server in a few lines. See examples/.
Any other MCP client: run npx -y @luca-network/spr-mcp over stdio with the two settings above.
The agent then calls record_intent before it pays, check_payment to see whether the payment is inside what it declared, goes to the payee it named and wasn't paid already, and record_settlement after it pays. Each record is sealed in the book's folder.
A merchant's book works the same way for payments received: it can keep the buyer's own sealed intent, how the buyer authenticated, and the order and processor references, and export one payment's evidence for a chargeback response (export_dispute_pack).
A record shows:
- what the agent declared before it paid: the purpose, the most it could spend, and when the permission expired;
- what was actually paid, on which rail, to whom and when;
- whether the payment stayed inside what was declared;
- for x402 payments, whether the chain itself recorded which declaration the payment was made under. The payer signs a fingerprint of the sealed intent as the payment's nonce.
This repository holds:
| Path | What it is |
|---|---|
SPEC.md | The format, draft 1 |
packages/spr | @luca-network/spr, the reference library for JavaScript and TypeScript, with no dependencies, plus the test vectors and spr-verify |
packages/spr-sdk | @luca-network/spr-sdk: seal your agents' payments locally, with withLuca(fetch) for x402 and tools for the OpenAI Agents SDK and LangChain |
packages/spr-mcp | @luca-network/spr-mcp: the same calls as an MCP server, for Claude Desktop, Cursor or your own agent (npx @luca-network/spr-mcp) |
python | spr-sdk for Python: the same format and the same books |
Seal an x402 payment in one line
import { SprBook } from "@luca-network/spr-sdk";
import { withLuca } from "@luca-network/spr-sdk/x402";
const book = new SprBook({ dir: "./books", agentId: "agt_research", entity: "Example Co" }); const pay = withLuca(book, { signer: account });
const res = await pay("https://data.example/prices", { luca: { purpose: "Market data for the pricing model", max_amount_minor: 20000, currency: "USDC" }, }); res.luca.record; // sealed, matched to its intent, bound on chain
Check anything without Luca
npx spr-verify ./books-export --key company.pem # a package, and whose it is
python -m spr ./books-export --key company.pem npx spr-verify --vectors # the library against the test vectors python -m spr --vectors # the Python SDK against the same vectors
company.pem is the company's public key, obtained from the company and never from the package (book.publicKey() gives it). Without --key the checkers show only that a package is consistent with the keys it carries, and say so.
Security problems: see SECURITY.md.
An implementation in any language conforms when it gives the same answers as packages/spr/vectors/vectors.json.
Local SPR and hosted Luca
The packages here run on your own machine and make no call to Luca. Luca's hosted service is a separate product that a book can be sent to.
| Local SPR (these packages) | Hosted Luca | |
|---|---|---|
| Where it runs | Your machine, your folder, your key | Luca's service |
| What it records | The intent before paying and the payment after, as the agent reports them | The same, plus the payment as the rail itself reports it |
| Limits it checks | The declared intent: its cap, its expiry, whether it was withdrawn and the payee it named; the same invoice paid twice. Optionally the book's own mandate.json (limits, payees, a window for repeats), which whoever keeps the folder writes, so it is reported as authority: "self-declared" | Mandates your finance team approves in Luca |
| Confirmation from the rail | None: the record is what the agent reported | The payment read from the rail, and any difference flagged |
| Accounting | None | Classification to your accounts (US GAAP, IFRS, tax), journal entries posted to your ERP, the month's close |
| Evidence | Seals anyone can check with spr-verify or python -m spr | Evidence your auditor can check, and the month's audit package |
| Cost | Free, Apache-2.0 | A Luca account |
A book moves across with one call once finance has registered its key: book.sendToLuca(). Luca checks every seal before it stores anything.
Send the book to Luca (optional)
Finance registers the book's key with Luca once (book.registerWithLuca), and then book.sendToLuca() sends the book. Luca checks every seal before it stores anything, and sending the same book again changes nothing. Write to hello@luca.network for an account.
Changes
What changed in each version, and what you may need to change on upgrading: CHANGELOG.md.
Status
This is draft 1 of the format and version 0.1 of the libraries. We expect to change things as people use them. Tell us what breaks or what's missing: open an issue, or write to hello@luca.network.
License
Apache License 2.0 for the code: see LICENSE. Luca's patent commitment, which lets anyone implement the format with or without this code, is in PATENTS.md.
Luca (luca.network) uses SPR for its hosted accounting of agent payments. That covers reading the rails, classifying to US GAAP and IFRS, posting to the ERP, labels agreed with counterparties, and the close.