Metadata-Version: 2.4
Name: x402-validator
Version: 0.2.0
Summary: x402 endpoint validator: CLI, MCP, Dashboard, Proxy
Author-email: Gael L Chulim <mssali-ai@github.com>
License-Expression: Apache-2.0
Project-URL: homepage, https://github.com/smartflowproai-lang/x402-endpoint-validator
Project-URL: repository, https://github.com/smartflowproai-lang/x402-endpoint-validator
Keywords: x402,validator,blockchain,payment
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp>=3.9
Requires-Dist: httpx>=0.27
Provides-Extra: dashboard
Requires-Dist: flask>=3.0; extra == "dashboard"
Requires-Dist: jinja2>=3.1; extra == "dashboard"
Provides-Extra: proxy
Requires-Dist: pyyaml>=6.0; extra == "proxy"
Provides-Extra: all
Requires-Dist: flask>=3.0; extra == "all"
Requires-Dist: jinja2>=3.1; extra == "all"
Requires-Dist: pyyaml>=6.0; extra == "all"
Dynamic: license-file

# x402-validator

Audit, monitor, and protect endpoints against the **x402 strict-v2** standard.
Includes a conformance engine (manifest discovery, CAIP-2, JSON resilience, Bazaar),
CLI for batch audits, MCP server for agent/IDE integration, and a web dashboard.

```bash
pip install x402-validator
# or: pip install "x402-validator[all]"  # dashboard + proxy extras
```

## Quick examples

**CLI** — validate a single endpoint:
```bash
x402-validate https://observer.137-184-67-179.sslip.io
```

**Batch audit** — validate many endpoints, output HTML report:
```bash
x402-validate endpoints.txt --output html --parallel 20
```

**MCP server** — connect from Claude / Cursor / any MCP client:
```bash
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | x402-mcp
```

**Dashboard** — view history and trends:
```bash
docker-compose up
# Open http://localhost:5000
```

## Documentation

Full documentation in the [`docs/`](docs/) directory.

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md).
