shelf-smoke — url smoke / headless QA
url smoke / headless QA: desktop+phone → pass/fail JSON. MCP shelf.kymac.co
我該用這個嗎
品質與安全性
發現項目(3)
- HIGH
- MEDIUM在 issue_key 中
- MEDIUM在 smoke 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `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社群
證據