# vCard Syntax Validator AI Agent Connect

> vCard Syntax Validator MCP provides deterministic parsing and validation for vCard (VCF) strings. It checks for structural integrity across versions 2.1, 3.0, and 4.0, ensuring required identity fields are present and parameter syntax is perfectly formed for contact data processing.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Fecqvnaj75LdaOSL4PqxsMBkd9AGUt9UsT4n1425/ai-agent-connect
- **Tags:** vcard, vcf, parser, validator, data-integrity

## Description

Handling contact data is a headache when you're dealing with messy vCard strings. One missing bracket or a malformed parameter can break an entire contact import process. This MCP acts as a strict gatekeeper for your contact data, ensuring every vCard string follows the exact rules of the VCF standard. Instead of guessing why a contact import failed, you can have your agent verify the structural integrity of the data before it ever hits your database. It checks for the necessary encapsulation tags and confirms that essential identity fields are present. You can also use it to strip away messy parameters and get clean, usable key-value pairs for names, emails, and phone numbers. By connecting this to your workflow through the Vinkius catalog, you turn your AI client into a precise data validator that catches syntax errors in real time. It's about moving from 

## Tools

### extract_property_values
Retrieves the clean key-value pairs from a valid vCard, accounting for parameter stripping

### parse_vcard_structure
Validates the fundamental structure of a vCard string and checks for encapsulation and required identity fields

### validate_parameter_syntax
Checks the integrity of parameters attached to specific properties to ensure they are not malformed

## Prompt Examples

**Prompt:** 
```
Is this vCard valid: 'BEGIN:VCARD\nFN:John Doe\nEND:VCARD'?
```

**Response:** 
```
Yes, the vCard is valid and uses version 2.1.
```

**Prompt:** 
```
Check if the parameters for the TEL property are correct in this vCard.
```

**Response:** 
```
The parameters for the TEL property are syntactically correct.
```

**Prompt:** 
```
Extract the email address from this vCard string.
```

**Response:** 
```
john.doe@vinkius.com
```

## Frequently Asked Questions

**Which vCard versions are supported?**
The server supports vCard versions 2.1, 3.0, and 4.0.

**How can I check if a vCard is missing required fields?**
You can use the `parse_vcard_structure` tool, which returns a list of `missingRequiredProperties` if identity fields like `FN` or `N` are absent.

**Can I extract specific values like phone numbers?**
Yes, use the `extract_property_values` tool and specify the `targetKey` (e.g., 'TEL') to get the clean values.