Resistance Tools
MCP tools for TON Sites, TON DNS and TON Storage.
我该使用它吗
质量与安全性
发现(60)
- LOW在 auth.status 中
- LOW在 wallet.me 中
- LOW在 sites.rollback 中
- LOW在 subdomains.recovery_tx 中
- LOW在 storage.provider_funding_session 中
- LOW在 auth.status 中
- LOW在 auth.policy 中
- LOW在 wallet.me 中
- LOW在 mcp.access.list 中
- LOW在 mcp.audit.list 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"resistance-tools-mcp": {
"url": "https://app.resistance.dog/api/mcp"
}
}
}远程端点
https://app.resistance.dog/api/mcpstreamable-http它能做什么
工具清单
工具(51)
🟢auth.status
Return whether this MCP session is authenticated.
输入模式
{
"type": "object",
"properties": {}
}🟢auth.policy
Return public MCP auth flows, scopes, safety controls, retention, and confirmation rules.
输入模式
{
"type": "object",
"properties": {}
}🟢wallet.me
Return the authenticated MCP owner/actor wallet context.
输入模式
{
"type": "object",
"properties": {}
}🟢mcp.access.list
List MCP consents and redacted active sessions for the authenticated owner wallet.
输入模式
{
"type": "object",
"properties": {}
}🟢mcp.audit.list(limit, method, resultStatus, since)
List recent redacted MCP audit events for the authenticated owner wallet.
输入模式
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"method": {
"type": "string",
"minLength": 1
},
"resultStatus": {
"type": "string",
"enum": [
"success",
"error"
]
},
"since": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢mcp.audit.summary(windowHours, topMethodsLimit)
Return owner-scoped aggregate MCP audit metrics without raw headers or request bodies.
输入模式
{
"type": "object",
"properties": {
"windowHours": {
"type": "integer",
"minimum": 1,
"maximum": 720
},
"topMethodsLimit": {
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴mcp.access.revoke_consent(consentId, confirmConsentId)
Revoke one MCP consent by id and invalidate matching access/refresh tokens.
输入模式
{
"type": "object",
"properties": {
"consentId": {
"type": "string",
"minLength": 1
},
"confirmConsentId": {
"type": "string",
"minLength": 1
}
},
"required": [
"consentId",
"confirmConsentId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢sites.list_domains(site)
List the domains and current DNS status of an owned site. Accepts a site name or stable site ID and enforces site/domain delegation limits.
输入模式
{
"type": "object",
"properties": {
"site": {
"type": "string",
"minLength": 1
}
},
"required": [
"site"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢sites.preflight_domain(site, domain)
Read current ownership, DNS linkage and conflicts before attaching a .ton, .t.me or supported subdomain to an owned site. No mapping or DNS record is changed.
输入模式
{
"type": "object",
"properties": {
"site": {
"type": "string",
"minLength": 1
},
"domain": {
"type": "string",
"minLength": 1
}
},
"required": [
"site",
"domain"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴sites.attach_domain(site, domain, confirmSite, confirmDomain, expectedConflictSiteId, ...)
Attach an already DNS-linked domain after preflight. Confirm site and full domain exactly. Pass the reviewed expectedConflictSiteId when moving a domain; deleting its source site additionally requires confirmDeleteSourceSiteId and sites:delete. All affected sites must be owned and delegated. Does not sign or change DNS records.
输入模式
{
"type": "object",
"properties": {
"site": {
"type": "string",
"minLength": 1
},
"domain": {
"type": "string",
"minLength": 1
},
"confirmSite": {
"type": "string",
"minLength": 1
},
"confirmDomain": {
"type": "string",
"minLength": 1
},
"expectedConflictSiteId": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"confirmDeleteSourceSiteId": {
"type": "integer",
"exclusiveMinimum": 0,
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"site",
"domain",
"confirmSite",
"confirmDomain"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴sites.unlink_domain(site, domain, confirmSite, confirmDomain, confirmDeleteSite)
Detach a domain after its DNS site record no longer points to this site (or it changed owner). Confirm site and full domain exactly. Removing the last domain deletes the site and requires confirmDeleteSite plus sites:delete; cleanup of a Storage-hosted site also requires storage:delete and bag delegation. Does not sign or change DNS records.
输入模式
{
"type": "object",
"properties": {
"site": {
"type": "string",
"minLength": 1
},
"domain": {
"type": "string",
"minLength": 1
},
"confirmSite": {
"type": "string",
"minLength": 1
},
"confirmDomain": {
"type": "string",
"minLength": 1
},
"confirmDeleteSite": {
"type": "boolean"
}
},
"required": [
"site",
"domain",
"confirmSite",
"confirmDomain"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢sites.list
List TON Sites owned by the authorized wallet.
输入模式
{
"type": "object",
"properties": {}
}🟢sites.get_content(site)
Read the stored template/content metadata for an owned site.
输入模式
{
"type": "object",
"properties": {
"site": {
"type": "string",
"minLength": 1
}
},
"required": [
"site"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪sites.send_link_tx(site)
Validate indexed ownership and return one HTTPS page where the user reviews and confirms the exact TON DNS site transaction with TON Connect.
输入模式
{
"type": "object",
"properties": {
"site": {
"type": "string",
"minLength": 1
}
},
"required": [
"site"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢sites.list_releases(site)
List retained releases for an owned site.
输入模式
{
"type": "object",
"properties": {
"site": {
"type": "string",
"minLength": 1
}
},
"required": [
"site"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴sites.publish_files(site, files)
Deploy or update an owned TON Site from explicit file contents.
输入模式
{
"type": "object",
"properties": {
"site": {
"type": "string",
"minLength": 1
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"minLength": 1
},
"text": {
"type": "string"
},
"contentBase64": {
"type": "string"
}
},
"required": [
"path"
],
"additionalProperties": false
},
"minItems": 1
}
},
"required": [
"site",
"files"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴sites.publish_template(site, template, content)
Validate, render, and publish a template-based TON Site.
输入模式
{
"type": "object",
"properties": {
"site": {
"type": "string",
"minLength": 1
},
"template": {
"type": "string",
"minLength": 1
},
"content": {}
},
"required": [
"site",
"template"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴sites.rollback(site, releaseId, confirmSite)
Rollback an owned TON Site to a retained release.
输入模式
{
"type": "object",
"properties": {
"site": {
"type": "string",
"minLength": 1
},
"releaseId": {
"type": "string",
"minLength": 1
},
"confirmSite": {
"type": "string",
"minLength": 1
}
},
"required": [
"site",
"releaseId",
"confirmSite"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴sites.delete(site, confirmSite)
Delete an owned TON Site deployment and served files.
输入模式
{
"type": "object",
"properties": {
"site": {
"type": "string",
"minLength": 1
},
"confirmSite": {
"type": "string",
"minLength": 1
}
},
"required": [
"site",
"confirmSite"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢deployments.list
List retained deployments across the owner's sites.
输入模式
{
"type": "object",
"properties": {}
}🟢domains.list_usernames
List .t.me Telegram Usernames owned by the authorized wallet, filtered by its domain delegation.
输入模式
{
"type": "object",
"properties": {}
}🔴dns.send_transfer_tx(domain, newOwner)
Revalidate ownership of a root .ton name or .t.me Username and return one HTTPS page to confirm its NFT transfer to newOwner. The user signs in their wallet.
输入模式
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"minLength": 1
},
"newOwner": {
"type": "string",
"minLength": 1
}
},
"required": [
"domain",
"newOwner"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢dns.lookup(name)
Lookup public TON DNS status and records for a .ton name.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
}
},
"required": [
"name"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢domains.list
List .ton domains owned by the authorized wallet.
输入模式
{
"type": "object",
"properties": {}
}🟢domains.records(domain)
Read DNS records for an owned .ton domain or .t.me Telegram Username.
输入模式
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"minLength": 1
}
},
"required": [
"domain"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪dns.send_record_tx(domain, kind, valueKind, value, rawCategory, ...)
Revalidate indexed ownership and return one HTTPS page where the user reviews and confirms the exact TON DNS record transaction.
输入模式
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"minLength": 1
},
"kind": {
"type": "string",
"enum": [
"wallet",
"site",
"storage",
"resolver",
"text",
"adnl",
"other"
]
},
"valueKind": {
"$ref": "#/properties/kind"
},
"value": {
"type": [
"string",
"null"
]
},
"rawCategory": {
"type": "string"
},
"keyName": {
"type": "string"
}
},
"required": [
"domain",
"kind"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪dns.send_name_tx(domain, action)
Return one HTTPS page for a validated .ton mint, auction bid, or expired-name release transaction.
输入模式
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"minLength": 1
},
"action": {
"type": "string",
"enum": [
"mint",
"bid",
"release"
]
}
},
"required": [
"domain",
"action"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪dns.send_renew_tx(domains)
Revalidate one to four owned .ton names and return one HTTPS page for a single TON Connect multi-message confirmation.
输入模式
{
"type": "object",
"properties": {
"domains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"maxItems": 4
}
},
"required": [
"domains"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢subdomains.list_collections(limit, cursor)
List TON Subdomain collections controlled by the authenticated wallet.
输入模式
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢subdomains.list_items(limit, cursor)
List TON Subdomain NFT items owned by the authenticated wallet.
输入模式
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢subdomains.get_collection(collectionAddress)
Read a fresh collection snapshot when the authenticated wallet holds collection or parent rights.
输入模式
{
"type": "object",
"properties": {
"collectionAddress": {
"type": "string",
"minLength": 1
}
},
"required": [
"collectionAddress"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢subdomains.get_item(itemAddress)
Read a Subdomain NFT item owned by the authenticated wallet.
输入模式
{
"type": "object",
"properties": {
"itemAddress": {
"type": "string",
"minLength": 1
}
},
"required": [
"itemAddress"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢subdomains.control(collectionAddress)
Read fresh collection authorization and parent-return state for the authenticated wallet.
输入模式
{
"type": "object",
"properties": {
"collectionAddress": {
"type": "string",
"minLength": 1
}
},
"required": [
"collectionAddress"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡subdomains.create_collection_tx(parentAddress, mode, priceGrid, minChars)
Revalidate parent ownership, create collection metadata, and return one HTTPS transaction confirmation page.
输入模式
{
"type": "object",
"properties": {
"parentAddress": {
"type": "string",
"minLength": 1
},
"mode": {
"type": "string",
"enum": [
"locked",
"linked"
]
},
"priceGrid": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d+$"
},
"minItems": 11,
"maxItems": 11
},
"minChars": {
"type": "integer",
"minimum": 1,
"maximum": 4
}
},
"required": [
"parentAddress",
"mode",
"priceGrid",
"minChars"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪subdomains.mint_tx(collectionAddress, parent, label, setWalletToMinter)
Revalidate availability and access, build metadata, and return one HTTPS mint or pending-mint confirmation page.
输入模式
{
"type": "object",
"properties": {
"collectionAddress": {
"type": "string",
"minLength": 1
},
"parent": {
"type": "string",
"minLength": 1
},
"label": {
"type": "string",
"minLength": 1
},
"setWalletToMinter": {
"type": "boolean"
}
},
"required": [
"collectionAddress",
"parent",
"label"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴subdomains.collection_action_tx(collectionAddress, action, accessMode, wallet, allowed, ...)
Revalidate current collection or parent rights and return one HTTPS management transaction confirmation page.
输入模式
{
"type": "object",
"properties": {
"collectionAddress": {
"type": "string",
"minLength": 1
},
"action": {
"type": "string",
"enum": [
"withdraw_fees",
"set_access",
"set_allowlist",
"set_label_reserved",
"transfer_admin",
"link_resolver",
"unlink_resolver",
"enforce_resolver",
"fill_parent",
"claim",
"claim_revenue",
"convert_locked",
"retry_parent_return"
]
},
"accessMode": {
"type": "string",
"enum": [
"public",
"allowlist",
"admin_only"
]
},
"wallet": {
"type": "string"
},
"allowed": {
"type": "boolean"
},
"label": {
"type": "string"
},
"reserved": {
"type": "boolean"
},
"newAdmin": {
"type": "string"
}
},
"required": [
"collectionAddress",
"action"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴subdomains.transfer_item_tx(itemAddress, newOwner)
Revalidate current NFT ownership and return one HTTPS Subdomain item transfer confirmation page.
输入模式
{
"type": "object",
"properties": {
"itemAddress": {
"type": "string",
"minLength": 1
},
"newOwner": {
"type": "string",
"minLength": 1
}
},
"required": [
"itemAddress",
"newOwner"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪subdomains.recovery_tx(parentAddress, mode, action)
Re-derive an owned collection and return one HTTPS page for its deployment or resolver recovery transaction.
输入模式
{
"type": "object",
"properties": {
"parentAddress": {
"type": "string",
"minLength": 1
},
"mode": {
"type": "string",
"enum": [
"locked",
"linked"
]
},
"action": {
"type": "string",
"enum": [
"retry_deployment",
"link_resolver",
"enforce_resolver"
]
}
},
"required": [
"parentAddress",
"mode",
"action"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡media.upload_image(contentBase64)
Upload one PNG, JPEG, GIF, or WebP image to the authenticated owner's template media store.
输入模式
{
"type": "object",
"properties": {
"contentBase64": {
"type": "string",
"minLength": 4,
"maxLength": 11184812
}
},
"required": [
"contentBase64"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢storage.list_bags
List TON Storage bags owned by the authorized wallet.
输入模式
{
"type": "object",
"properties": {}
}🟢storage.bag_details(bagId)
Read metadata and live state for an owned TON Storage bag.
输入模式
{
"type": "object",
"properties": {
"bagId": {
"type": "string",
"minLength": 1
}
},
"required": [
"bagId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢storage.providers(bagId, sort)
List backend-verified providers compatible with an owned TON Storage bag.
输入模式
{
"type": "object",
"properties": {
"bagId": {
"type": "string",
"minLength": 1
},
"sort": {
"type": "string",
"enum": [
"recommended",
"cheapest",
"uptime",
"capacity"
]
}
},
"required": [
"bagId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢storage.provider_funding_session(bagId, providerPubkeys)
Freeze a short-lived live provider and shared-balance snapshot for an owned bag.
输入模式
{
"type": "object",
"properties": {
"bagId": {
"type": "string",
"minLength": 1
},
"providerPubkeys": {
"type": "array",
"items": {
"type": "string",
"minLength": 64,
"maxLength": 64
},
"minItems": 1
}
},
"required": [
"bagId",
"providerPubkeys"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢storage.provider_funding_preview(bagId, sessionId, targetCoverageSeconds, proofSpanSeconds)
Calculate exact integer funding and coverage from a live provider session.
输入模式
{
"type": "object",
"properties": {
"bagId": {
"type": "string",
"minLength": 1
},
"sessionId": {
"type": "string",
"minLength": 1
},
"targetCoverageSeconds": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"proofSpanSeconds": {
"type": "integer",
"exclusiveMinimum": 0
}
},
"required": [
"bagId",
"sessionId",
"targetCoverageSeconds",
"proofSpanSeconds"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢storage.provider_quote(bagId, sessionId, targetCoverageSeconds, proofSpanSeconds)
Create the signed backend quote that will be revalidated before a provider confirmation link is returned.
输入模式
{
"type": "object",
"properties": {
"bagId": {
"type": "string",
"minLength": 1
},
"sessionId": {
"type": "string",
"minLength": 1
},
"targetCoverageSeconds": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"proofSpanSeconds": {
"type": "integer",
"exclusiveMinimum": 0
}
},
"required": [
"bagId",
"sessionId",
"targetCoverageSeconds",
"proofSpanSeconds"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢storage.provider_operation(providerOperationId)
Read and reconcile one paid TON Storage provider operation.
输入模式
{
"type": "object",
"properties": {
"providerOperationId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"providerOperationId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪storage.send_bag_link_tx(bagId, domain)
Validate bag and domain ownership, then return one HTTPS page for the exact TON Storage DNS site transaction.
输入模式
{
"type": "object",
"properties": {
"bagId": {
"type": "string",
"minLength": 1
},
"domain": {
"type": "string",
"minLength": 1
}
},
"required": [
"bagId",
"domain"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴storage.send_provider_tx(action, bagId, quoteId, targetCoverageSeconds, providerPubkey, ...)
Revalidate the live contract, providers, shared balance, and exact amount before returning one HTTPS pin, top-up, stop, or withdraw confirmation page.
输入模式
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"pin",
"top_up",
"stop",
"withdraw"
]
},
"bagId": {
"type": "string",
"minLength": 1
},
"quoteId": {
"type": "string",
"minLength": 1
},
"targetCoverageSeconds": {
"type": "integer",
"exclusiveMinimum": 0
},
"providerPubkey": {
"type": "string",
"minLength": 64,
"maxLength": 64
},
"acknowledgeOtherProviders": {
"type": "boolean"
}
},
"required": [
"action",
"bagId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡storage.create_bag(name, files)
Create and seed a new TON Storage bag from explicit file contents.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"path": {
"type": "string",
"minLength": 1
},
"text": {
"type": "string"
},
"contentBase64": {
"type": "string"
}
},
"additionalProperties": false
},
"minItems": 1
}
},
"required": [
"files"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪storage.pin_bag(bagId, name)
Pin/import an existing public TON Storage bag by bag id.
输入模式
{
"type": "object",
"properties": {
"bagId": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string"
}
},
"required": [
"bagId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴storage.delete_bag(bagId, confirmBagId)
Delete an owned TON Storage bag reference and remove platform-seeded bytes when safe.
输入模式
{
"type": "object",
"properties": {
"bagId": {
"type": "string",
"minLength": 1
},
"confirmBagId": {
"type": "string",
"minLength": 1
}
},
"required": [
"bagId",
"confirmBagId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据