This commit is contained in:
2026-07-09 15:46:13 +03:00
parent 91f83da567
commit 509e49e374
6 changed files with 143 additions and 51 deletions
+2 -1
View File
@@ -52,7 +52,8 @@ export function registerPeopleTools(server: McpServer): void {
const addrList = Array.isArray(addrs) ? addrs : [addrs];
for (const a of addrList) {
if (a?.Key === "Business") {
const parts = [a.Street, a.City, a.PostalCode, a.CountryOrRegion].filter(Boolean);
const parts = [a.Street, a.City, a.PostalCode, a.CountryOrRegion]
.filter(Boolean);
if (parts.length) {
person.address = parts.join(", ");
}