Spree Commerce developer docs for AI agents
Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.
제작자가 쓴 설명(영어 원문)
Governed MCP seller node: buyer agents discover inventory and register intents; no ad-server writes
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
MCP_CONFIG_DIR필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"gam-seller-node": {
"command": "npx",
"args": [
"-y",
"gam-seller-mcp-node"
],
"env": {
"MCP_CONFIG_DIR": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add gam-seller-node --env MCP_CONFIG_DIR=your-value -- npx -y gam-seller-mcp-node실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"gam-seller-node": {
"command": "npx",
"args": [
"-y",
"gam-seller-mcp-node"
],
"env": {
"MCP_CONFIG_DIR": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"gam-seller-node": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gam-seller-mcp-node"
],
"env": {
"MCP_CONFIG_DIR": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
MCP_CONFIG_DIR env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 11일 점검
레지스트리 이름이 GitHub 계정 juan-sibbo 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
코드 마지막 변경: 42일 전
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 2개 중 2개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 42일 전 변경됐고, 최신 버전(0.11.1)은 42일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Spree Commerce developer docs for AI agents, Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Spree Commerce docs for AI coding agents: build headless B2B and marketplace ecommerce on its APIs.
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
MCP server integrating with Stripe - tools for customers, products, payments, and more.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
A Model Context Protocol server that exposes sell-side ad inventory to buyer-side AI agents: discovery, firm pricing, and a buyer-scoped soft commitment primitive. No writes to an ad server exist. Forecasts can come live from Google Ad Manager (opt-in, read-only ForecastService snapshot); the catalog is operator config, and without a GAM connection forecast data is synthetic.
Sell-side ad inventory (availability, pricing, product structure) lives inside ad servers that hold commercially sensitive and sometimes personal data. Giving an AI buyer agent direct API access to GAM or a similar system creates three risks:
| Risk | Without this project | With this project |
|---|---|---|
| Data over-exposure | Agent can read raw avails, deal IDs, exact floor prices | Only coarse buckets and pre-declared families |
| Accidental writes | Agent SDK can create orders, modify line items | No ad-server writes exist; the only write is a buyer's own soft commitment, which can never become a GAM order or an inventory hold |
| No accountability | API calls are logged but not auditable | Hash-chained audit ledger; every allow/deny recorded |
A buyer agent connects via MCP and gets five tools — three read-only, plus a buyer-scoped commitment primitive (create/revoke) that is the sole write surface:
Buyer agent
│ ├── well_known_capabilities ← Signed trust anchor. Check this first. │ Returns: RS256-signed capability document, node identity, privacy posture. │ ├── discover_products ← What can I buy here, and at what firm price? │ Returns: product families the buyer is entitled to see (e.g. "Pre-Roll Video"), │ each with its formats, channel and sites, and its firm list price │ when the publisher has configured them. │ Never returns: deal IDs, internal IDs, raw inventory, exact per-impression pricing. │ ├── get_forecast ← How available is this family next quarter? │ Returns: Low / Mid / High availability bucket. │ Never returns: exact impression counts, CPM curves, floor prices. │ ├── check_availability ← Can you deliver 2.8M impressions of this family in October? │ Returns: available / partial (up to ~2.7M, ~1.3M viewable) / unavailable, as of the │ last forecast — and, when it does not fit, where it would ("November: 3.1M"). │ Volumes come from the forecast rounded down to 2 significant figures │ (configurable by the publisher). │ Never returns: other buyers' bookings, floor prices, audience data. │ ├── create_intent ← Commit to a product at its current firm price (with TTL). │ Records a firm, time-boxed buying intent — rejected if the price is stale or │ mismatched. NOT a GAM order and NOT an inventory hold; it is the handoff artifact │ the classic sales rails pick up. Buyer-scoped: you can only ever commit as yourself. │ └── revoke_intent ← Withdraw one of your own active intents by id.
Every call flows through the same pipeline before any domain logic runs:
Buyer request
│ ▼ [SEC-GATE-3] Replay detection — deduplicate client_request_id │ ▼ [Auth] RS256 token validation → identity confirmed or AUTH_FAILED │ ▼ [Policy] Surface denylist → entitlement check → scope check (Default-Deny) │ ▼ [Rate limit] N=1 / T=30s per buyer_id │ ▼ [Domain] Catalog / ForecastEngine — synthetic, seeded or live GAM forecast snapshot │ ▼ [Disclosure] Response checked against the tool's strict schema — undeclared field → withheld │ ▼ [Audit] Append-only hash-chained ledger, buyer pseudonymized (HMAC) │ ▼ Response to buyer
Each request-path gate rejects on failure. One honest caveat to the diagram above:
MCP_REQUIRE_IDEMPOTENCY_KEY=0, which reopens that bypass.The rate-limit stage covers every authenticated tool — the read surfaces, create_intent, and revoke_intent — so no authenticated surface bypasses it.
A corrupted or tampered on-disk ledger is detected on startup and the node refuses to serve (fail-closed on load, plus a chain-integrity verify before the first request) rather than resetting to an empty chain.
create_intent runs the same gates and adds one more before it records anything: the buyer's price_ref must match the family's current firm price, or the request is rejected.
Run a full pilot in one command.
scripts/pilot.shbrings the node up on your config with
production guards on, mints a buyer token per entitled buyer, and prints how to drive a buyer
agent through the whole loop (discover → forecast → commit → revoke) — see
docs/PILOT-QUICKSTART.md. The reference buyer agent lives at
examples/buyer-client-ts/agent.ts; hosting behind TLS is a
filled-in-the-blanks recipe in
deploy/.
Add the server to your MCP client (Claude Desktop, Claude Code, Cursor, …):
{
"mcpServers": { "gam-seller": { "command": "npx", "args": ["-y", "gam-seller-mcp-node"] } } }
Or run it directly (stdio transport — the default for MCP clients):
npx -y gam-seller-mcp-node
Demo mode. With no config of your own, the node boots on a bundled
pilot-publisherexample (illustrative catalog, prices and forecasts) and says so
on stderr — it starts instead of failing, so you can try the tools immediately.
Because buyer surfaces always require a token (there is no anonymous path, even in
demo), the node prints a ready-to-use demo buyer token on startup: copy it and pass
it as the
tokenargument todiscover_products/get_forecastto see the example
families, prices and forecasts.
For a real deployment, point
MCP_CONFIG_DIRat a directory holding your own
deployment.json,catalog.json,entitlements.jsonandpricing.json:
`bash
MCP_CONFIG_DIR=/etc/gam-seller/config npx -y gam-seller-mcp-node
`
git clone https://github.com/juan-sibbo/gam-seller-mcp-node.git
cd gam-seller-mcp-node npm install npm run build npm run start:http # HTTP transport on 127.0.0.1:3900
Run the full buyer-agent walkthrough (scripted demo) — the five native tools driven over a real in-process MCP transport, ending in the governed refusals (fail-closed auth, Default-Deny, fail-closed pricing) and a verified audit chain:
npm run demo # or: npx tsx demo/run-demo.ts
docker compose up
The node starts on 127.0.0.1:3900. The well-known document is at /.well-known/seller-mcp-capabilities. Persistent volumes for keys and audit data are pre-configured in docker-compose.yml.
Four JSON files drive all publisher-specific behaviour — no code changes needed. Place them in config/ (from-source) or in the directory named by MCP_CONFIG_DIR (npx/containerised):
deployment.json # DSR contact, controller model, data retention window
catalog.json # product families + per-buyer access grants entitlements.json # which buyers are entitled to which MCP surfaces pricing.json # firm list prices per family (fail-closed on expiry) forecast.json # OPTIONAL — seed availability buckets from real numbers (still synthetic-labeled) gam.json # OPTIONAL — live GAM forecast (network, service-account key path, family → targeting)
Invalid config always fails closed: a malformed file stops the node rather than running with a silently different access policy. Absent config (no config/ and no MCP_CONFIG_DIR) drops to the bundled config/examples/pilot-publisher/ example — demo mode, announced on stderr — so the node is never a broken install, only ever a real deployment or a clearly-labelled demo.
Taking a pilot onto real inventory (short of a live GAM connection) is all configuration — see docs/PUBLISHER-DEPLOYMENT.md:
forecast.json (template: config/examples/pilot-publisher/forecast.sample.json). Buckets become realistic while every result stays synthetic: true — pre-loaded is not a live read, so no live-GAM claim is made.gam.json (template: config/examples/pilot-publisher/gam.sample.json) and a service account added to the GAM network with a read role that can run forecasts. The node asks ForecastService.getAvailabilityForecast for every configured family × period at boot and every 30 minutes, using prospective line items that are never saved — nothing in GAM is created, modified or reserved. Buyers are answered from that snapshot as Low/Mid/High buckets with synthetic: false; raw availability never leaves the node. Precedence: gam.json > forecast.json > synthetic.MCP_INTENT_HANDOFF=file (a local JSONL drop an operator forwarder tails). The handoff makes no outbound call — forwarding is the operator's process, and a URL value is refused. A handoff record is a notification, never a GAM order or inventory hold.MCP_REQUIRE_OPERATOR_CONFIG=1 (refuse to boot on demo config), MCP_ANCHOR_SINK=tsa (anchor the audit trail to a third party).Network egress — declared and bounded, not deny-all. Buyer request handling makes no outbound network calls. The live GAM forecast (gam.json) calls Google's OAuth token endpoint and the Ad Manager SOAP API for the configured network, at boot and on the 30-minute refresh cycle — never inside a buyer request, so buyers cannot generate load on the publisher's GAM. Optional audit anchoring can generate operator-configured egress outside the buyer request path (at boot and on the periodic anchor cycle): the TSA backend (MCP_ANCHOR_SINK=tsa) submits the ledger head hash to the configured RFC 3161 authority; the S3 backend (MCP_ANCHOR_SINK=s3) writes the anchor record to the configured Object Lock bucket; a custom sink module (MCP_ANCHOR_SINK= ) runs operator-supplied code. The default local anchor backend performs no external network call. Destinations come only from opera