L3Lint.Mcp
1.0.0
{ "servers": { "L3Lint.Mcp": { "type": "stdio", "command": "dnx", "args": ["L3Lint.Mcp@1.0.0", "--yes"] } } }
.vscode/mcp.json settings file.
dotnet tool install --global L3Lint.Mcp --version 1.0.0
dotnet new tool-manifest
dotnet tool install --local L3Lint.Mcp --version 1.0.0
#tool dotnet:?package=L3Lint.Mcp&version=1.0.0
nuke :add-package L3Lint.Mcp --version 1.0.0
L3Lint.Mcp
The l3lint MCP server lets an AI agent lint a commercial card payment payload it just wrote, read why a rule exists, and get safe mechanical fixes. It checks Level 2 and Level 3 data against Visa, Mastercard, American Express and Discover requirements. It runs offline and keeps nothing after a call.
Findings are advisory. They say a payload is likely to downgrade, or meets the documented requirement. They never promise an interchange rate.
Use it from a client
{
"servers": {
"l3lint": {
"type": "stdio",
"command": "dnx",
"args": ["L3Lint.Mcp", "--yes"]
}
}
}
Tools
| Tool | What it does |
|---|---|
lint_payload |
Lints one payload (canonical JSON, Stripe, Adyen, Braintree, Cybersource, Authorize.net or Checkout.com) and returns findings, a summary and the likely tier |
explain_rule |
Requirement, rationale, severity, confidence, dates, sources and examples of one rule |
list_rules |
Rule IDs, titles and severities, filtered by brand, level or text |
map_payload |
The canonical JSON of a gateway payload, with the path map and adapter notes |
suggest_fixes |
An RFC 6902 patch of mechanical fixes, plus the findings a person must decide |
get_schema |
The canonical, results, config or rule pack JSON Schema |
Resources: l3lint://rules/{ruleId}, l3lint://schemas/{name} and l3lint://examples/{brand}/level3. Prompts: review_payload and explain_downgrade.
Transports
- stdio (default):
l3lint-mcp. Logs go to standard error. - Streamable HTTP:
l3lint-mcp --http --port 7341serveshttp://127.0.0.1:7341/mcp. It binds the loopback address only, rejects other Host headers and browser origins, and accepts an optional bearer token with--tokenor theL3LINT_MCP_TOKENenvironment variable.--allow-origin <origin>allows one more browser origin.
Privacy
Card numbers are masked before any rule sees the payload. The server makes no network calls, sends no telemetry and keeps no state between calls.
Documentation: https://brimatt16219.github.io/l3lint/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 72 | 11/24/2026 |