Skip to main content
Glama

kya-brasil

Server Details

Know-your-agent for Brazil: e-CNPJ-signed credentials binding AI agents to companies, KYB-checked

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL

TDQS

Score is being calculated.

Available Tools

10 tools
kya_about
Read-onlyIdempotent
Inspect

Free. What KYA Brasil is, how the credential flow works, prices, and where the schemas and signing keys are.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

kya_check_action
Read-only
Inspect

Signed verdict: is this action (action, amount, currency, counterparty) inside the agent's mandate and is the credential active? Evaluates the reserved mandate fields; lists the fields it did not evaluate.

ParametersJSON Schema
NameRequiredDescriptionDefault
actionNoAction the agent wants to perform (e.g. pay, order, sign).
amountNo
currencyNoBRL, USDC, ...
spent_todayNoWhat this agent already spent today, if you track it (used for max_per_day).
counterpartyNoCNPJ, domain or wallet address of the other side.
credential_idYescredential_id returned by kya_register.
kya_proveInspect

Free. Send both signatures of the challenge. The e-CNPJ chain is validated against ICP-Brasil roots, the CNPJ must match, KYB Brasil must clear the company; then the credential is issued (90 days, Ed25519-signed).

ParametersJSON Schema
NameRequiredDescriptionDefault
challenge_idYeschallenge.id from kya_register (or kya_renew).
credential_idYescredential_id returned by kya_register.
agent_signatureYesSignature of challenge.text by the agent key: EIP-191 personal_sign hex (evm) or raw Ed25519 base64url (web-bot-auth).
ecnpj_signatureYesCMS/PKCS#7 SignedData (detached, base64 DER) of challenge.text, signed with the company's e-CNPJ certificate.
kya_registerInspect

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 KYB check at issuance.

ParametersJSON Schema
NameRequiredDescriptionDefault
cnpjYesThe company's CNPJ, with or without punctuation.
agentYes
mandateYesMandate 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_renewInspect

Re-issue the credential for 90 more days if KYB Brasil still clears the company. The company signs the renewal challenge with its e-CNPJ.

ParametersJSON Schema
NameRequiredDescriptionDefault
credential_idYescredential_id returned by kya_register.
kya_renew_proveInspect

Free. Second step of kya_renew: send both signatures of the renewal challenge; the credential is re-issued for 90 days if KYB Brasil still clears the company.

ParametersJSON Schema
NameRequiredDescriptionDefault
challenge_idYeschallenge.id from kya_register (or kya_renew).
credential_idYescredential_id returned by kya_register.
agent_signatureYesSignature of challenge.text by the agent key: EIP-191 personal_sign hex (evm) or raw Ed25519 base64url (web-bot-auth).
ecnpj_signatureYesCMS/PKCS#7 SignedData (detached, base64 DER) of challenge.text, signed with the company's e-CNPJ certificate.
kya_revocations
Read-onlyIdempotent
Inspect

Free. Credentials revoked since a date (default: last 30 days), for verifiers that cache credentials.

ParametersJSON Schema
NameRequiredDescriptionDefault
sinceNo
kya_revoke
Destructive
Inspect

Free. The company revokes the credential at once (e-CNPJ-signed request). Revocations are listed at /v1/revocations.

ParametersJSON Schema
NameRequiredDescriptionDefault
reasonNo
signed_textYesExactly "KYA Brasil: revoke <credential_id>" followed by a newline and a nonce of your choice.
credential_idYescredential_id returned by kya_register.
ecnpj_signatureYesCMS/PKCS#7 SignedData (detached, base64 DER) of signed_text with the company's e-CNPJ.
kya_verify
Read-only
Inspect

Free (50/day per IP). The agent's current credential: principal company, mandate, KYB snapshot, status (active, suspended, revoked, expired) and signature. Also by key: /v1/agents/by-key?kind=&id=.

ParametersJSON Schema
NameRequiredDescriptionDefault
agentNoAlternative to credential_id: look up active credentials by agent key.
credential_idNocredential_id returned by kya_register.
kya_verify_paid
Read-only
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
credential_idYescredential_id returned by kya_register.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updates
    • Changedkya_register4 fields changed
      • changedInput schema / properties / agent / properties / id / description
        Previous value: -"0x address for evm; base64url raw Ed25519 public key for web-bot-auth."New value: +"0x address for evm; base64url raw Ed25519 public key for web-bot-auth; eip155:<chainId>:<identityRegistry>:<agentId> for erc8004."
      • changedInput schema / properties / agent / properties / id / maxLength
        Previous value: -128New value: +160
      • changedInput schema / properties / agent / properties / kind / description
        Previous value: -"evm: an Ethereum-style wallet (EIP-191 signatures). web-bot-auth: an Ed25519 key (RFC 9421 / Web Bot Auth)."New value: +"evm: an Ethereum-style wallet (EIP-191 signatures). web-bot-auth: an Ed25519 key (RFC 9421 / Web Bot Auth). erc8004: an agent registered in an ERC-8004 Identity Registry; its on-chain agentWallet signs."
      • changedInput schema / properties / agent / properties / kind / enum
        Previous value: -[
        -  "evm",
        -  "web-bot-auth"
        -]New value: +[
        +  "evm",
        +  "web-bot-auth",
        +  "erc8004"
        +]
    • Changedkya_verify4 fields changed
      • changedInput schema / properties / agent / properties / id / description
        Previous value: -"0x address for evm; base64url raw Ed25519 public key for web-bot-auth."New value: +"0x address for evm; base64url raw Ed25519 public key for web-bot-auth; eip155:<chainId>:<identityRegistry>:<agentId> for erc8004."
      • changedInput schema / properties / agent / properties / id / maxLength
        Previous value: -128New value: +160
      • changedInput schema / properties / agent / properties / kind / description
        Previous value: -"evm: an Ethereum-style wallet (EIP-191 signatures). web-bot-auth: an Ed25519 key (RFC 9421 / Web Bot Auth)."New value: +"evm: an Ethereum-style wallet (EIP-191 signatures). web-bot-auth: an Ed25519 key (RFC 9421 / Web Bot Auth). erc8004: an agent registered in an ERC-8004 Identity Registry; its on-chain agentWallet signs."
      • changedInput schema / properties / agent / properties / kind / enum
        Previous value: -[
        -  "evm",
        -  "web-bot-auth"
        -]New value: +[
        +  "evm",
        +  "web-bot-auth",
        +  "erc8004"
        +]
  2. 10 tool updates
    • First observedkya_about
    • First observedkya_check_action
    • First observedkya_prove
    • First observedkya_register
    • First observedkya_renew
    • First observedkya_renew_prove
    • First observedkya_revocations
    • First observedkya_revoke
    • First observedkya_verify
    • First observedkya_verify_paid

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    KYA (Know Your Agent) identity, trust scoring, and insurance protocol for autonomous AI agents. Issues verifiable credentials, computes real-time trust scores, and provides agent liability coverage on Base L2.
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources