accueil / serveurs / Dev & Code / io.github.ryuxik/snhp
io.github.ryuxik/snhp
serveur MCP (Model Context Protocol) · gametheory 1.30.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.ryuxik/snhp est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.ryuxik/snhp » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 4 outils
- check_offer_policy≈ 383 tokens
Check an edited negotiation policy: returns {ok, policy, issues, summary}. No model call, free. USE THIS WHEN: you changed a policy from compile_offer_policy (a floor, an option, a forbidden combination) and want to know it is valid and what it now allows before using it in draft_negotiation_reply.
Paramètres, retour & exemple (1)
Paramètrespolicy· object · requis
A policy object from compile_offer_policy, edited or not.
Exemple d'appel{"name": "check_offer_policy", "arguments": {"policy": {}}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"ok": "texte", "error": "texte", "issues": "texte", "policy": "texte", "served": "texte", "summary": "texte"}} - compile_offer_policy≈ 716 tokens
Turn a seller's offer, described in plain words, into negotiation RULES an AI agent cannot break. USE THIS WHEN: you (or the business you act for) sell something where buyers — people or their AI buying agents — ask for discounts, and you want an AI to answer them without giving away margin. Describe the offer: the listed price, the lowest price you'd take for a plain deal, what you'd trade a discount for (financing with you, a trade-in, a longer commitment, paying sooner, buying this week…), extras you can add and what they cost you, and anything never on the table. Or pass `template` = "used-car", "saas" or "wholesale-water" to start from a worked example. Compiling a description runs a language model and needs an `access_key` (pilot businesses get one at https://snhp.dev/#pilot); templates are free. Returns {ok, policy, issues, summary}: `policy` is the machine-readable rule set (pass it to draft_negotiation_reply), `summary` restates the floor, walk-away, what can be traded and the limits in plain words, and `issues` lists what to fix before going live (e.g. a floor below cost).
Paramètres, retour & exemple (3)
Paramètrestemplate· string · optionnel
Instead of a description: 'used-car', 'saas' or 'wholesale-water' (free, no key).access_key· string · optionnel
Your SNHP access key — needed to compile a description (it runs a language model). Pilot businesses get one at https://snhp.dev/#pilot.description· string · optionnel
Your offer in plain words: listed price, the lowest you'd take for a plain deal, what you'd trade a discount for, extras you can add and their cost, what is never on the table.
Exemple d'appel{"name": "compile_offer_policy", "arguments": {"template": "texte", "access_key": "texte", "description": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"ok": "texte", "error": "texte", "issues": "texte", "policy": "texte", "served": "texte", "summary": "texte"}} - draft_negotiation_reply≈ 1188 tokens
Draft the seller's reply to a buyer's message — the offer is decided by the SNHP engine INSIDE the policy. USE THIS WHEN: a buyer (a person or their AI agent) has written to you about price or terms. Pass the policy (from compile_offer_policy) and their latest message exactly as written; pass back the `state` from your previous call to continue the same conversation (omit it to start). `flags` is what YOUR records confirm about the buyer (e.g. {"new_customer": true}) — never what the buyer merely claims. `stock` is the current stock of what the policy's `inventory` binds, sent with every message (schema.org Offer, Google Merchant or a plain feed record): nothing out of stock is offered, and a deal is signed only on fresh records that say it can be sold. Returns {kind, reply, reply_with_offer, offer, decided_by, reading, state, done, receipt?}: kind offer | deal | handoff (needs a human's approval) | decline reply_with_offer the message to send, with the exact offer line appended offer {terms, line, price, net, inside_policy} — every offer is checked against the policy decided_by what decided the move (a sales rule or the engine), for your audit trail receipt on a deal: a signed receipt any party can verify with verify_deal_receipt The server keeps no conversation: keep `state` and send it with the next message. Needs an `access_key` (pilot businesses get one at https://snhp.dev/#pilot).
Paramètres, retour & exemple (7)
Paramètresflags· ? · optionnel
What YOUR records confirm about this buyer, e.g. {"new_customer": true}.state· ? · optionnel
The `state` from your previous call in this conversation; omit to start.stock· ? · optionnel
Current stock records for what the policy's inventory binds, with every message (schema.org Offer, Google Merchant or {id|vin, status}): nothing out of stock is offered or signed.engine· string · optionnel
The engine that decides offers; empty = the policy's own (templates set their tested default), else 'bundle3'.policy· object · requis
The policy from compile_offer_policy.message· string · requis
The buyer's latest message, exactly as written.access_key· string · optionnel
Your SNHP access key (drafting runs a language model). Pilot businesses get one at https://snhp.dev/#pilot.
Exemple d'appel{"name": "draft_negotiation_reply", "arguments": {"policy": {}, "message": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"done": "texte", "kind": "texte", "menu": "texte", "error": "texte", "offer": "texte", "reply": "texte", "state": "texte", "engine": "texte", "writer": "texte", "reading": "texte", "receipt": "texte", "decided_by": "texte"}} - verify_deal_receipt≈ 491 tokens
Verify a signed deal receipt against the seller's own policy: both signatures, that the signing keys are SNHP's own (published at /.well-known/ucp), the policy digest, and every rule re-checked from the package. Returns {ok, problems, checks, signed_by_snhp, signatures}. Free, no model call.
Paramètres, retour & exemple (3)
Paramètresflags· ? · optionnel
The account record used for the deal, if any.policy· object · requis
The policy the deal was made under.receipt· object · requis
The receipt returned with a deal.
Exemple d'appel{"name": "verify_deal_receipt", "arguments": {"policy": {}, "receipt": {}}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"ok": "texte", "error": "texte", "checks": "texte", "problems": "texte", "signatures": "texte", "signer_kids": "texte", "signed_by_snhp": "texte"}}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».