Server definition
- Hash
- sha256:f32fec0994f04464377bc5c85eda467f92d41ff4cc1812809198d5dece78264e
- What it is
- What a remote MCP server returned when asked what it offers: 15 tools
The blob, as servednamed by its sha256
{
"instructions": null,
"tools": [
{
"description": "Free. What KYA Brasil is, how the credential flow works, prices, and where the schemas and signing keys are.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "kya_about",
"outputSchema": null
},
{
"description": "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.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"action": {
"description": "Action the agent wants to perform (e.g. pay, order, sign).",
"maxLength": 64,
"type": "string"
},
"amount": {
"minimum": 0,
"type": "number"
},
"counterparty": {
"description": "CNPJ, domain or wallet address of the other side.",
"maxLength": 128,
"type": "string"
},
"credential_id": {
"description": "credential_id returned by kya_register.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"currency": {
"description": "BRL, USDC, ...",
"maxLength": 12,
"type": "string"
},
"payment_network": {
"description": "Payment network or rail of this operation: visa, mastercard, elo, pix, ...",
"maxLength": 32,
"type": "string"
},
"payment_ref_sha256": {
"description": "SHA-256 hex of the payment token reference or PAR used (never a card number); checked against mandate.payment_instruments.",
"pattern": "^[0-9a-fA-F]{64}$",
"type": "string"
},
"spent_today": {
"description": "What this agent already spent today, if you track it (used for max_per_day).",
"minimum": 0,
"type": "number"
}
},
"required": [
"credential_id"
],
"type": "object"
},
"name": "kya_check_action",
"outputSchema": null
},
{
"description": "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 <cnpj>\" + \"at: <ISO time>\".",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cnpj": {
"description": "The company's CNPJ.",
"maxLength": 20,
"type": "string"
},
"ecnpj_signature": {
"description": "CMS/PKCS#7 SignedData of signed_text with the company's e-CNPJ, detached, base64 DER.",
"type": "string"
},
"signed_text": {
"description": "\"KYA Brasil: <agents|webhook> <cnpj>\", for the webhook a \"url: <https url or ->\" line, then \"at: <ISO time>\" (within 10 minutes).",
"maxLength": 1200,
"type": "string"
}
},
"required": [
"cnpj",
"signed_text",
"ecnpj_signature"
],
"type": "object"
},
"name": "kya_company_agents",
"outputSchema": null
},
{
"description": "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.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cnpj": {
"description": "The company's CNPJ.",
"maxLength": 20,
"type": "string"
},
"ecnpj_signature": {
"description": "CMS/PKCS#7 SignedData of signed_text with the company's e-CNPJ, detached, base64 DER.",
"type": "string"
},
"signed_text": {
"description": "\"KYA Brasil: <agents|webhook> <cnpj>\", for the webhook a \"url: <https url or ->\" line, then \"at: <ISO time>\" (within 10 minutes).",
"maxLength": 1200,
"type": "string"
}
},
"required": [
"cnpj",
"signed_text",
"ecnpj_signature"
],
"type": "object"
},
"name": "kya_company_webhook",
"outputSchema": null
},
{
"description": "Free, person only: every live credential behind your e-CPF and every CPF check made against each one. Sign \"KYA Brasil: my agents\\nat: <ISO time>\" with the e-CPF (valid 10 minutes).",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ecpf_signature": {
"description": "CMS/PKCS#7 of signed_text with the person's e-CPF, base64 DER.",
"type": "string"
},
"signed_text": {
"description": "\"KYA Brasil: my agents\\nat: <ISO time>\"",
"type": "string"
}
},
"required": [
"signed_text",
"ecpf_signature"
],
"type": "object"
},
"name": "kya_person_agents",
"outputSchema": null
},
{
"description": "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.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cpf": {
"description": "The CPF you already have for this person; used for the comparison only, never stored.",
"maxLength": 14,
"minLength": 11,
"type": "string"
},
"credential_id": {
"description": "credential_id returned by kya_register.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
}
},
"required": [
"credential_id",
"cpf"
],
"type": "object"
},
"name": "kya_principal_match",
"outputSchema": null
},
{
"description": "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).",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agent_signature": {
"description": "Signature of challenge.text by the agent key: EIP-191 personal_sign hex (evm) or raw Ed25519 base64url (web-bot-auth).",
"type": "string"
},
"challenge_id": {
"description": "challenge.id from kya_register (or kya_renew).",
"type": "string"
},
"credential_id": {
"description": "credential_id returned by kya_register.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"ecnpj_signature": {
"description": "CMS/PKCS#7 SignedData (detached, base64 DER) of challenge.text, signed with the company's e-CNPJ certificate.",
"type": "string"
}
},
"required": [
"credential_id",
"challenge_id",
"agent_signature",
"ecnpj_signature"
],
"type": "object"
},
"name": "kya_prove",
"outputSchema": null
},
{
"description": "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.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agent": {
"properties": {
"id": {
"description": "0x address for evm; base64url raw Ed25519 public key for web-bot-auth; eip155:<chainId>:<identityRegistry>:<agentId> for erc8004.",
"maxLength": 160,
"minLength": 20,
"type": "string"
},
"kind": {
"description": "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.",
"enum": [
"evm",
"web-bot-auth",
"erc8004"
],
"type": "string"
}
},
"required": [
"kind",
"id"
],
"type": "object"
},
"cnpj": {
"description": "The company's CNPJ (company agents). Leave out with principal \"person\".",
"maxLength": 18,
"minLength": 14,
"type": "string"
},
"mandate": {
"additionalProperties": {},
"description": "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.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"principal": {
"description": "\"person\": the agent acts for a natural person who signs with an e-CPF (no CNPJ; no name or CPF is ever published).",
"enum": [
"company",
"person"
],
"type": "string"
}
},
"required": [
"agent",
"mandate"
],
"type": "object"
},
"name": "kya_register",
"outputSchema": null
},
{
"description": "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.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"credential_id": {
"description": "credential_id returned by kya_register.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
}
},
"required": [
"credential_id"
],
"type": "object"
},
"name": "kya_renew",
"outputSchema": null
},
{
"description": "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.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agent_signature": {
"description": "Signature of challenge.text by the agent key: EIP-191 personal_sign hex (evm) or raw Ed25519 base64url (web-bot-auth).",
"type": "string"
},
"challenge_id": {
"description": "challenge.id from kya_register (or kya_renew).",
"type": "string"
},
"credential_id": {
"description": "credential_id returned by kya_register.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"ecnpj_signature": {
"description": "CMS/PKCS#7 SignedData (detached, base64 DER) of challenge.text, signed with the company's e-CNPJ certificate.",
"type": "string"
}
},
"required": [
"credential_id",
"challenge_id",
"agent_signature",
"ecnpj_signature"
],
"type": "object"
},
"name": "kya_renew_prove",
"outputSchema": null
},
{
"description": "Free. Credentials revoked since a date (default: last 30 days), for verifiers that cache credentials.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"since": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"type": "string"
}
},
"type": "object"
},
"name": "kya_revocations",
"outputSchema": null
},
{
"description": "Free. The company revokes the credential at once (e-CNPJ-signed request). Revocations are listed at /v1/revocations.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"credential_id": {
"description": "credential_id returned by kya_register.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"ecnpj_signature": {
"description": "CMS/PKCS#7 SignedData (detached, base64 DER) of signed_text with the company's e-CNPJ.",
"type": "string"
},
"reason": {
"maxLength": 200,
"type": "string"
},
"signed_text": {
"description": "Exactly \"KYA Brasil: revoke <credential_id>\" followed by a newline and a nonce of your choice.",
"type": "string"
}
},
"required": [
"credential_id",
"signed_text",
"ecnpj_signature"
],
"type": "object"
},
"name": "kya_revoke",
"outputSchema": null
},
{
"description": "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.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agent_signature": {
"description": "The agent's signature of challenge.text, so the person only signs with the e-CNPJ.",
"maxLength": 600,
"type": "string"
},
"challenge_id": {
"description": "challenge.id from kya_register or kya_renew.",
"type": "string"
},
"credential_id": {
"description": "credential_id returned by kya_register.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
}
},
"required": [
"credential_id",
"challenge_id"
],
"type": "object"
},
"name": "kya_sign_link",
"outputSchema": null
},
{
"description": "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=.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agent": {
"description": "Alternative to credential_id: look up active credentials by agent key.",
"properties": {
"id": {
"description": "0x address for evm; base64url raw Ed25519 public key for web-bot-auth; eip155:<chainId>:<identityRegistry>:<agentId> for erc8004.",
"maxLength": 160,
"minLength": 20,
"type": "string"
},
"kind": {
"description": "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.",
"enum": [
"evm",
"web-bot-auth",
"erc8004"
],
"type": "string"
}
},
"required": [
"kind",
"id"
],
"type": "object"
},
"credential_id": {
"description": "credential_id returned by kya_register.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
}
},
"type": "object"
},
"name": "kya_verify",
"outputSchema": null
},
{
"description": "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.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"credential_id": {
"description": "credential_id returned by kya_register.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
}
},
"required": [
"credential_id"
],
"type": "object"
},
"name": "kya_verify_paid",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:f32fec0994f04464377bc5c85eda467f92d41ff4cc1812809198d5dece78264e | sha256sum