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#"
}社群
證據