kya-brasil
io.github.celfons/kya-brasil
MCP server OK 15 tools
KYA backed by a real company: e-CNPJ-signed agent mandates, revocation-checked, signed verdicts
Technical sheet
- Author
- celfons (registry namespace)
- Repository
- —
- Site
- kya-br-agents.marcelfons.workers.dev
- Version
- 0.4.1
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://kya-br-agents.marcelfons.workers.dev/mcp Streamable HTTP
- Tools
- 15
- Categories
- AI, agents and memory
- Last updated
- 13 Oct 2026
- Published
- 13 Oct 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.celfons/kya-brasil)<a href="https://latlas.dev/en/mcp/io.github.celfons/kya-brasil"><img src="https://latlas.dev/badge/statut/mcp/io.github.celfons/kya-brasil.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.celfons/kya-brasil)<a href="https://latlas.dev/en/mcp/io.github.celfons/kya-brasil"><img src="https://latlas.dev/badge/fiche/io.github.celfons/kya-brasil.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://kya-br-agents.marcelfons.workers.dev/mcp
- Last result
- OK 28 Nov 2026, 10:12
- Response time
- 2,241 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- KYA Brasil 0.12.2
- Tools
- 15
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:12 | OK | 2,241 ms | 15 |
Exposed tools (15, from 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| agent | object | yes | |
| cnpj | string | no | The company's CNPJ (company agents). Leave out with principal "person". |
| principal | enum: "company" | "person" | no | "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 | yes | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| credential_id | string | yes | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| credential_id | string | yes | credential_id returned by kya_register. |
| action | string | no | Action the agent wants to perform (e.g. pay, order, sign). |
| amount | number | no | |
| currency | string | no | BRL, USDC, ... |
| counterparty | string | no | CNPJ, domain or wallet address of the other side. |
| spent_today | number | no | What this agent already spent today, if you track it (used for max_per_day). |
| payment_network | string | no | Payment network or rail of this operation: visa, mastercard, elo, pix, ... |
| payment_ref_sha256 | string | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| credential_id | string | yes | 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| credential_id | string | yes | credential_id returned by kya_register. |
| challenge_id | string | yes | challenge.id from kya_register (or kya_renew). |
| agent_signature | string | yes | Signature of challenge.text by the agent key: EIP-191 personal_sign hex (evm) or raw Ed25519 base64url (web-bot-auth). |
| ecnpj_signature | string | yes | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| credential_id | string | yes | credential_id returned by kya_register. |
| cpf | string | yes | 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| signed_text | string | yes | "KYA Brasil: my agents\nat: " |
| ecpf_signature | string | yes | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| credential_id | string | yes | credential_id returned by kya_register. |
| challenge_id | string | yes | challenge.id from kya_register or kya_renew. |
| agent_signature | string | no | 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=.
| Parameter | Type | Required | Description |
|---|---|---|---|
| credential_id | string | no | credential_id returned by kya_register. |
| agent | object | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| credential_id | string | yes | credential_id returned by kya_register. |
| challenge_id | string | yes | challenge.id from kya_register (or kya_renew). |
| agent_signature | string | yes | Signature of challenge.text by the agent key: EIP-191 personal_sign hex (evm) or raw Ed25519 base64url (web-bot-auth). |
| ecnpj_signature | string | yes | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| credential_id | string | yes | credential_id returned by kya_register. |
| signed_text | string | yes | Exactly "KYA Brasil: revoke " followed by a newline and a nonce of your choice. |
| ecnpj_signature | string | yes | CMS/PKCS#7 SignedData (detached, base64 DER) of signed_text with the company's e-CNPJ. |
| reason | string | no |
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: ".
| Parameter | Type | Required | Description |
|---|---|---|---|
| cnpj | string | yes | The company's CNPJ. |
| signed_text | string | yes | "KYA Brasil: ", for the webhook a "url: " line, then "at: " (within 10 minutes). |
| ecnpj_signature | string | yes | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| cnpj | string | yes | The company's CNPJ. |
| signed_text | string | yes | "KYA Brasil: ", for the webhook a "url: " line, then "at: " (within 10 minutes). |
| ecnpj_signature | string | yes | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| since | string | no |
kya_about
Free. What KYA Brasil is, how the credential flow works, prices, and where the schemas and signing keys are.
No parameters.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://kya-br-agents.marcelfons.workers.dev/mcp. Formats taken from each client’s documentation.
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"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
kya-brasil · L’Atlas · Tested on
[kya-brasil — L’Atlas](https://latlas.dev/en/mcp/io.github.celfons/kya-brasil)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.