kya-brasil
io.github.celfons/kya-brasil
Serveur MCP OK 15 outils
KYA backed by a real company: e-CNPJ-signed agent mandates, revocation-checked, signed verdicts
Fiche technique
- Auteur
- celfons (espace de noms du registre)
- Dépôt
- —
- Site
- kya-br-agents.marcelfons.workers.dev
- Version
- 0.4.1
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://kya-br-agents.marcelfons.workers.dev/mcp Streamable HTTP
- Outils
- 15
- Catégories
- IA, agents et mémoire
- Dernière mise à jour
- 13 oct. 2026
- Publication
- 13 oct. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.celfons/kya-brasil)<a href="https://latlas.dev/mcp/io.github.celfons/kya-brasil"><img src="https://latlas.dev/badge/fiche/io.github.celfons/kya-brasil.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://kya-br-agents.marcelfons.workers.dev/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:12
- Temps de réponse
- 2 241 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- KYA Brasil 0.12.2
- Outils
- 15
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:12 | OK | 2 241 ms | 15 |
Outils exposés (15, réponse à tools/list, 28 nov. 2026)
kya_register
Register an AI agent for a Brazilian company: agent key (EVM address or Web Bot Auth Ed25519 key), CNPJ and a mandate (JSON, validated against /.well-known/kya-mandate.schema.json). Returns a one-time challenge the agent signs with its key and the company signs with its e-CNPJ (CMS/PKCS#7). Price covers the checks at issuance.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| agent | object | oui | |
| cnpj | string | non | The company's CNPJ (company agents). Leave out with principal "person". |
| principal | enum: "company" | "person" | non | "person": the agent acts for a natural person who signs with an e-CPF (no CNPJ; no name or CPF is ever published). |
| mandate | object | oui | Mandate JSON validated by https://kya-br-agents.marcelfons.workers.dev/.well-known/kya-mandate.schema.json. Reserved fields: actions, max_per_operation, max_per_day, currencies, counterparties, valid_from, valid_until. |
kya_verify_paid
Same as the free verification, without daily limit, plus a signed receipt of the verification itself (what was checked, when). Pay per call with x402.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credential_id | string | oui | credential_id returned by kya_register. |
kya_check_action
Signed verdict: is this action (action, amount, currency, counterparty, payment instrument) inside the agent's mandate and is the credential active? Evaluates the reserved mandate fields; lists the fields it did not evaluate.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credential_id | string | oui | credential_id returned by kya_register. |
| action | string | non | Action the agent wants to perform (e.g. pay, order, sign). |
| amount | number | non | |
| currency | string | non | BRL, USDC, ... |
| counterparty | string | non | CNPJ, domain or wallet address of the other side. |
| spent_today | number | non | What this agent already spent today, if you track it (used for max_per_day). |
| payment_network | string | non | Payment network or rail of this operation: visa, mastercard, elo, pix, ... |
| payment_ref_sha256 | string | non | SHA-256 hex of the payment token reference or PAR used (never a card number); checked against mandate.payment_instruments. |
kya_renew
Re-issue the credential for 90 more days. The company signs the renewal challenge with an e-CNPJ in force (not revoked); the company must still be ATIVA at the Receita.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credential_id | string | oui | credential_id returned by kya_register. |
kya_prove
Free. Send both signatures of the challenge. The e-CNPJ chain is validated against ICP-Brasil roots, the CNPJ must match, the certificate must not be revoked (CRL) and the company must be ATIVA; then the credential is issued (90 days, Ed25519-signed).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credential_id | string | oui | credential_id returned by kya_register. |
| challenge_id | string | oui | challenge.id from kya_register (or kya_renew). |
| agent_signature | string | oui | Signature of challenge.text by the agent key: EIP-191 personal_sign hex (evm) or raw Ed25519 base64url (web-bot-auth). |
| ecnpj_signature | string | oui | CMS/PKCS#7 SignedData (detached, base64 DER) of challenge.text, signed with the company's e-CNPJ certificate. |
kya_principal_match
Signed answer ($0.01) for a person's agent (principal.kind person): does the CPF you already have match the e-CPF holder behind it? On a match, a subject_ref of your own for that person (stable for you, different for every verifier). The CPF is never stored, published or revealed; 3 non-matching answers per credential stop your checks. The person sees every check.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credential_id | string | oui | credential_id returned by kya_register. |
| cpf | string | oui | The CPF you already have for this person; used for the comparison only, never stored. |
kya_person_agents
Free, person only: every live credential behind your e-CPF and every CPF check made against each one. Sign "KYA Brasil: my agents\nat: " with the e-CPF (valid 10 minutes).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| signed_text | string | oui | "KYA Brasil: my agents\nat: " |
| ecpf_signature | string | oui | CMS/PKCS#7 of signed_text with the person's e-CPF, base64 DER. |
kya_sign_link
Free. Link for whoever holds the company's e-CNPJ (owner, accountant): give challenge_id and the agent's signature, get the /sign URL. They see agent, company and mandate and sign in the browser (A1 .pfx) or with any ICP-Brasil signer (A3 token, cloud), or run kya-sign (npm @kya-brasil/agent-tools) with the link. The issuer never sees the certificate.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credential_id | string | oui | credential_id returned by kya_register. |
| challenge_id | string | oui | challenge.id from kya_register or kya_renew. |
| agent_signature | string | non | The agent's signature of challenge.text, so the person only signs with the e-CNPJ. |
kya_verify
Free (50/day per IP). The agent's current credential: principal company, mandate, status (active, suspended, revoked, expired) and signature. Also by key: /v1/agents/by-key?kind=&id=.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credential_id | string | non | credential_id returned by kya_register. |
| agent | object | non | Alternative to credential_id: look up active credentials by agent key. |
kya_renew_prove
Free. Second step of kya_renew: send both signatures of the renewal challenge; the credential is re-issued for 90 days if the e-CNPJ is not revoked and the company is still ATIVA.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credential_id | string | oui | credential_id returned by kya_register. |
| challenge_id | string | oui | challenge.id from kya_register (or kya_renew). |
| agent_signature | string | oui | Signature of challenge.text by the agent key: EIP-191 personal_sign hex (evm) or raw Ed25519 base64url (web-bot-auth). |
| ecnpj_signature | string | oui | CMS/PKCS#7 SignedData (detached, base64 DER) of challenge.text, signed with the company's e-CNPJ certificate. |
kya_revoke
Free. The company revokes the credential at once (e-CNPJ-signed request). Revocations are listed at /v1/revocations.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credential_id | string | oui | credential_id returned by kya_register. |
| signed_text | string | oui | Exactly "KYA Brasil: revoke " followed by a newline and a nonce of your choice. |
| ecnpj_signature | string | oui | CMS/PKCS#7 SignedData (detached, base64 DER) of signed_text with the company's e-CNPJ. |
| reason | string | non |
kya_company_agents
Free, company only. Every credential ever registered for your CNPJ, any status, whoever held the certificate (an accountant, another employee). Request signed with your e-CNPJ over "KYA Brasil: agents " + "at: ".
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| cnpj | string | oui | The company's CNPJ. |
| signed_text | string | oui | "KYA Brasil: ", for the webhook a "url: " line, then "at: " (within 10 minutes). |
| ecnpj_signature | string | oui | CMS/PKCS#7 SignedData of signed_text with the company's e-CNPJ, detached, base64 DER. |
kya_company_webhook
Free, company only. Sets the https URL that receives signed events about your agents: credential issued, renewed, suspended, reinstated, revoked. Request signed with your e-CNPJ; url "-" removes it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| cnpj | string | oui | The company's CNPJ. |
| signed_text | string | oui | "KYA Brasil: ", for the webhook a "url: " line, then "at: " (within 10 minutes). |
| ecnpj_signature | string | oui | CMS/PKCS#7 SignedData of signed_text with the company's e-CNPJ, detached, base64 DER. |
kya_revocations
Free. Credentials revoked since a date (default: last 30 days), for verifiers that cache credentials.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| since | string | non |
kya_about
Free. What KYA Brasil is, how the credential flow works, prices, and where the schemas and signing keys are.
Aucun paramètre.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://kya-br-agents.marcelfons.workers.dev/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http kya-brasil https://kya-br-agents.marcelfons.workers.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : kya-brasil ; URL : https://kya-br-agents.marcelfons.workers.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : kya-brasil ; Server URL : https://kya-br-agents.marcelfons.workers.dev/mcp ; Create as a plugin{
"mcpServers": {
"kya-brasil": {
"url": "https://kya-br-agents.marcelfons.workers.dev/mcp"
}
}
}{
"mcpServers": {
"kya-brasil": {
"type": "http",
"url": "https://kya-br-agents.marcelfons.workers.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"kya-brasil": {
"url": "https://kya-br-agents.marcelfons.workers.dev/mcp"
}
}
}{
"mcpServers": {
"kya-brasil": {
"httpUrl": "https://kya-br-agents.marcelfons.workers.dev/mcp"
}
}
}[mcp_servers.kya-brasil]
url = "https://kya-br-agents.marcelfons.workers.dev/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
kya-brasil · L’Atlas · Test du
[kya-brasil — L’Atlas](https://latlas.dev/mcp/io.github.celfons/kya-brasil)Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.