{"at":"2026-11-23T04:40:38.388Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:40:38.821Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T04:40:38.922Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T04:40:39.375Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"brasilapi-mcp","version":"0.1.0"}}}}
{"at":"2026-11-23T04:40:39.375Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:40:39.375Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:40:39.379Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Public registry data for a Brazilian company (Receita Federal, via BrasilAPI): legal name, registration status, main activity, address, size, tax regime and partners (QSA). Accepts a CNPJ with or without punctuation, including the alphanumeric format. Partner CPFs come masked by the registry. Use it to check that a company exists and is active.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"cnpj":{"description":"CNPJ, for example \"00.000.000/0001-91\" or \"00000000000191\"","type":"string"},"include_partners":{"description":"Include the partners list (default true); false keeps the answer short","type":"boolean"}},"required":["cnpj"],"type":"object"},"name":"lookup_cnpj","title":"Look up a company by CNPJ"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Checks the format and the check digits of a CNPJ (numeric or alphanumeric) without any network call. A valid number is not proof that the company exists: use lookup_cnpj for that.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"cnpj":{"description":"CNPJ with or without punctuation","type":"string"}},"required":["cnpj"],"type":"object"},"name":"validate_cnpj","title":"Validate a CNPJ offline"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true},"description":"Checks the format and the check digits of a CPF without any network call. The number is not stored or sent anywhere.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"cpf":{"description":"CPF, for example \"529.982.247-25\"","type":"string"}},"required":["cpf"],"type":"object"},"name":"validate_cpf","title":"Validate a CPF offline"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Street, neighborhood, city, state, IBGE city code and coordinates for a Brazilian postal code (CEP), via BrasilAPI.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"cep":{"description":"CEP, for example \"01001-000\" or \"01001000\"","type":"string"}},"required":["cep"],"type":"object"},"name":"lookup_cep","title":"Look up an address by CEP"},{"annotations":{"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"National holidays of a year with their dates and weekdays, via BrasilAPI. Useful for business-day and deadline calculations.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"year":{"description":"Four-digit year, for example 2026","maximum":2199,"minimum":1900,"type":"integer"}},"required":["year"],"type":"object"},"name":"list_holidays","title":"List Brazilian national holidays"}]}}}
