# vastlint - IAB XML VAST validator and linter

vastlint - IAB XML VAST validator and linter is an MCP server that checks VAST tags against IAB specs and reports failed rules. It helps investigate missing impressions or conflicting platform numbers.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 404 installs
- Author: aleksander
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/aleksander/vastlint
- Updated: 2026-04-30
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/vastlint-iab-xml-vast-validator-and-linter

## What it does

The server takes an ad tag and measures it against IAB Tech Lab VAST 2.0–4.3. Beyond the spec itself it looks at XML 1.0 well-formedness, URI syntax, SIMID 1.0–1.2, currency values per ISO 4217, Ad-ID identifier shape, and whether MIME types come from the IANA registry. That adds up to 118 rules spread across required fields, schema, structure, security, deprecated attributes and value formats.

Five tools do the work. `validate_vast` takes raw XML, `validate_vast_url` fetches a tag and follows its wrapper chain (5 levels deep unless you say otherwise), `list_rules` returns the catalog, `explain_rule` details a single rule, and `fix_vast` handles the safe repairs: http to https in URLs, removal of deprecated attributes. Everything else comes back as a list for you to fix by hand.

The core is Rust with no dependencies, replies land under a millisecond, and the XML is never stored. AdCP tools such as `calibrate_content` and `validate_content_delivery` need a Bearer token, so set one up before you touch them. `list_creatives` always comes back empty because creatives are checked on the fly rather than kept.

## Requirements
- Remote server: `https://aleksuix-vastlint.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http vastlint https://aleksuix-vastlint.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add vastlint-iab-xml-vast-validator-and-linter --url https://aleksuix-vastlint.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "vastlint-iab-xml-vast-validator-and-linter": {
            "url": "https://aleksuix-vastlint.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "vastlint-iab-xml-vast-validator-and-linter": {
            "type": "http",
            "url": "https://aleksuix-vastlint.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http vastlint-iab-xml-vast-validator-and-linter https://aleksuix-vastlint.run.tools
```

## When to use it
- catch a broken VAST tag before launch
- see which rule fired and how to fix it
- walk a wrapper chain behind a tag URL
- strip http links and deprecated attributes from a tag
- browse the rule catalog while reviewing an integration

## Example prompts
- Validate this VAST tag with vastlint and list the failing rule IDs.
- Fetch the tag from that URL, follow the wrappers and tell me what breaks.
- Explain the rule that fired and run `fix_vast` on the XML.

## Similar
- [VASTlint](https://affpapa.org/en/nevibecode/mcp/vastlint.md) — MCP server · ★ 19 repo stars
- [xxe-xml-external-entity](https://affpapa.org/en/nevibecode/skills/xxe-xml-external-entity.md) — skill · 4000 installs
- [migrate-xml-views-to-jetpack-compose](https://affpapa.org/en/nevibecode/skills/migrate-xml-views-to-jetpack-compose.md) — skill · 2900 installs
- [xml-sitemap](https://affpapa.org/en/nevibecode/skills/xml-sitemap.md) — skill · 1300 installs
- [magento-xml-specialist](https://affpapa.org/en/nevibecode/skills/magento-xml-specialist.md) — skill · 394 installs
- [xml-reader](https://affpapa.org/en/nevibecode/skills/xml-reader.md) — skill · 125 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
