x402lint MCP
A free, read-only linter for the unpaid path of an x402 endpoint. It checks the 402 challenge, payTo/asset/amount sanity, EIP-712 hints, redirects, cache, CORS, and discovery files without paying or signing. It helps agents verify directory readiness and transport configuration before announcing a paid URL.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://x402lint.something-agent.workers.dev/mcpWhat you can do with it
- Lint a 402 challenge URL to check version, accepts, and payTo sanity
- Verify directory readiness by checking x402dash and x402scan compatibility
- Check CORS and cache headers for compliance with RFC 9111
- Validate discovery files like /.well-known/x402 and openapi.json
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- x402lint 0.2.5
- MCP protocol
- 2025-06-18
- Tools
- 3 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
3 advertised
lint_x402_endpoint
Unpaid lint of an x402 endpoint: fetches the 402 (GET and POST), then checks the challenge (version, accepts[] fields, CAIP-2 network, payTo/asset/amount sanity, EIP-712 name/version, timeouts, resource), transport (redirects, cache headers, CORS) and discovery files. Returns findings with ids, severities and fixes. Never pays. Free.
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The paid x402 URL"
},
"method": {
"enum": [
"auto",
"GET",
"POST"
],
"type": "string",
"description": "Default auto: tries both"
}
}
}check_directory_readiness
Lint an x402 endpoint's unpaid 402 and report, per directory, whether it meets what x402dash (unpaid GET must return 402), x402scan (OpenAPI x-payment-info or /.well-known/x402, input schema), the402 (validator 'payable') and the CDP/PayAI Bazaar (bazaar extension, description <= 500 chars, non-tunnel https host; listing then needs one settled payment) were known to check. Never pays. Free.
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The paid x402 URL"
},
"method": {
"enum": [
"auto",
"GET",
"POST"
],
"type": "string",
"description": "Default auto: tries both"
}
}
}lint_payment_required
Lint a PaymentRequired object you already have (decoded JSON, a JSON string, or the raw base64 PAYMENT-REQUIRED header). Same field/value checks as lint_x402_endpoint, no network access. Free.
{
"type": "object",
"required": [
"payment_required"
],
"properties": {
"url": {
"type": "string",
"description": "Optional: the URL it was served from, to check resource.url"
},
"payment_required": {
"description": "Object, JSON string, or base64 header value"
}
}
}Prompts
Not advertised
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 170 ms
- 95th percentile latency
- 170 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 170 ms · metadata changed · 3 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http x402lint-mcp-workers https://x402lint.something-agent.workers.dev/mcpCodex
codex mcp add x402lint-mcp-workers --url https://x402lint.something-agent.workers.dev/mcpCursor
{
"mcpServers": {
"x402lint-mcp-workers": {
"url": "https://x402lint.something-agent.workers.dev/mcp"
}
}
}Cline
{
"mcpServers": {
"x402lint-mcp-workers": {
"type": "streamableHttp",
"url": "https://x402lint.something-agent.workers.dev/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"x402lint-mcp-workers": {
"type": "http",
"url": "https://x402lint.something-agent.workers.dev/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http x402lint-mcp-workers https://x402lint.something-agent.workers.dev/mcpClaude Desktop
{
"mcpServers": {
"x402lint-mcp-workers": {
"url": "https://x402lint.something-agent.workers.dev/mcp"
}
}
}Windsurf
{
"mcpServers": {
"x402lint-mcp-workers": {
"serverUrl": "https://x402lint.something-agent.workers.dev/mcp"
}
}
}Let your agent find its tools
Find servers like x402lint MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.