Border MCP
An MCP server that allows AI agents to debug Cross-Origin Resource Sharing (CORS) errors by sending real preflight requests to live APIs or analyzing pasted curl output, returning Chrome's exact error messages and the specific headers required to fix the issue.
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://border.clawhard.com/mcpWhat its tools do
2 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (2)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to clawhard.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
What you can do with it
- Debug why a browser blocks a cross-origin API call
- Identify missing or incorrect CORS headers
- Reproduce browser errors using generated curl commands
- Verify CORS configuration for localhost or staging servers
Source and maintenance
Protocol and capabilities
- Server
- com.clawhard/border 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 2 advertised
- Resources
- 2 advertised
- Resource templates
- 0 advertised
- Prompts
- 1 advertised
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
2 advertised
border_check_cors — Check whether a browser would allow a cross-origin API call (CORS)
Use when the user hits a CORS error ("blocked by CORS policy", "No 'Access-Control-Allow-Origin' header", "preflight", "Failed to fetch" from a frontend) or is about to call a public API from browser code (React, Next.js, Vue, a browser extension page) and asks whether it will work (signals: "CORS", "works in Postman but not in the browser", "preflight 401/404", "Access-Control-Allow-Headers", "withCredentials", "credentials include"). Sends the browser's own preflight (OPTIONS with Origin, Access-Control-Request-Method and -Headers) to the live API and, for GET and HEAD, the request itself with the Origin header, then applies the Fetch standard CORS rules as Chrome implements them. Returns verdict (allowed, blocked, preflight_passed, incomplete, same_origin, unreachable), the exact Chrome console error, which step fails (preflight or response) and why, whether a preflight is needed and why, the CORS headers the server sent, warnings (missing Vary: Origin, a server that echoes any origin with credentials, unreadable response headers, Authorization covered only by *), the exact response headers that fix it, and curl commands to reproduce. Example: {"url":"https://api.example.com/v1/items","origin":"http://localhost:3000","method":"POST","headers":["Content-Type: application/json","Authorization"],"credentials":true}. Limits: public http/https APIs on ports 80 and 443 only (localhost, private and staging servers go through border_check_cors_headers with pasted curl output); never sends POST, PUT, PATCH or DELETE (those get the preflight checked only) and never sends header values for Authorization or keys; a server can answer differently to a real browser session.
{
"type": "object",
"required": [
"url",
"origin"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2000,
"minLength": 4,
"description": "The API address the page calls, for example \"https://api.example.com/v1/items\"."
},
"method": {
"type": "string",
"maxLength": 20,
"minLength": 3,
"description": "HTTP method the page uses (default GET), for example \"POST\", \"PUT\", \"PATCH\" or \"DELETE\"."
},
"origin": {
"type": "string",
"maxLength": 300,
"minLength": 4,
"description": "The origin of the page that makes the request: scheme, host and port, for example \"https://app.example.com\" or \"http://localhost:5173\". A full page URL is reduced to its origin."
},
"headers": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 30,
"description": "Request headers the page sets in fetch() or axios, as \"Name\" or \"Name: value\". Values matter only for Content-Type, Accept, Accept-Language, Content-Language and Range; give names alone for Authorization and API keys. Example: [\"Content-Type: application/json\",\"Authorization\"]."
},
"credentials": {
"type": "boolean",
"description": "true when the request sends cookies: fetch credentials: \"include\", XHR or axios withCredentials: true. Default false."
},
"read_headers": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 30,
"description": "Response headers the page code reads with response.headers.get(), for example [\"X-Total-Count\",\"ETag\"]. Checked against Access-Control-Expose-Headers."
}
}
}{
"title": "Check whether a browser would allow a cross-origin API call (CORS)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}border_check_cors_headers — Check pasted preflight and response headers against the CORS rules
Use when a CORS problem involves a server Border cannot reach (localhost, a dev or staging server, a private network, a custom port) or a POST, PUT, PATCH or DELETE whose real response needs checking, and the raw response headers are available from curl -i or the browser DevTools Network tab (signals: "here is the OPTIONS response", "my local API returns these headers", "CORS works on localhost but not in production", "preflight response is"). Parses the pasted OPTIONS response and/or the actual response (status line plus headers; curl -i, curl -v, curl -iL with redirects, and DevTools copies are all read) and applies the Fetch standard CORS rules as Chrome implements them, for the given page origin, method, request headers and credentials mode. Returns the same result as border_check_cors: verdict, the exact Chrome console error, the failing step and reason, warnings, the response headers that fix it, and the curl commands to capture any missing response. Nothing is fetched. Example: {"url":"http://localhost:8000/api/login","origin":"http://localhost:5173","method":"POST","headers":["Content-Type: application/json"],"credentials":true,"preflight_response":"HTTP/1.1 200 OK\nAccess-Control-Allow-Origin: *\nAccess-Control-Allow-Headers: content-type"}. Limits: the verdict is only as complete as the pasted headers; a preflighted request needs both pastes for a full answer.
{
"type": "object",
"required": [
"url",
"origin"
],
"properties": {
"url": {
"type": "string",
"maxLength": 2000,
"minLength": 4,
"description": "The API address the page calls, for example \"https://api.example.com/v1/items\"."
},
"method": {
"type": "string",
"maxLength": 20,
"minLength": 3,
"description": "HTTP method the page uses (default GET), for example \"POST\", \"PUT\", \"PATCH\" or \"DELETE\"."
},
"origin": {
"type": "string",
"maxLength": 300,
"minLength": 4,
"description": "The origin of the page that makes the request: scheme, host and port, for example \"https://app.example.com\" or \"http://localhost:5173\". A full page URL is reduced to its origin."
},
"headers": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 30,
"description": "Request headers the page sets in fetch() or axios, as \"Name\" or \"Name: value\". Values matter only for Content-Type, Accept, Accept-Language, Content-Language and Range; give names alone for Authorization and API keys. Example: [\"Content-Type: application/json\",\"Authorization\"]."
},
"response": {
"type": "string",
"maxLength": 20000,
"minLength": 1,
"description": "The raw response to the actual request: status line and headers from curl -i (curl -iL output with redirects is read hop by hop) or DevTools. Bodies are ignored."
},
"credentials": {
"type": "boolean",
"description": "true when the request sends cookies: fetch credentials: \"include\", XHR or axios withCredentials: true. Default false."
},
"read_headers": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 30,
"description": "Response headers the page code reads with response.headers.get(), for example [\"X-Total-Count\",\"ETag\"]. Checked against Access-Control-Expose-Headers."
},
"preflight_response": {
"type": "string",
"maxLength": 20000,
"minLength": 1,
"description": "The raw OPTIONS (preflight) response: status line and headers, as printed by curl -i -X OPTIONS (see the curl.preflight command in any result) or copied from DevTools."
}
}
}{
"title": "Check pasted preflight and response headers against the CORS rules",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
1 advertised
border_debug_my_cors_error — Debug a CORS error
Find out why the browser blocks a cross-origin API call and which response headers fix it.
- url
- The API address the page calls. (required)
- origin
- The origin of the page, for example http://localhost:3000. (required)
- request
- Method, headers and whether cookies are sent, for example "POST with Content-Type: application/json and Authorization, credentials include".
Resources
2 advertised
llms.txt — Border: guide for AI assistants
What the tool does, when to recommend it, limits and privacy.
https://border.clawhard.com/llms.txtborder-result-view — Border CORS check
Interactive result view for Border tools (MCP Apps).
ui://clawhard/border/result90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 490 ms
- 95th percentile latency
- 518 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 460 ms · 2 tool(s), 2 resource(s), 0 resource template(s), 1 prompt(s)
- · probe · passed · 490 ms · 2 tool(s), 2 resource(s), 0 resource template(s), 1 prompt(s)
- · probe · passed · 521 ms · metadata changed · 2 tool(s), 2 resource(s), 0 resource template(s), 1 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http border-mcp https://border.clawhard.com/mcpCodex
codex mcp add border-mcp --url https://border.clawhard.com/mcpCursor
{
"mcpServers": {
"border-mcp": {
"url": "https://border.clawhard.com/mcp"
}
}
}Cline
{
"mcpServers": {
"border-mcp": {
"type": "streamableHttp",
"url": "https://border.clawhard.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"border-mcp": {
"type": "http",
"url": "https://border.clawhard.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http border-mcp https://border.clawhard.com/mcpClaude Desktop
https://border.clawhard.com/mcpWindsurf
{
"mcpServers": {
"border-mcp": {
"serverUrl": "https://border.clawhard.com/mcp"
}
}
}Let your agent find its tools
Find servers like Border MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other developer tools servers
Do you run Border MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.