mcp
Qué hace este MCP
Provides agents with HTTP access, rotating proxies, and browser rendering for web interaction.
Herramientas
Esquema de entrada
{'type': 'object', 'required': ['url'], 'properties': {'url': {'type': 'string', 'format': 'uri', 'description': 'Public target URL. Private or reserved targets return `ssrf_blocked`. Use {ts} in the URL to insert the current Unix timestamp. Example: https://example.com/page.'}, 'data': {'anyOf': [{'type': 'string'}, {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}], 'description': 'Request body for non-GET methods. Strings sent as-is; objects auto-serialized to JSON.'}, 'method': {'type': 'string', 'minLength': 1, 'description': 'HTTP method for the target request (default GET).'}, 'headers': {'type': 'array', 'items': {'type': 'array', 'items': {'type': 'string'}, 'maxItems': 2, 'minItems': 2}, 'description': 'Custom HTTP headers as [name, value] tuples. Example: [["Accept", "application/json"], ["Authorization", "Bearer ..."]]'}, 'validate': {'type': 'object', 'properties': {'data': {'type': 'object', 'properties': {'fail': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Substrings the final body must not contain'}, 'accept': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Case-sensitive substrings the final body must contain. Use this on protected targets to distinguish the real page from a challenge page.'}}, 'description': 'Body validation: pass when the body contains an expected substring (accept), fail when it contains a blocked one (fail).'}, 'status': {'type': 'object', 'properties': {'fail': {'type': 'array', 'items': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'description': 'HTTP status codes to treat as failure'}, 'accept': {'type': 'array', 'items': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'description': 'HTTP status codes to treat as success'}}, 'description': 'Status-code validation: which HTTP status codes count as success (accept) or failure (fail).'}, 'headers': {'type': 'object', 'properties': {'fail': {'type': 'object', 'description': 'Case-insensitive header substring rules that reject the response when any name/value pair matches.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'accept': {'type': 'object', 'description': 'Case-insensitive header substring rules. The response passes when at least one name/value pair matches.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}}, 'description': 'Header validation: pass when an accepted header matches, fail when a blocklisted header matches.'}}, 'description': 'Post-fetch response validation. When the response fails these checks foura_auto returns an error envelope.'}, 'forceProxy': {'type': 'boolean', 'description': 'Require proxy routing for every target request. Default true. Send false to allow direct HTTP when suitable.'}, 'timeout_ms': {'type': 'integer', 'maximum': 180000, 'minimum': 5000, 'description': 'Total time budget in ms for the whole operation. Every attempt must fit inside it. Default 120000, max 180000.'}, 'ignoreProxies': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Exits to avoid - base36 proxy IDs (like "4DZ3VE") or proxy URLs. Use this to rotate away from an exit that was just blocked.'}, 'offload_large': {'type': 'boolean', 'description': 'If true, response bodies of 50 KB or more are returned as a resource_link instead of inlined. Default false. Read the returned offloaded_resource_uri with resources/read.'}, 'returnSession': {'type': 'boolean', 'description': 'Return reusable {proxy, cookies, userAgent} values for follow-up calls. Default true. Send false for a leaner response when you only need the content.'}, 'followRedirects': {'type': 'integer', 'maximum': 20, 'minimum': 0, 'description': "Follow up to N redirects for HTTP and proxy requests. Default 5; 0 means don't follow. Browser navigation handles redirects itself."}}}
Esquema de salida
{'type': 'object', 'properties': {'code': {'type': 'string', 'description': "Stable error code for retry classification. auth_failed means the FourA API key was rejected; verify that key, not target-site credentials. Other codes: ssrf_blocked, upstream_non_json, output_validation_failed, bad_request (400), forbidden (403), not_found (404), rate_limited (429), at_capacity (503), service_disabled (503), service_unavailable (503), upstream_error (>=500), upstream_client_error (other 4xx), upstream_unknown (defensive). A plan_limit_* code is the caller's own FourA plan refusing (credits, bandwidth, rate, concurrency, browser_daily, premium, feature), not the target: wait out retryAfter or change the plan, never retry the same work through another tool."}, 'data': {'description': 'Decoded response body of the delivered page. String by default; object when the body parsed as JSON. Omitted when offloaded.'}, 'meta': {'type': 'object', 'properties': {'rung': {'type': 'string', 'description': 'Which method delivered the content (e.g. probe / proxy / browser / cache). `cache` means a reusable session was used.'}, 'solved': {'type': 'boolean', 'description': 'True when a bot-defense was actively solved on the way to the content (vs. the target being open).'}, 'credits': {'type': 'number', 'description': 'Total credits spent across all attempts.'}, 'attempts': {'type': 'number', 'description': 'Total fetch attempts made for this request.'}}, 'description': 'Completion details: rung, solved, attempts, and credits. Always present.', 'additionalProperties': {}}, 'error': {'type': 'string', 'description': 'Human-readable error message when the request could not deliver content within the budget.'}, 'limits': {'type': 'object', 'properties': {'maxRpm': {'type': 'number'}, 'maxConcurrency': {'type': 'number'}}, 'description': 'Per-service limits at error time', 'additionalProperties': False}, 'status': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'HTTP status code from the request that delivered the content. `0` means no HTTP response was received; check `error`.'}, 'credits': {'type': 'number', 'description': 'Credits this call spent. Reported on failures too: the work was done either way.'}, 'current': {'type': 'object', 'properties': {'rpm': {'type': 'number'}, 'concurrency': {'type': 'number'}}, 'description': "Caller's current usage at error time", 'additionalProperties': False}, 'headers': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'properties': {'result': {'type': 'object', 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'reason': {'type': 'string'}, 'version': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': {'anyOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}}, {'type': 'string'}, {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}], 'description': 'Response headers from the successful request, as an array of objects. Each entry has `result.{version, code, reason}` plus header-name keys. The last entry is the final response.'}, 'service': {'enum': ['single', 'proxy', 'browser', 'api', 'auto'], 'type': 'string'}, 'session': {'type': 'object', 'properties': {'proxy': {'type': 'string', 'description': 'Opaque base36 exit id of the session (e.g. `4DZ3VE`) - pass to foura_single.proxy / foura_proxy.proxy to replay through the same exit. Never a raw IP.'}, 'cookies': {'description': 'Cookie objects accumulated by the winning session. For foura_single, serialize their name/value pairs into a Cookie header; pass the array directly to foura_browser.cookies.'}, 'userAgent': {'type': 'string', 'description': 'User-Agent used by the winning session. Send it as a User-Agent header to foura_single or as foura_browser.userAgent.'}}, 'description': 'Reusable {proxy, cookies, userAgent} values for follow-up calls. For plain HTTP, call foura_single with session.proxy as proxy, session.userAgent as a User-Agent header, and session.cookies serialized as a Cookie header. For JavaScript, pass the three values to foura_browser fields. Present by default; send returnSession:false to omit.', 'additionalProperties': {}}, 'attempts': {'type': 'number', 'description': 'Total attempts when the request failed (also present inside `meta`).'}, 'request_id': {'type': 'string', 'description': "FourA's id for this call, for a support request."}, 'retryAfter': {'type': 'number', 'description': 'Seconds to wait before retrying a 429 or 503 response'}, 'size_bytes': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Total offloaded body size in bytes'}, 'offloaded_resource_uri': {'type': 'string', 'description': 'foura-mcp://payload/<uuid>. Pass this URI to resources/read to retrieve the offloaded body.'}}, 'additionalProperties': False}
Esquema de entrada
{'type': 'object', 'required': ['url'], 'properties': {'url': {'type': 'string', 'format': 'uri', 'description': 'Public URL to load in a full browser session. Private or reserved targets return `ssrf_blocked`. Example: https://shop.example.com/product/123.'}, 'proxy': {'type': 'string', 'description': 'Optional proxy. Three forms: (1) URL `http://user:pass@host:port` or `socks5://host:port`; (2) base36 ID from foura_proxy (e.g. `4DZ3VE`) to reuse the same exit; (3) omit to use the default route.'}, 'cookies': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'value'], 'properties': {'name': {'type': 'string', 'description': 'Cookie name.'}, 'value': {'type': 'string', 'description': 'Cookie value.'}, 'domain': {'type': 'string', 'description': "Cookie domain (e.g. .example.com). Omit to scope it to the navigated URL's host."}}}, 'description': 'Cookies to set before navigation: [{ name, value, domain? }]'}, 'headers': {'type': 'object', 'description': 'Custom HTTP headers as a key-value object rather than [name, value] tuples. Example: {"Referer": "https://google.com/"}', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'checkText': {'type': 'string', 'description': 'Validate the rendered HTML once navigation completes. This is a substring check, not a waiter, and it doesn\'t poll. A missing substring returns an error envelope. Example: "add to cart" for a product page.'}, 'unblocker': {'type': 'boolean', 'description': 'Handle supported anti-bot or captcha challenges during navigation. Default true. Set false to return the page exactly as it loads, including any challenge page.'}, 'userAgent': {'type': 'string', 'description': "Override the browser's User-Agent string"}, 'timeout_ms': {'type': 'integer', 'maximum': 120000, 'minimum': 0, 'description': 'Page load timeout in ms (default 30000, max 120000)'}, 'checkStatus': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Expected HTTP status code. A different status returns an error envelope carrying the actual value. Example: 200 for a product page.'}, 'offload_large': {'type': 'boolean', 'description': 'If true, response bodies of 50 KB or more are returned as a resource_link instead of inlined. Default false. Read the returned offloaded_resource_uri with resources/read.'}}}
Esquema de salida
{'type': 'object', 'properties': {'body': {'anyOf': [{'type': 'string'}, {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}], 'description': 'Fully-rendered page content. String HTML when content-type is HTML; object when the page returned JSON and it was auto-parsed. Field is named `body`, not `data`. Omitted when offloaded.'}, 'code': {'type': 'string', 'description': "Stable error code for retry classification. auth_failed means the FourA API key was rejected; verify that key, not target-site credentials. Other codes: ssrf_blocked, upstream_non_json, output_validation_failed, bad_request (400), forbidden (403), not_found (404), rate_limited (429), at_capacity (503), service_disabled (503), service_unavailable (503), upstream_error (>=500), upstream_client_error (other 4xx), upstream_unknown (defensive). A plan_limit_* code is the caller's own FourA plan refusing (credits, bandwidth, rate, concurrency, browser_daily, premium, feature), not the target: wait out retryAfter or change the plan, never retry the same work through another tool."}, 'error': {'type': 'string', 'description': 'Human-readable error message'}, 'limits': {'type': 'object', 'properties': {'maxRpm': {'type': 'number'}, 'maxConcurrency': {'type': 'number'}}, 'additionalProperties': False}, 'status': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'HTTP status code from the target page. `0` indicates the navigation failed before any HTTP response (DNS / connection refused / timeout) - check the `error` field for the underlying reason.'}, 'cookies': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'value'], 'properties': {'name': {'type': 'string'}, 'path': {'type': 'string'}, 'size': {'type': 'number'}, 'value': {'type': 'string'}, 'domain': {'type': 'string'}, 'secure': {'type': 'boolean'}, 'expires': {'type': 'number'}, 'session': {'type': 'boolean'}, 'httpOnly': {'type': 'boolean'}, 'sameSite': {'type': 'string'}}, 'additionalProperties': {}}, 'description': 'Full cookie objects collected after navigation, including name, value, domain, path, expiry, and same-site settings.'}, 'credits': {'type': 'number', 'description': 'Credits this call spent. Reported on failures too: the work was done either way.'}, 'current': {'type': 'object', 'properties': {'rpm': {'type': 'number'}, 'concurrency': {'type': 'number'}}, 'additionalProperties': False}, 'headers': {'type': 'object', 'description': 'Response headers as a flat key-value object. Values are typically strings but may be arrays for repeated headers.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'service': {'enum': ['single', 'proxy', 'browser', 'api'], 'type': 'string'}, 'exitClass': {'enum': ['standard', 'premium'], 'type': 'string', 'description': '`premium` when a premium exit served this call, which happens when `proxy` replays one from foura_proxy.'}, 'userAgent': {'type': 'string', 'description': 'The User-Agent the browser session presented'}, 'request_id': {'type': 'string', 'description': "FourA's id for this call, for a support request."}, 'retryAfter': {'type': 'number'}, 'size_bytes': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Total offloaded body size in bytes'}, 'offloaded_resource_uri': {'type': 'string', 'description': 'foura-mcp://payload/<uuid>. Pass this URI to resources/read to retrieve the offloaded body.'}}, 'additionalProperties': False}
Esquema de entrada
{'type': 'object', 'required': ['request'], 'properties': {'request': {'type': 'object', 'required': ['method', 'url'], 'properties': {'os': {'type': 'string', 'description': 'Operating system to present: Windows, macOS, Android, or iOS. A family name accepts any of its versions.'}, 'url': {'type': 'string', 'format': 'uri', 'description': 'Public target URL. Private or reserved targets return `ssrf_blocked`. Use {ts} in the URL to insert the current Unix timestamp. Example: https://shop.example.com/pricing.'}, 'data': {'anyOf': [{'type': 'string'}, {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}], 'description': 'Request body.'}, 'method': {'type': 'string', 'minLength': 1, 'description': 'HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, or any WebDAV verb)'}, 'browser': {'type': 'string', 'description': 'Browser to present: Chrome, Edge, Safari, Firefox, or Tor. Omit every profile field and the request presents the latest Google Chrome.'}, 'headers': {'type': 'array', 'items': {'type': 'array', 'items': {'type': 'string'}, 'maxItems': 2, 'minItems': 2}, 'description': 'Custom HTTP headers as [name, value] tuples. Example: [["Accept", "application/json"]]'}, 'profile': {'type': 'string', 'description': 'Exact profile id from the public catalogue at https://api.foura.ai/api/profiles. Use browser/os/version when you do not have an id.'}, 'version': {'type': 'string', 'description': 'Browser version to present, as listed in the catalogue. The newest match wins when several fit. An impossible combination returns an error listing what is available; no other browser is substituted.'}, 'validate': {'type': 'object', 'properties': {'data': {'type': 'object', 'properties': {'fail': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Substrings that, if present in the body, mark the response as failed.'}, 'accept': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Substrings the response body must contain to pass.'}}, 'description': 'Body validation: pass when the body contains an expected substring (accept), fail when it contains a blocked one (fail).'}, 'status': {'type': 'object', 'properties': {'fail': {'type': 'array', 'items': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'description': 'HTTP status codes to treat as failure'}, 'accept': {'type': 'array', 'items': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'description': 'HTTP status codes to treat as success'}}, 'description': 'Status-code validation: which HTTP status codes count as success (accept) or failure (fail).'}, 'headers': {'type': 'object', 'properties': {'fail': {'type': 'object', 'description': 'Case-insensitive header substring rules that reject the response when any name/value pair matches.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'accept': {'type': 'object', 'description': 'Case-insensitive header substring rules. The response passes when at least one name/value pair matches across the redirect chain.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}}, 'description': 'Header validation: pass when an accepted header matches, fail when a blocklisted header matches.'}}, 'description': 'Per-attempt response validation. A proxy attempt that fails these checks is treated as failed and the next proxy is tried.'}, 'unblocker': {'type': 'boolean', 'description': 'Send a full browser header set, including User-Agent and Sec-Ch-Ua. Default true. Set false for a plain HTTP request; profile selection needs it on and errors when it is off.'}, 'timeout_ms': {'type': 'integer', 'maximum': 120000, 'minimum': 0, 'description': 'Per-attempt timeout in ms'}, 'tryJsonData': {'type': 'boolean', 'description': 'If true, attempt JSON.parse on the response body; on success `data` is the parsed value, otherwise it stays the original string. Omit to keep the body as-is.'}, 'returnBuffer': {'type': 'boolean', 'description': 'Return raw bytes as a serialized Buffer JSON shape ({type:"Buffer", data:[byte, ...]}) instead of a decoded string. Use for binary responses (images, protobuf).'}, 'followRedirects': {'type': 'integer', 'maximum': 20, 'minimum': 0, 'description': 'Max number of redirects to follow (0-20). Omit to disable redirect following.'}, 'accept_timeout_ms': {'type': 'integer', 'maximum': 120000, 'minimum': 0, 'description': 'Timeout in ms to receive the first response byte after the request is sent (0-120000). Omit for the default.'}, 'connect_timeout_ms': {'type': 'integer', 'maximum': 120000, 'minimum': 0, 'description': 'Timeout in ms for establishing the connection to the target through the proxy (0-120000). Omit for the default.'}, 'dns_cache_timeout_sec': {'type': 'integer', 'maximum': 240, 'minimum': 0, 'description': "How long (seconds) to cache the target's resolved DNS (0-240). Omit for the default."}, 'server_response_timeout_ms': {'type': 'integer', 'maximum': 120000, 'minimum': 0, 'description': 'Timeout in ms for the server to send the complete response (0-120000). Omit for the default.'}}, 'description': 'The inner HTTP request to send through each proxy attempt. Validation rules here determine when a proxy is treated as failed and retried.'}, 'maxTries': {'type': 'integer', 'maximum': 90, 'minimum': 1, 'description': 'Maximum rotation attempts before giving up (default 5, max 90). Difficult protected targets may need 25-30. Use exitCountries for country scope.'}, 'exitClass': {'enum': ['standard', 'premium'], 'type': 'string', 'description': 'Allow escalation to a premium exit for a target the standard pool cannot deliver. An allowance, not an instruction: the pool still races and usually wins, and the response reports which class served. `standard` forbids escalation. Without premium exits in the plan the call is refused with code plan_limit_premium.'}, 'timeout_ms': {'type': 'integer', 'maximum': 120000, 'description': 'Overall timeout across all rotation attempts in ms (default 45000, max 120000). Must be positive.', 'exclusiveMinimum': 0}, 'exitCountries': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Z]{2}$'}, 'minItems': 1, 'description': 'Optional target-visible proxy countries as two-letter provider codes, for example ["CZ", "GB"]. Use codes supplied by the user or target requirements. When geography matters, do not guess codes or substitute unscoped rotation. Values are trimmed, uppercased, and deduplicated. Unknown exits are excluded and the request never falls back to another country.'}, 'ignoreProxies': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Encoded proxy IDs (base36 strings like "4DZ3VE") or proxy URLs to exclude from rotation.'}, 'offload_large': {'type': 'boolean', 'description': 'If true, response bodies of 50 KB or more are returned as a resource_link instead of inlined. Default false. Read the returned offloaded_resource_uri with resources/read.'}}}
Esquema de salida
{'type': 'object', 'properties': {'code': {'type': 'string', 'description': "Stable error code for retry classification. auth_failed means the FourA API key was rejected; verify that key, not target-site credentials. no_eligible_proxy means the strict exitCountries scope had no match. Keep that scope and retry later; do not propose or perform an unscoped fallback. A plan_limit_* code is the caller's own FourA plan refusing (credits, bandwidth, rate, concurrency, browser_daily, premium, feature), not the target: wait out retryAfter or change the plan, never retry the same work through another tool."}, 'data': {'description': 'Decoded response body. Omitted when offloaded.'}, 'error': {'type': 'string', 'description': 'Human-readable error message'}, 'proxy': {'type': 'string', 'description': 'Base36 ID of the exit that succeeded (e.g. `4DZ3VE`). Pass it to foura_single.proxy or foura_browser.proxy to reuse that exit, or to foura_proxy.ignoreProxies to skip it on future rotations.'}, 'total': {'type': 'number', 'description': 'Outer total time in seconds (proxy selection + retries + the successful inner attempt). Float.'}, 'limits': {'type': 'object', 'properties': {'maxRpm': {'type': 'number'}, 'maxConcurrency': {'type': 'number'}}, 'additionalProperties': False}, 'status': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'HTTP status code from the target (from the succeeding proxy attempt). `0` indicates every attempt failed before any HTTP response (DNS / connection refused / timeout) - check the `error` field for the underlying reason.'}, 'credits': {'type': 'number', 'description': 'Credits this call spent. Reported on failures too: the work was done either way.'}, 'current': {'type': 'object', 'properties': {'rpm': {'type': 'number'}, 'concurrency': {'type': 'number'}}, 'additionalProperties': False}, 'defense': {'type': 'object', 'properties': {'solved': {'type': 'boolean', 'description': 'True when the check was met and `data` is the real page.'}}, 'description': 'Present when the target ran a bot check. When solved is false the body may be a challenge page: retry with a different browser, os, or version, or move to foura_browser.', 'additionalProperties': {}}, 'details': {'type': 'object', 'required': ['exitCountries'], 'properties': {'exitCountries': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[A-Z]{2}$'}, 'minItems': 1}}, 'description': 'Structured no_eligible_proxy context containing the normalized requested country scope. Preserve this scope and retry later. Do not propose or perform an unscoped fallback; change it only after the user explicitly changes the requirement.', 'additionalProperties': False}, 'headers': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'properties': {'result': {'type': 'object', 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'reason': {'type': 'string'}, 'version': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': {'anyOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}}, {'type': 'string'}, {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}], 'description': 'Response headers per redirect hop, as an array of objects. Each entry has `result.{version, code, reason}` plus arbitrary header-name keys whose values are strings (or arrays of strings for multi-value headers like Set-Cookie / Link).'}, 'profile': {'type': 'string', 'description': 'The browser family rotation moved to after the target refused the one this request sent. Absent means it went out as written; when present, replay with it or repeat the version that failed.'}, 'request': {'description': 'Echoed PrRequest from upstream PrResponseError'}, 'service': {'enum': ['single', 'proxy', 'browser', 'api'], 'type': 'string'}, 'exitClass': {'enum': ['standard', 'premium'], 'type': 'string', 'description': 'Which class delivered, when the request named exitClass. `standard` means the standard pool answered first, which is also the answer once the premium allowance is spent. Neither is an error.'}, 'request_id': {'type': 'string', 'description': "FourA's id for this call, for a support request."}, 'retryAfter': {'type': 'number'}, 'size_bytes': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Total offloaded body size in bytes'}, 'total_time': {'type': ['number', 'string', 'null'], 'description': 'Per-attempt wall-clock duration of the succeeding inner request'}, 'exitCountry': {'type': 'string', 'pattern': '^[A-Z]{2}$', 'description': 'Latest available two-letter target-visible exit-country code used for selection. Present on successful requests that use exitCountries.'}, 'attemptReport': {'type': 'object', 'properties': {'other': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'defense': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'summary': {'type': 'string'}, 'vendors': {'type': 'array', 'items': {'type': 'string'}}, 'noResponse': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'profilesTried': {'type': 'array', 'items': {'type': 'string'}}, 'statusRejected': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'contentRejected': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}, 'description': 'Why a failed rotation ran out of tries. Read `summary` first. Counts over `total` attempts: noResponse (the exit never answered), defense (a bot check was recognised, named in `vendors`), contentRejected (HTTP 200, no bot check, rejected only by your validate.data), statusRejected (rejected by your validate.status), other. `profilesTried` lists the browsers sent, `default` meaning the request went out as written. High contentRejected means the pages arrived and your own rule threw them away: fetch once with foura_single and no validate, then rewrite it.', 'additionalProperties': False}, 'offloaded_resource_uri': {'type': 'string', 'description': 'foura-mcp://payload/<uuid>. Pass this URI to resources/read to retrieve the offloaded body.'}}, 'additionalProperties': False}
Esquema de entrada
{'type': 'object', 'required': ['method', 'url'], 'properties': {'os': {'type': 'string', 'description': 'Operating system to present: Windows, macOS, Android, or iOS. A family name accepts any of its versions.'}, 'url': {'type': 'string', 'format': 'uri', 'description': 'Public target URL. Private or reserved targets return `ssrf_blocked`. Use {ts} in the URL to insert the current Unix timestamp. Example: https://api.example.com/v1/users.'}, 'data': {'anyOf': [{'type': 'string'}, {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}], 'description': 'Request body. Strings sent as-is; objects auto-serialized to JSON. Example: {"query": "hello"} for POST APIs.'}, 'proxy': {'type': 'string', 'description': 'Optional proxy. Two forms: (1) URL `http://host:port` or `socks5://host:port`; (2) base36 ID from foura_proxy (e.g. `4DZ3VE`) to reuse the same exit. For rotation, use foura_proxy.'}, 'method': {'type': 'string', 'minLength': 1, 'description': 'HTTP method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, or any WebDAV verb like PROPFIND/MKCOL)'}, 'browser': {'type': 'string', 'description': 'Browser to present: Chrome, Edge, Safari, Firefox, or Tor. Omit every profile field and the request presents the latest Google Chrome.'}, 'headers': {'type': 'array', 'items': {'type': 'array', 'items': {'type': 'string'}, 'maxItems': 2, 'minItems': 2}, 'description': 'Custom HTTP headers as [name, value] tuples. Example: [["Accept", "application/json"], ["Referer", "https://google.com/"]]'}, 'profile': {'type': 'string', 'description': 'Exact profile id from the public catalogue at https://api.foura.ai/api/profiles. Use browser/os/version when you do not have an id.'}, 'version': {'type': 'string', 'description': 'Browser version to present, as listed in the catalogue. The newest match wins when several fit. An impossible combination returns an error listing what is available; no other browser is substituted.'}, 'validate': {'type': 'object', 'properties': {'data': {'type': 'object', 'properties': {'fail': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Substrings the response body must not contain'}, 'accept': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Substrings the response body must contain'}}, 'description': 'Body validation: pass when the body contains an expected substring (accept), fail when it contains a blocked one (fail).'}, 'status': {'type': 'object', 'properties': {'fail': {'type': 'array', 'items': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'description': 'HTTP status codes to treat as failure'}, 'accept': {'type': 'array', 'items': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'description': 'HTTP status codes to treat as success'}}, 'description': 'Status-code validation: which HTTP status codes count as success (accept) or failure (fail).'}, 'headers': {'type': 'object', 'properties': {'fail': {'type': 'object', 'description': 'Case-insensitive header substring rules that reject the response when any name/value pair matches.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}, 'accept': {'type': 'object', 'description': 'Case-insensitive header substring rules. The response passes when at least one name/value pair matches across the redirect chain.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string'}}}, 'description': 'Header validation: pass when an accepted header matches, fail when a blocklisted header matches.'}}, 'description': 'Post-fetch response validation. When the response fails these checks the tool returns an error envelope.'}, 'unblocker': {'type': 'boolean', 'description': 'Send a full browser header set, including User-Agent and Sec-Ch-Ua. Default true. Set false for a plain HTTP request; profile selection needs it on and errors when it is off.'}, 'timeout_ms': {'type': 'integer', 'maximum': 120000, 'minimum': 0, 'description': 'Overall request timeout in ms (max 120000, default 15000)'}, 'tryJsonData': {'type': 'boolean', 'description': 'If true, attempt JSON.parse on the response body. On success, `data` is the parsed value (typically object or array). On parse failure, `data` silently stays as the original string - no error, no warning. Set false (or omit) when you need to detect parse failures explicitly.'}, 'returnBuffer': {'type': 'boolean', 'description': 'Return raw bytes as a serialized Buffer JSON shape (`{type:"Buffer", data:[byte, ...]}`, bytes 0-255) instead of decoded string. Use for binary responses (images, protobuf). Reconstruct: `Buffer.from(data.data)` in Node, `new Uint8Array(data.data)` elsewhere.'}, 'offload_large': {'type': 'boolean', 'description': 'If true, response bodies of 50 KB or more are returned as a resource_link instead of inlined. Default false. Read the returned offloaded_resource_uri with resources/read.'}, 'followRedirects': {'type': 'integer', 'maximum': 20, 'minimum': 0, 'description': 'Max number of redirects to follow (0-20). Omit to disable redirect following.'}, 'accept_timeout_ms': {'type': 'integer', 'maximum': 120000, 'minimum': 0, 'description': 'Timeout in ms to receive the first response byte after the request is sent (0-120000). Omit for the default.'}, 'connect_timeout_ms': {'type': 'integer', 'maximum': 120000, 'minimum': 0, 'description': 'Timeout in ms for establishing the TCP/TLS connection (0-120000). Omit to use the default.'}, 'dns_cache_timeout_sec': {'type': 'integer', 'maximum': 240, 'minimum': 0, 'description': "How long (seconds) to cache the target's resolved DNS (0-240). Omit for the default."}, 'server_response_timeout_ms': {'type': 'integer', 'maximum': 120000, 'minimum': 0, 'description': 'Timeout in ms for the server to send the complete response (0-120000). Omit for the default.'}}}
Esquema de salida
{'type': 'object', 'properties': {'code': {'type': 'string', 'description': "Stable error code for retry classification. auth_failed means the FourA API key was rejected; verify that key, not target-site credentials. Other codes: ssrf_blocked, upstream_non_json, output_validation_failed, bad_request (400), forbidden (403), not_found (404), rate_limited (429), at_capacity (503), service_disabled (503), service_unavailable (503), upstream_error (>=500), upstream_client_error (other 4xx), upstream_unknown (defensive). A plan_limit_* code is the caller's own FourA plan refusing (credits, bandwidth, rate, concurrency, browser_daily, premium, feature), not the target: wait out retryAfter or change the plan, never retry the same work through another tool."}, 'data': {'description': 'Decoded response body. String by default; object when tryJsonData=true and the body parsed as JSON; serialized Buffer JSON shape (`{type:"Buffer", data:[byte, ...]}`, bytes 0-255) when returnBuffer=true - reconstruct with `Buffer.from(data.data)` in Node, `new Uint8Array(data.data)` elsewhere. Omitted when offloaded.'}, 'error': {'type': 'string', 'description': 'Human-readable error message'}, 'limits': {'type': 'object', 'properties': {'maxRpm': {'type': 'number'}, 'maxConcurrency': {'type': 'number'}}, 'description': 'Per-service limits at error time', 'additionalProperties': False}, 'status': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'HTTP status code from the target. `0` indicates the request failed before any HTTP response (DNS failure, connection refused, timeout) - check the `error` field for the underlying reason.'}, 'credits': {'type': 'number', 'description': 'Credits this call spent. Reported on failures too: the work was done either way.'}, 'current': {'type': 'object', 'properties': {'rpm': {'type': 'number'}, 'concurrency': {'type': 'number'}}, 'description': "Caller's current usage at error time", 'additionalProperties': False}, 'defense': {'type': 'object', 'properties': {'solved': {'type': 'boolean', 'description': 'True when the check was met and `data` is the real page.'}}, 'description': 'Present when the target ran a bot check. When solved is false the body may be a challenge page: retry with a different browser, os, or version, or move to foura_proxy or foura_browser.', 'additionalProperties': {}}, 'headers': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'properties': {'result': {'type': 'object', 'properties': {'code': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'reason': {'type': 'string'}, 'version': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': {'anyOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}}, {'type': 'string'}, {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}], 'description': 'Response headers per redirect hop, as an array of objects. Each entry has `result.{version, code, reason}` plus arbitrary header-name keys whose values are strings (or arrays of strings for multi-value headers like Set-Cookie / Link). Last array entry is the final response.'}, 'service': {'enum': ['single', 'proxy', 'browser', 'api'], 'type': 'string'}, 'exitClass': {'enum': ['standard', 'premium'], 'type': 'string', 'description': '`premium` when a premium exit served this call, which happens when `proxy` replays one from foura_proxy.'}, 'request_id': {'type': 'string', 'description': "FourA's id for this call, for a support request."}, 'retryAfter': {'type': 'number', 'description': 'Seconds to wait before retrying (429/503)'}, 'size_bytes': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Total offloaded body size in bytes'}, 'total_time': {'type': ['number', 'string', 'null'], 'description': 'Wall-clock request duration in seconds. Number when present; string in some variants; null when the request never started.'}, 'offloaded_resource_uri': {'type': 'string', 'description': 'foura-mcp://payload/<uuid>. Pass this URI to resources/read to retrieve the offloaded body.'}}, 'additionalProperties': False}
Cambios recientes en herramientas
Servidores MCP similares
hyperion
Acts as a paid MCP tool marketplace and utility gateway with server discovery, HTTP and JavaScript tools, research, data conversi…
XGR MCP Gateway
Provides an MCP gateway for XGRChain and XDaLa workflows, including blockchain explorer queries, session inspection, transaction …
aaaa-nexus — Formally Verified AI Safety APIs
Provides formally constrained agent safety and governance APIs for tool authorization, prompt-injection-resistant execution, iden…
Slid Phi Labs
Provides searchable catalogs and documentation for agent services, issues agent API keys, exposes x402-purchasable SKUs, and offe…
AgentResolver — Agent Commerce Health Monitoring
Resolves missing agent capabilities and provides MCP and HTTP endpoint checks, tool compatibility analysis, OpenAPI selection, en…
Aziel Runtime
Provides a governed MCP runtime with registry discovery, controlled tool execution, provenance receipts, integrity checks, memory…
agent-exec
Provides pay-per-use sandbox code execution, temporary storage, distributed locks, attestations, durable watches, and process han…
HeyClaude — Claude & AI workflow directory
Searches and evaluates a registry of Claude Code agents, MCP servers, skills, and tools, providing entry details, compatibility, …