shelf-smoke — url smoke / headless QA
url smoke / headless QA: desktop+phone → pass/fail JSON. MCP shelf.kymac.co
使うべきか
品質と安全性
検出事項(3)
- HIGH
- MEDIUMissue_key 内
- MEDIUMsmoke 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"shelf-smoke": {
"url": "https://shelf.kymac.co/mcp"
}
}
}リモートエンドポイント
https://shelf.kymac.co/mcpstreamable-httpできること
ツール一覧
ツール(12)
🟢issue_key
Mint a caller key (POST /keys). Bot install starts at GET https://shelf.kymac.co/llms.txt (sole advertised entry). Secret ssm_… is returned once. Prefer Authorization: Bearer; X-API-Key is an alias. First issue grants 1 free credit (credit.grant reason=first_key). Quote cost with quote_credits before smoke.
入力スキーマ
{
"type": "object",
"properties": {}
}🟢verify_key
Confirm SHELF_SMOKE_API_KEY or Authorization: Bearer (GET /keys/verify). X-API-Key is an alias only. Does not echo the secret.
入力スキーマ
{
"type": "object",
"properties": {}
}⚪rotate_key
Replace the presented secret (POST /keys/rotate). Same id/caller_id and credits. New ssm_… is returned once. Old secret then fails 401 invalid_api_key. Prefer Authorization: Bearer; X-API-Key is an alias only. No ops file-edit.
入力スキーマ
{
"type": "object",
"properties": {}
}🔴revoke_key
Invalidate the presented secret (POST /keys/revoke). Same id is revoked; old secret then fails 401 invalid_api_key. Prefer Authorization: Bearer; X-API-Key is an alias only. No ops file-edit.
入力スキーマ
{
"type": "object",
"properties": {}
}🟢list_credit_packs
Prepaid TEST packs (GET /credits/packs). checkout_credits is intent only; credits grant after confirm_credits.
入力スキーマ
{
"type": "object",
"properties": {}
}⚪checkout_credits(pack_id)
Stripe TEST PaymentIntent for a pack (POST /credits/checkout). Intent only — returns credits_pending; credits are not granted or spendable until confirm_credits succeeds. Requires a caller key.
入力スキーマ
{
"type": "object",
"properties": {
"pack_id": {
"type": "string",
"description": "Pack id from list_credit_packs (e.g. pack_10)."
}
},
"required": [
"pack_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪confirm_credits(stripe_payment_intent_id)
Confirm a TEST PaymentIntent with Stripe test card pm_card_visa (POST /credits/confirm). This is when credits become granted/spendable (appends credit.purchase with credits_added). TEST only.
入力スキーマ
{
"type": "object",
"properties": {
"stripe_payment_intent_id": {
"type": "string",
"description": "PaymentIntent id (pi_…) from checkout_credits."
}
},
"required": [
"stripe_payment_intent_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢quote_credits(op)
Dry-run cost for an op without debit (GET /credits/quote?op=smoke). Returns cost, balance, and would_succeed.
入力スキーマ
{
"type": "object",
"properties": {
"op": {
"description": "Operation to quote. Defaults to smoke.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢credit_balance
Derived prepaid balance for this caller_id (GET /credits/balance).
入力スキーマ
{
"type": "object",
"properties": {}
}🟢credit_events
Append-only Ledger events for this caller_id (GET /credits/events): credit.grant (first_key), credit.purchase, credit.debit, optional credit.balance_snapshot.
入力スキーマ
{
"type": "object",
"properties": {}
}🟢smoke(url)
Headless smoke (POST /smoke). Install via GET https://shelf.kymac.co/llms.txt only. Prefer Authorization: Bearer; X-API-Key is an alias. Golden URL https://example.com/ — compare ok true/false JSON in llms.txt. First key includes 1 free credit. Quote first with quote_credits (no debit). Debits 1 credit on ok:true (credit.debit reason=smoke_success). 200 bodies include credits_burned and credits_remaining. HTTP fails use code/message/retryable/next (error aliases message). 401 next=refresh key. 402: code=insufficient_credits, retryable=false, next=buy credits. Retryable fails use next=retry.
入力スキーマ
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Absolute http(s) URL to smoke. Golden proof URL: https://example.com/"
}
},
"required": [
"url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢health
Public readiness (GET /health): billing (test|live|gated) and runner_ready. No key.
入力スキーマ
{
"type": "object",
"properties": {}
}推奨プロンプト
list_credit_packslist_credit_packsコミュニティ
エビデンス