Skip to content

Merge Vcf MCP tool

MCP findutils:merge_vcf

Combine several .vcf vCard files into one importable file. Pass each file as { name, content }. Every complete BEGIN:VCARD … END:VCARD block is copied as written, so PHOTO, X- fields, the vCard version and the line endings survive untouched; cards appear in file order, then in order within each file, joined with the line ending of the first file (CRLF, LF or CR). With skip_duplicates (default true) a later card is dropped only when its name, its phone digits and its email addresses all equal an earlier card; there is no fuzzy name matching, and a card with no name, phone or email only matches an identical card. A card cut off before END:VCARD is refused and counted, and a file with no complete card is reported with an error while the rest still merge.

Arguments

application/json
  • files

    array required

    The .vcf files, in order, at most 500. Each item is { name, content }: the file name and its text.

  • skip_duplicates

    boolean optional

    Drop a later card whose name (trimmed, case-insensitive), phone digits and emails all match an earlier card. Default true. Default true.

Example arguments

Verified
{
  "files": [
    {
      "name": "a.vcf",
      "content": "BEGIN:VCARD\r\nVERSION:3.0\r\nFN:Ada Lovelace\r\nEMAIL:[email protected]\r\nEND:VCARD\r\n"
    },
    {
      "name": "b.vcf",
      "content": "BEGIN:VCARD\r\nVERSION:3.0\r\nFN:Grace Hopper\r\nEMAIL:[email protected]\r\nEND:VCARD\r\n"
    }
  ]
}