MCP 服务器

Agent Rescue

io.github.santismm/agent-rescue
MCP 与智能体基础设施 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Provides cross-session idempotency checks, schema-validated URL fetching, and recording of unavailable agent capabilities.

check_and_claim
Check and claim
Atomically check whether an action identified by a key was already performed, and claim it if not. Use it before performing a non-idempotent action that may have completed in an earlier attempt (a payment, a message, a write), or when you need to remember something across sessions. Returns 'claimed' if you are first and 'already_done' if not. Do not use it as a general data store or as a result cache.
输入模式
{'type': 'object', 'required': ['key'], 'properties': {'key': {'type': 'string', 'description': "Stable identifier for the action, e.g. 'invoice-2026-07-A491:pay'."}, 'metadata': {'type': 'object', 'description': 'Small payload returned alongside the claim. Do not include secrets.'}, 'ttl_seconds': {'type': 'integer', 'description': 'How long the claim lasts, in seconds. Default 86400 (1 day), max 30 days.'}}, 'additionalProperties': False}
fetch_structured
Fetch a URL as structured JSON
Fetch a public URL and return its content as JSON validated against the schema you pass. Use it when you need data from a page and cannot parse it reliably yourself. Do not use it for URLs requiring authentication or a session, for internal networks, or when you already have the content — extract it yourself in that case. `extracted_by` tells you where the answer came from: `structured_data` when the page already published it (JSON-LD, OpenGraph, or a JSON body — exact and free) or `model` when it had to be extracted from the text. If structured extraction is unavailable, the response carries `degraded: true`, `data: null` and the page `text` for you to parse: check `degraded` before reading `data`.
输入模式
{'type': 'object', 'required': ['url', 'schema'], 'properties': {'url': {'type': 'string', 'description': 'Public http(s) URL.'}, 'schema': {'type': 'object', 'description': 'JSON Schema of the object you want back. Missing fields come back as null.'}, 'instructions': {'type': 'string', 'description': 'Optional. What exactly to look for if the page is ambiguous.'}}, 'additionalProperties': False}
request_capability
Request a capability that does not exist
Record a specific need that none of the tools available to you can cover. Today it almost always answers that the capability is unavailable, and suggests alternatives only when they genuinely exist; its purpose is to measure what agents ask for and nobody serves. Use it when you are blocked by a missing capability — not for general questions, and not for anything you can work out by reasoning.
输入模式
{'type': 'object', 'required': ['need'], 'properties': {'need': {'type': 'string', 'description': 'What exactly you need, in one or two sentences. Do not include personal data.'}, 'context': {'type': 'string', 'description': 'Optional. What you tried and why it did not work.'}, 'deadline': {'type': 'string', 'description': 'Optional. ISO 8601.'}, 'would_pay': {'type': 'boolean', 'description': 'Optional. Whether your policy allows paying to get this solved. Answer honestly: a false answer unlocks nothing and degrades the measurement.'}}, 'additionalProperties': False}
已添加
request_capability
2026年9月17日 12:52
已添加
fetch_structured
2026年9月17日 12:52
已添加
check_and_claim
2026年9月17日 12:52