Ausca
Pay-per-call APIs and MCP services for agents, no accounts or keys, with verifiable receipts.
我该使用它吗
质量与安全性
发现(3)
- LOW在 ausca_browser_session_status 中
- LOW在 ausca_get_offer 中
- LOW在 ausca_browser_session_status 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"agent-services": {
"command": "npx",
"args": [
"ausca"
]
}
}
}可运行的软件包
0.1.0stdio远程端点
https://ausca.com/mcpstreamable-http它能做什么
工具清单
工具(14)
🟢ausca_agent_inbox_attachment(attachment_id, idempotency_key, inbox_id, message_id)
For an active inbox, return an idempotent download URL only when the exact stored attachment has a clean safety verdict. The URL expires after at most 60 seconds and never after inbox expiry; a clean verdict does not make the attachment content trusted. Supply the lease bearer on the HTTP or MCP transport; never place it in tool arguments.
输入模式
{
"type": "object",
"properties": {
"attachment_id": {
"$ref": "#/$defs/AgentInboxAttachmentID"
},
"idempotency_key": {
"$ref": "#/$defs/IdempotencyKey"
},
"inbox_id": {
"$ref": "#/$defs/AgentInboxID"
},
"message_id": {
"$ref": "#/$defs/AgentInboxMessageID"
}
},
"required": [
"inbox_id",
"message_id",
"attachment_id",
"idempotency_key"
],
"$defs": {
"AgentInboxAttachmentID": {
"pattern": "^att_[A-Za-z0-9_-]{22,64}$",
"type": "string"
},
"AgentInboxID": {
"pattern": "^inb_[A-Za-z0-9_-]{22,64}$",
"type": "string"
},
"AgentInboxMessageID": {
"pattern": "^msg_[A-Za-z0-9_-]{22,64}$",
"type": "string"
},
"IdempotencyKey": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[^\\s\\x00-\\x1F\\x7F](?:[^\\x00-\\x1F\\x7F]*[^\\s\\x00-\\x1F\\x7F])?$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:CreateAgentInboxAttachmentAccess:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"attachment": {
"$ref": "#/$defs/AgentInboxAttachmentAccess"
},
"status": {
"const": "ready"
}
},
"required": [
"status",
"attachment"
],
"$defs": {
"AgentInboxAttachmentAccess": {
"additionalProperties": false,
"properties": {
"download_url": {
"format": "uri",
"maxLength": 2048,
"minLength": 1,
"pattern": "^https://inbox\\.ausca\\.com/",
"type": "string"
},
"expires_at": {
"format": "date-time",
"type": "string"
},
"filename": {
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"media_type": {
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"size_bytes": {
"maximum": 10485760,
"minimum": 1,
"type": "integer"
}
},
"required": [
"download_url",
"expires_at",
"filename",
"media_type",
"size_bytes"
],
"type": "object"
}
},
"$id": "urn:ausca:mcp:CreateAgentInboxAttachmentAccess:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🔴ausca_agent_inbox_delete(inbox_id)
Idempotently stop inbound visibility and delete retained message and attachment content for one inbox lease, including an already-terminal lease. Supply the lease bearer on the HTTP or MCP transport; never place it in tool arguments.
输入模式
{
"type": "object",
"properties": {
"inbox_id": {
"$ref": "#/$defs/AgentInboxID"
}
},
"required": [
"inbox_id"
],
"$defs": {
"AgentInboxID": {
"pattern": "^inb_[A-Za-z0-9_-]{22,64}$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:DeleteAgentInbox:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"inbox": {
"$ref": "#/$defs/AgentInbox"
},
"status": {
"enum": [
"deleted",
"already_terminal"
],
"type": "string"
}
},
"required": [
"status",
"inbox"
],
"$defs": {
"AgentInbox": {
"additionalProperties": false,
"properties": {
"address": {
"format": "email",
"maxLength": 320,
"minLength": 3,
"pattern": "^[A-Za-z0-9!#$%&'*+/=?^_{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_{|}~-]+)*@[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+$",
"type": "string"
},
"created_at": {
"format": "date-time",
"type": "string"
},
"deleted_at": {
"format": "date-time",
"type": "string"
},
"expires_at": {
"format": "date-time",
"type": "string"
},
"inbox_id": {
"$ref": "#/$defs/AgentInboxID"
},
"state": {
"enum": [
"active",
"deleting",
"deleted",
"expired"
],
"type": "string"
}
},
"required": [
"inbox_id",
"address",
"state",
"created_at",
"expires_at"
],
"type": "object"
},
"AgentInboxID": {
"pattern": "^inb_[A-Za-z0-9_-]{22,64}$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:DeleteAgentInbox:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢ausca_agent_inbox_messages(after, inbox_id, wait_seconds)
For an active inbox, return at most 50 normalized message summaries after an opaque inbox-bound cursor, optionally waiting up to 30 seconds for a newer message. A bounded wait may return an empty page and continuation cursor. Supply the lease bearer on the HTTP or MCP transport; never place it in tool arguments.
输入模式
{
"type": "object",
"properties": {
"after": {
"$ref": "#/$defs/InboxCursor"
},
"inbox_id": {
"$ref": "#/$defs/AgentInboxID"
},
"wait_seconds": {
"$ref": "#/$defs/InboxWaitSeconds"
}
},
"required": [
"inbox_id"
],
"$defs": {
"AgentInboxID": {
"pattern": "^inb_[A-Za-z0-9_-]{22,64}$",
"type": "string"
},
"InboxCursor": {
"description": "Opaque continuation bound to one inbox. Callers must not construct or modify it.",
"pattern": "^cur_[A-Za-z0-9_-]{22,171}$",
"type": "string"
},
"InboxWaitSeconds": {
"default": 0,
"maximum": 30,
"minimum": 0,
"type": "integer"
}
},
"$id": "urn:ausca:mcp:ListAgentInboxMessages:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"cursor": {
"$ref": "#/$defs/InboxCursor"
},
"messages": {
"items": {
"$ref": "#/$defs/AgentInboxMessageSummary"
},
"maxItems": 50,
"type": "array"
},
"status": {
"const": "ok"
}
},
"required": [
"status",
"messages",
"cursor"
],
"$defs": {
"AgentInboxMessageID": {
"pattern": "^msg_[A-Za-z0-9_-]{22,64}$",
"type": "string"
},
"AgentInboxMessageSummary": {
"additionalProperties": false,
"properties": {
"attachment_count": {
"maximum": 20,
"minimum": 0,
"type": "integer"
},
"cursor": {
"$ref": "#/$defs/InboxCursor"
},
"from": {
"$ref": "#/$defs/MailboxAddress"
},
"message_id": {
"$ref": "#/$defs/AgentInboxMessageID"
},
"received_at": {
"description": "Server-observed ingress time. Never derived from the sender-controlled Date header.",
"format": "date-time",
"type": "string"
},
"subject": {
"maxLength": 998,
"type": "string"
},
"to": {
"items": {
"$ref": "#/$defs/MailboxAddress"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
}
},
"required": [
"message_id",
"cursor",
"from",
"to",
"subject",
"received_at",
"attachment_count"
],
"type": "object"
},
"InboxCursor": {
"description": "Opaque continuation bound to one inbox. Callers must not construct or modify it.",
"pattern": "^cur_[A-Za-z0-9_-]{22,171}$",
"type": "string"
},
"MailboxAddress": {
"additionalProperties": false,
"properties": {
"address": {
"format": "email",
"maxLength": 320,
"minLength": 3,
"pattern": "^[A-Za-z0-9!#$%&'*+/=?^_{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_{|}~-]+)*@[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+$",
"type": "string"
},
"name": {
"maxLength": 256,
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
}
},
"$id": "urn:ausca:mcp:ListAgentInboxMessages:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢ausca_agent_inbox_read(inbox_id, message_id)
For an active inbox, return one bounded normalized message. Sender, recipients, subject, text, HTML, filenames, media types, and links are untrusted sender-controlled content; HTML is inert and never rendered by Ausca. Supply the lease bearer on the HTTP or MCP transport; never place it in tool arguments.
输入模式
{
"type": "object",
"properties": {
"inbox_id": {
"$ref": "#/$defs/AgentInboxID"
},
"message_id": {
"$ref": "#/$defs/AgentInboxMessageID"
}
},
"required": [
"inbox_id",
"message_id"
],
"$defs": {
"AgentInboxID": {
"pattern": "^inb_[A-Za-z0-9_-]{22,64}$",
"type": "string"
},
"AgentInboxMessageID": {
"pattern": "^msg_[A-Za-z0-9_-]{22,64}$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:GetAgentInboxMessage:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"message": {
"$ref": "#/$defs/AgentInboxMessage"
},
"status": {
"const": "ok"
}
},
"required": [
"status",
"message"
],
"$defs": {
"AgentInboxAttachment": {
"additionalProperties": false,
"properties": {
"attachment_id": {
"$ref": "#/$defs/AgentInboxAttachmentID"
},
"filename": {
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"media_type": {
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"safety": {
"enum": [
"clean",
"blocked"
],
"type": "string"
},
"size_bytes": {
"maximum": 10485760,
"minimum": 1,
"type": "integer"
}
},
"required": [
"attachment_id",
"filename",
"media_type",
"size_bytes",
"safety"
],
"type": "object"
},
"AgentInboxAttachmentID": {
"pattern": "^att_[A-Za-z0-9_-]{22,64}$",
"type": "string"
},
"AgentInboxMessage": {
"additionalProperties": false,
"properties": {
"attachment_count": {
"maximum": 20,
"minimum": 0,
"type": "integer"
},
"attachments": {
"items": {
"$ref": "#/$defs/AgentInboxAttachment"
},
"maxItems": 20,
"type": "array"
},
"cc": {
"items": {
"$ref": "#/$defs/MailboxAddress"
},
"maxItems": 50,
"type": "array"
},
"cursor": {
"$ref": "#/$defs/InboxCursor"
},
"from": {
"$ref": "#/$defs/MailboxAddress"
},
"html": {
"description": "Inert, untrusted message content. Never render without caller-controlled sanitization and isolation.",
"maxLength": 262144,
"type": "string"
},
"message_id": {
"$ref": "#/$defs/AgentInboxMessageID"
},
"received_at": {
"description": "Server-observed ingress time. Never derived from the sender-controlled Date header.",
"format": "date-time",
"type": "string"
},
"reply_to": {
"items": {
"$ref": "#/$defs/MailboxAddress"
},
"maxItems": 10,
"type": "array"
},
"subject": {
"maxLength": 998,
"type": "string"
},
"text": {
"maxLength": 262144,
"type": "string"
},
"to": {
"items": {
"$ref": "#/$defs/MailboxAddress"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
}
},
"required": [
"message_id",
"cursor",
"from",
"to",
"subject",
"received_at",
"attachment_count",
"cc",
"reply_to",
"text",
"html",
"attachments"
],
"type": "object"
},
"AgentInboxMessageID": {
"pattern": "^msg_[A-Za-z0-9_-]{22,64}$",
"type": "string"
},
"InboxCursor": {
"description": "Opaque continuation bound to one inbox. Callers must not construct or modify it.",
"pattern": "^cur_[A-Za-z0-9_-]{22,171}$",
"type": "string"
},
"MailboxAddress": {
"additionalProperties": false,
"properties": {
"address": {
"format": "email",
"maxLength": 320,
"minLength": 3,
"pattern": "^[A-Za-z0-9!#$%&'*+/=?^_{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_{|}~-]+)*@[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+$",
"type": "string"
},
"name": {
"maxLength": 256,
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
}
},
"$id": "urn:ausca:mcp:GetAgentInboxMessage:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢ausca_agent_inbox_status(inbox_id)
Return the random receive-only address, authoritative lease status, and current expiry for one inbox, including terminal status after deletion or expiry. Supply the lease bearer on the HTTP or MCP transport; never place it in tool arguments.
输入模式
{
"type": "object",
"properties": {
"inbox_id": {
"$ref": "#/$defs/AgentInboxID"
}
},
"required": [
"inbox_id"
],
"$defs": {
"AgentInboxID": {
"pattern": "^inb_[A-Za-z0-9_-]{22,64}$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:GetAgentInbox:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"inbox": {
"$ref": "#/$defs/AgentInbox"
},
"status": {
"const": "ok"
}
},
"required": [
"status",
"inbox"
],
"$defs": {
"AgentInbox": {
"additionalProperties": false,
"properties": {
"address": {
"format": "email",
"maxLength": 320,
"minLength": 3,
"pattern": "^[A-Za-z0-9!#$%&'*+/=?^_{|}~-]+(?:\\.[A-Za-z0-9!#$%&'*+/=?^_{|}~-]+)*@[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+$",
"type": "string"
},
"created_at": {
"format": "date-time",
"type": "string"
},
"deleted_at": {
"format": "date-time",
"type": "string"
},
"expires_at": {
"format": "date-time",
"type": "string"
},
"inbox_id": {
"$ref": "#/$defs/AgentInboxID"
},
"state": {
"enum": [
"active",
"deleting",
"deleted",
"expired"
],
"type": "string"
}
},
"required": [
"inbox_id",
"address",
"state",
"created_at",
"expires_at"
],
"type": "object"
},
"AgentInboxID": {
"pattern": "^inb_[A-Za-z0-9_-]{22,64}$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:GetAgentInbox:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢ausca_artifact_access(artifact_ref, idempotency_key)
Return an idempotent, short-lived download URL for one verified artifact this service holds, including a result artifact named by a succeeded invocation's output_artifact. HTTP sends no request body, not even an empty JSON object; artifact_ref is the URL path parameter and Idempotency-Key is a header. The MCP tool instead takes artifact_ref and idempotency_key as tool arguments. The URL expires after at most 60 seconds. The immutable artifact reference is the only authority; verify downloaded bytes against the returned content digest.
输入模式
{
"type": "object",
"properties": {
"artifact_ref": {
"$ref": "#/$defs/ArtifactRef"
},
"idempotency_key": {
"$ref": "#/$defs/IdempotencyKey"
}
},
"required": [
"artifact_ref",
"idempotency_key"
],
"$defs": {
"ArtifactRef": {
"description": "Opaque artifact reference minted by artifact commitment. Relay it unchanged; its form is not part of the contract.",
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"IdempotencyKey": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[^\\s\\x00-\\x1F\\x7F](?:[^\\x00-\\x1F\\x7F]*[^\\s\\x00-\\x1F\\x7F])?$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:CreateArtifactAccess:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"artifact": {
"$ref": "#/$defs/ArtifactAccess"
},
"status": {
"const": "ready"
}
},
"required": [
"status",
"artifact"
],
"$defs": {
"ArtifactAccess": {
"additionalProperties": false,
"properties": {
"artifact_ref": {
"$ref": "#/$defs/ArtifactRef"
},
"content_digest": {
"$ref": "#/$defs/Digest"
},
"created_at": {
"format": "date-time",
"type": "string"
},
"download_url": {
"format": "uri",
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"expires_at": {
"format": "date-time",
"type": "string"
},
"media_type": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"size_bytes": {
"maximum": 26214400,
"minimum": 1,
"type": "integer"
}
},
"required": [
"artifact_ref",
"content_digest",
"media_type",
"size_bytes",
"created_at",
"download_url",
"expires_at"
],
"type": "object"
},
"ArtifactRef": {
"description": "Opaque artifact reference minted by artifact commitment. Relay it unchanged; its form is not part of the contract.",
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"Digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:CreateArtifactAccess:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🔴ausca_browser_session_close(session_id)
Idempotently terminate the CDP relay and upstream browser for one lease. Closing never creates another payment. Supply the lease bearer on the HTTP or MCP transport; never place it in tool arguments.
输入模式
{
"type": "object",
"properties": {
"session_id": {
"$ref": "#/$defs/BrowserSessionID"
}
},
"required": [
"session_id"
],
"$defs": {
"BrowserSessionID": {
"pattern": "^brs_[A-Za-z0-9_-]{22,64}$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:CloseBrowserSession:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"session": {
"$ref": "#/$defs/BrowserSession"
},
"status": {
"enum": [
"closed",
"already_terminal"
],
"type": "string"
}
},
"required": [
"status",
"session"
],
"$defs": {
"BrowserSession": {
"additionalProperties": false,
"properties": {
"closed_at": {
"format": "date-time",
"type": "string"
},
"created_at": {
"format": "date-time",
"type": "string"
},
"expires_at": {
"format": "date-time",
"type": "string"
},
"session_id": {
"$ref": "#/$defs/BrowserSessionID"
},
"state": {
"enum": [
"creating",
"ready",
"closing",
"closed",
"expired",
"failed"
],
"type": "string"
}
},
"required": [
"session_id",
"state",
"created_at",
"expires_at"
],
"type": "object"
},
"BrowserSessionID": {
"pattern": "^brs_[A-Za-z0-9_-]{22,64}$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:CloseBrowserSession:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}⚪ausca_browser_session_connect(idempotency_key, session_id)
Return one single-use Ausca CDP relay URL for a ready lease. The URL expires after 60 seconds, only one CDP connection may be live, and no more than 64 unexpired tickets may coexist. Expired ticket records are compacted, so this is not a lifetime reconnect quota. Supply the lease bearer on the HTTP or MCP transport; never place it in tool arguments. The upstream provider URL and credential are never disclosed.
输入模式
{
"type": "object",
"properties": {
"idempotency_key": {
"$ref": "#/$defs/IdempotencyKey"
},
"session_id": {
"$ref": "#/$defs/BrowserSessionID"
}
},
"required": [
"session_id",
"idempotency_key"
],
"$defs": {
"BrowserSessionID": {
"pattern": "^brs_[A-Za-z0-9_-]{22,64}$",
"type": "string"
},
"IdempotencyKey": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[^\\s\\x00-\\x1F\\x7F](?:[^\\x00-\\x1F\\x7F]*[^\\s\\x00-\\x1F\\x7F])?$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:ConnectBrowserSession:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"connection": {
"$ref": "#/$defs/BrowserConnection"
},
"status": {
"const": "ticket_issued"
}
},
"required": [
"status",
"connection"
],
"$defs": {
"BrowserConnection": {
"additionalProperties": false,
"properties": {
"expires_at": {
"format": "date-time",
"type": "string"
},
"websocket_url": {
"format": "uri",
"maxLength": 2048,
"minLength": 1,
"pattern": "^wss://browser\\.ausca\\.com/",
"type": "string"
}
},
"required": [
"websocket_url",
"expires_at"
],
"type": "object"
}
},
"$id": "urn:ausca:mcp:ConnectBrowserSession:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢ausca_browser_session_status(session_id)
Return authoritative status and expiry for one browser-session lease. The lease capability is supplied by the transport and is never a tool argument or response field.
输入模式
{
"type": "object",
"properties": {
"session_id": {
"$ref": "#/$defs/BrowserSessionID"
}
},
"required": [
"session_id"
],
"$defs": {
"BrowserSessionID": {
"pattern": "^brs_[A-Za-z0-9_-]{22,64}$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:GetBrowserSession:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"session": {
"$ref": "#/$defs/BrowserSession"
},
"status": {
"const": "ok"
}
},
"required": [
"status",
"session"
],
"$defs": {
"BrowserSession": {
"additionalProperties": false,
"properties": {
"closed_at": {
"format": "date-time",
"type": "string"
},
"created_at": {
"format": "date-time",
"type": "string"
},
"expires_at": {
"format": "date-time",
"type": "string"
},
"session_id": {
"$ref": "#/$defs/BrowserSessionID"
},
"state": {
"enum": [
"creating",
"ready",
"closing",
"closed",
"expired",
"failed"
],
"type": "string"
}
},
"required": [
"session_id",
"state",
"created_at",
"expires_at"
],
"type": "object"
},
"BrowserSessionID": {
"pattern": "^brs_[A-Za-z0-9_-]{22,64}$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:GetBrowserSession:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🔴ausca_cancel_invocation(invocation_id)
Request bounded cancellation of one invocation. Cancellation is idempotent, may be refused, and may lose a race with terminal completion.
输入模式
{
"type": "object",
"properties": {
"invocation_id": {
"$ref": "#/$defs/Identifier"
}
},
"required": [
"invocation_id"
],
"$defs": {
"Identifier": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:CancelInvocation:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"$defs": {
"ArtifactEvidence": {
"additionalProperties": false,
"properties": {
"artifact_ref": {
"$ref": "#/$defs/ArtifactRef"
},
"content_digest": {
"$ref": "#/$defs/Digest"
},
"created_at": {
"format": "date-time",
"type": "string"
},
"media_type": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"size_bytes": {
"maximum": 26214400,
"minimum": 1,
"type": "integer"
}
},
"required": [
"artifact_ref",
"content_digest",
"media_type",
"size_bytes",
"created_at"
],
"type": "object"
},
"ArtifactRef": {
"description": "Opaque artifact reference minted by artifact commitment. Relay it unchanged; its form is not part of the contract.",
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"Digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"type": "string"
},
"Identifier": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
},
"InvocationFailure": {
"additionalProperties": false,
"properties": {
"code": {
"maxLength": 96,
"minLength": 1,
"type": "string"
},
"message": {
"maxLength": 500,
"minLength": 1,
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"InvocationState": {
"additionalProperties": false,
"properties": {
"failure": {
"$ref": "#/$defs/InvocationFailure"
},
"invocation_id": {
"$ref": "#/$defs/Identifier"
},
"offer_revision_digest": {
"$ref": "#/$defs/Digest"
},
"output": {},
"output_artifact": {
"$ref": "#/$defs/ArtifactEvidence"
},
"output_digest": {
"$ref": "#/$defs/Digest"
},
"receipt_ref": {
"$ref": "#/$defs/ReceiptReference"
},
"state": {
"enum": [
"admitted",
"running",
"succeeded",
"failed",
"cancellation_requested",
"cancelled"
],
"type": "string"
},
"updated_at": {
"format": "date-time",
"type": "string"
}
},
"required": [
"invocation_id",
"offer_revision_digest",
"state",
"updated_at"
],
"type": "object"
},
"ReceiptReference": {
"additionalProperties": false,
"properties": {
"public_url": {
"description": "Unguessable public verification page for the privacy-bounded hash-only proof. It reveals the receipt digest, service, public price, and completion time, but not input bytes, output bytes, or their content digests.",
"format": "uri",
"maxLength": 2048,
"pattern": "^https://[^?#]+/r/[a-f0-9]{64}$",
"type": "string"
},
"type": {
"const": "receipt"
},
"uri": {
"description": "Opaque receipt identity minted by the notary. Relay it unchanged; its form is not part of the contract.",
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
"required": [
"type",
"uri"
],
"type": "object"
},
"RefusedResult": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"offer_unavailable",
"schema_mismatch",
"quote_expired",
"terms_changed",
"replay_conflict",
"payment_authority_required",
"payment_not_authorized",
"capacity_unavailable",
"not_found",
"cancellation_not_available",
"artifact_gone"
],
"type": "string"
},
"reason": {
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"status": {
"const": "refused"
}
},
"required": [
"status",
"code",
"reason"
],
"type": "object"
}
},
"$id": "urn:ausca:mcp:CancelInvocation:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"additionalProperties": false,
"properties": {
"invocation": {
"$ref": "#/$defs/InvocationState"
},
"status": {
"enum": [
"cancellation_requested"
],
"type": "string"
}
},
"required": [
"status",
"invocation"
],
"type": "object"
},
{
"$ref": "#/$defs/RefusedResult"
}
]
}🟢ausca_get_invocation(invocation_id)
Read the authoritative durable state, output commitment, and receipt reference for one invocation without creating a new purchase or retry identity.
输入模式
{
"type": "object",
"properties": {
"invocation_id": {
"$ref": "#/$defs/Identifier"
}
},
"required": [
"invocation_id"
],
"$defs": {
"Identifier": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:GetInvocation:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"$defs": {
"ArtifactEvidence": {
"additionalProperties": false,
"properties": {
"artifact_ref": {
"$ref": "#/$defs/ArtifactRef"
},
"content_digest": {
"$ref": "#/$defs/Digest"
},
"created_at": {
"format": "date-time",
"type": "string"
},
"media_type": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"size_bytes": {
"maximum": 26214400,
"minimum": 1,
"type": "integer"
}
},
"required": [
"artifact_ref",
"content_digest",
"media_type",
"size_bytes",
"created_at"
],
"type": "object"
},
"ArtifactRef": {
"description": "Opaque artifact reference minted by artifact commitment. Relay it unchanged; its form is not part of the contract.",
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"Digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"type": "string"
},
"Identifier": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
},
"InvocationFailure": {
"additionalProperties": false,
"properties": {
"code": {
"maxLength": 96,
"minLength": 1,
"type": "string"
},
"message": {
"maxLength": 500,
"minLength": 1,
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"InvocationState": {
"additionalProperties": false,
"properties": {
"failure": {
"$ref": "#/$defs/InvocationFailure"
},
"invocation_id": {
"$ref": "#/$defs/Identifier"
},
"offer_revision_digest": {
"$ref": "#/$defs/Digest"
},
"output": {},
"output_artifact": {
"$ref": "#/$defs/ArtifactEvidence"
},
"output_digest": {
"$ref": "#/$defs/Digest"
},
"receipt_ref": {
"$ref": "#/$defs/ReceiptReference"
},
"state": {
"enum": [
"admitted",
"running",
"succeeded",
"failed",
"cancellation_requested",
"cancelled"
],
"type": "string"
},
"updated_at": {
"format": "date-time",
"type": "string"
}
},
"required": [
"invocation_id",
"offer_revision_digest",
"state",
"updated_at"
],
"type": "object"
},
"ReceiptReference": {
"additionalProperties": false,
"properties": {
"public_url": {
"description": "Unguessable public verification page for the privacy-bounded hash-only proof. It reveals the receipt digest, service, public price, and completion time, but not input bytes, output bytes, or their content digests.",
"format": "uri",
"maxLength": 2048,
"pattern": "^https://[^?#]+/r/[a-f0-9]{64}$",
"type": "string"
},
"type": {
"const": "receipt"
},
"uri": {
"description": "Opaque receipt identity minted by the notary. Relay it unchanged; its form is not part of the contract.",
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
"required": [
"type",
"uri"
],
"type": "object"
},
"RefusedResult": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"offer_unavailable",
"schema_mismatch",
"quote_expired",
"terms_changed",
"replay_conflict",
"payment_authority_required",
"payment_not_authorized",
"capacity_unavailable",
"not_found",
"cancellation_not_available",
"artifact_gone"
],
"type": "string"
},
"reason": {
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"status": {
"const": "refused"
}
},
"required": [
"status",
"code",
"reason"
],
"type": "object"
}
},
"$id": "urn:ausca:mcp:GetInvocation:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"additionalProperties": false,
"properties": {
"invocation": {
"$ref": "#/$defs/InvocationState"
},
"status": {
"const": "ok"
}
},
"required": [
"status",
"invocation"
],
"type": "object"
},
{
"$ref": "#/$defs/RefusedResult"
}
]
}🟢ausca_get_offer(offer_id, revision_digest)
Resolve one active offer or an exact immutable revision, including the schema and revision digests required to construct a valid invocation envelope.
输入模式
{
"type": "object",
"properties": {
"offer_id": {
"$ref": "#/$defs/Identifier"
},
"revision_digest": {
"$ref": "#/$defs/Digest"
}
},
"required": [
"offer_id"
],
"$defs": {
"Digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"type": "string"
},
"Identifier": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:GetOffer:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"offer": {
"$ref": "#/$defs/OfferSummary"
},
"status": {
"const": "ok"
}
},
"required": [
"status",
"offer"
],
"$defs": {
"Digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"type": "string"
},
"Identifier": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
},
"OfferSummary": {
"additionalProperties": false,
"properties": {
"catalog_url": {
"const": "/catalog.json",
"type": "string"
},
"description": {
"maxLength": 2000,
"type": "string"
},
"input_schema_digest": {
"$ref": "#/$defs/Digest"
},
"input_schema_url": {
"format": "uri-reference",
"type": "string"
},
"offer_id": {
"$ref": "#/$defs/Identifier"
},
"offer_revision": {
"$ref": "#/$defs/Identifier"
},
"offer_revision_digest": {
"$ref": "#/$defs/Digest"
},
"output_schema_digest": {
"$ref": "#/$defs/Digest"
},
"output_schema_url": {
"format": "uri-reference",
"type": "string"
},
"route": {
"additionalProperties": false,
"properties": {
"method": {
"const": "POST"
},
"path": {
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
"required": [
"method",
"path"
],
"type": "object"
},
"title": {
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"offer_id",
"offer_revision",
"offer_revision_digest",
"input_schema_digest",
"output_schema_digest",
"title",
"route",
"input_schema_url",
"output_schema_url",
"catalog_url"
],
"type": "object"
}
},
"$id": "urn:ausca:mcp:GetOffer:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}⚪ausca_prepare_invocation(attribution, idempotency_key, input, input_schema_digest, offer_id, ...)
Validate one exact invocation envelope and return immutable preparation terms or a typed refusal. Preparation never accepts payment material from model-authored tool arguments.
输入模式
{
"type": "object",
"properties": {
"attribution": {
"additionalProperties": false,
"properties": {
"campaign": {
"maxLength": 128,
"pattern": "^[a-z0-9][a-z0-9._-]{0,127}$",
"type": "string"
},
"source": {
"maxLength": 64,
"pattern": "^[a-z0-9][a-z0-9._-]{0,63}$",
"type": "string"
}
},
"required": [
"source"
],
"type": "object"
},
"idempotency_key": {
"maxLength": 128,
"minLength": 16,
"type": "string"
},
"input": {},
"input_schema_digest": {
"$ref": "#/$defs/Digest"
},
"offer_id": {
"$ref": "#/$defs/Identifier"
},
"offer_revision": {
"$ref": "#/$defs/Identifier"
},
"offer_revision_digest": {
"$ref": "#/$defs/Digest"
},
"output_schema_digest": {
"$ref": "#/$defs/Digest"
},
"parent_binding": {
"$ref": "#/$defs/ParentBinding"
}
},
"required": [
"offer_id",
"offer_revision",
"offer_revision_digest",
"input_schema_digest",
"output_schema_digest",
"input",
"idempotency_key"
],
"$defs": {
"Digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"type": "string"
},
"Identifier": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
},
"ParentBinding": {
"additionalProperties": false,
"properties": {
"execution_digest": {
"$ref": "#/$defs/Digest"
},
"invocation_id": {
"$ref": "#/$defs/Identifier"
}
},
"required": [
"invocation_id",
"execution_digest"
],
"type": "object"
}
},
"$id": "urn:ausca:mcp:PrepareInvocation:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"$defs": {
"Digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"type": "string"
},
"Identifier": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
},
"PaymentChallenge": {
"additionalProperties": false,
"properties": {
"media_type": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"payload": {},
"payload_digest": {
"$ref": "#/$defs/Digest"
},
"protocol_version": {
"maxLength": 32,
"minLength": 1,
"type": "string"
},
"quote_expires_at": {
"format": "date-time",
"type": "string"
},
"quote_ref": {
"$ref": "#/$defs/Identifier"
},
"settlement_family": {
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"settlement_family",
"protocol_version",
"media_type",
"payload",
"payload_digest",
"quote_ref",
"quote_expires_at"
],
"type": "object"
},
"PreparedInvocation": {
"additionalProperties": false,
"properties": {
"challenge": {
"$ref": "#/$defs/PaymentChallenge"
},
"invocation_id": {
"$ref": "#/$defs/Identifier"
},
"status": {
"const": "prepared"
}
},
"required": [
"status",
"invocation_id",
"challenge"
],
"type": "object"
},
"RefusedResult": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"offer_unavailable",
"schema_mismatch",
"quote_expired",
"terms_changed",
"replay_conflict",
"payment_authority_required",
"payment_not_authorized",
"capacity_unavailable",
"not_found",
"cancellation_not_available",
"artifact_gone"
],
"type": "string"
},
"reason": {
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"status": {
"const": "refused"
}
},
"required": [
"status",
"code",
"reason"
],
"type": "object"
}
},
"$id": "urn:ausca:mcp:PrepareInvocation:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"$ref": "#/$defs/PreparedInvocation"
},
{
"$ref": "#/$defs/RefusedResult"
}
]
}🟢ausca_search_offers(cursor, limit, q)
Search the current immutable Ausca offer catalog by free-text query. Returns stable offer identities and revision digests without creating product or payment state.
输入模式
{
"type": "object",
"properties": {
"cursor": {
"$ref": "#/$defs/CatalogCursor"
},
"limit": {
"$ref": "#/$defs/SearchLimit"
},
"q": {
"$ref": "#/$defs/SearchQuery"
}
},
"$defs": {
"CatalogCursor": {
"description": "Opaque, catalog-snapshot-bound continuation. Callers must not construct or modify it.",
"maxLength": 512,
"minLength": 1,
"pattern": "^ausca:catalog-cursor:v1:[a-f0-9]{64}:[a-f0-9]{64}:[A-Za-z0-9_-]{2,171}$",
"type": "string"
},
"SearchLimit": {
"default": 20,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"SearchQuery": {
"maxLength": 256,
"minLength": 1,
"pattern": "^[^\\s\\x00-\\x1F\\x7F](?:[^\\x00-\\x1F\\x7F]*[^\\s\\x00-\\x1F\\x7F])?$",
"type": "string"
}
},
"$id": "urn:ausca:mcp:SearchOffers:input:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"next_cursor": {
"$ref": "#/$defs/CatalogCursor"
},
"offers": {
"items": {
"$ref": "#/$defs/OfferSummary"
},
"maxItems": 100,
"type": "array"
},
"status": {
"const": "ok"
}
},
"required": [
"status",
"offers"
],
"$defs": {
"CatalogCursor": {
"description": "Opaque, catalog-snapshot-bound continuation. Callers must not construct or modify it.",
"maxLength": 512,
"minLength": 1,
"pattern": "^ausca:catalog-cursor:v1:[a-f0-9]{64}:[a-f0-9]{64}:[A-Za-z0-9_-]{2,171}$",
"type": "string"
},
"Digest": {
"pattern": "^sha256:[a-f0-9]{64}$",
"type": "string"
},
"Identifier": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"type": "string"
},
"OfferSummary": {
"additionalProperties": false,
"properties": {
"catalog_url": {
"const": "/catalog.json",
"type": "string"
},
"description": {
"maxLength": 2000,
"type": "string"
},
"input_schema_digest": {
"$ref": "#/$defs/Digest"
},
"input_schema_url": {
"format": "uri-reference",
"type": "string"
},
"offer_id": {
"$ref": "#/$defs/Identifier"
},
"offer_revision": {
"$ref": "#/$defs/Identifier"
},
"offer_revision_digest": {
"$ref": "#/$defs/Digest"
},
"output_schema_digest": {
"$ref": "#/$defs/Digest"
},
"output_schema_url": {
"format": "uri-reference",
"type": "string"
},
"route": {
"additionalProperties": false,
"properties": {
"method": {
"const": "POST"
},
"path": {
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
"required": [
"method",
"path"
],
"type": "object"
},
"title": {
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"offer_id",
"offer_revision",
"offer_revision_digest",
"input_schema_digest",
"output_schema_digest",
"title",
"route",
"input_schema_url",
"output_schema_url",
"catalog_url"
],
"type": "object"
}
},
"$id": "urn:ausca:mcp:SearchOffers:output:v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}社区
证据