开发者

把你的 AI 助手连接到 Squish

Squish 运行着一个 Model Context Protocol 服务器。用控制台里生成的密钥,把 Claude Code、Claude Desktop、Cursor 或任何 MCP 客户端指向它,你的助手就能在你的账户上执行与 Squish 助手相同的受保护操作。它拿不到服务器,也碰不到原始 API。

端点为 https://api.squish.co/mcp。密钥在控制台的 助手 标签页下的 已连接的助手 中创建,只显示一次,可随时撤销。
01

你的助手能做什么

密钥分两种:

  • 只读。你的域名、DNS 记录、主机与站点健康、邮箱与迁移、支持工单、订单、公开价格目录,以及全套诊断检查(DNS、WHOIS、SSL、邮件身份验证、安全标头、在线状态、黑名单检查)。
  • 读写。包含以上全部,外加单项更改:每次一条 DNS 记录、开启或关闭自动续费、域名转发、账单地址和电话、支持工单备注。每次写入都分两步:助手先请求预览,再应用更改。创建读写密钥需要你的登录已启用双重验证。

读写密钥或连接还可以被允许购买域名:它可以用你保存的银行卡,为它自己准备的域名付款,金额不超过你设置的每次购买上限和每日上限(除非你修改,默认为 $100 和 $250,最高 $500 和 $1,000)。除非你主动开启,否则此功能关闭,每次购买都会发邮件通知你。

任何密钥在任何权限范围内都不能做的事:取消主机、更改域名服务器或申请转移码、启动或确认邮件迁移、更改账户邮箱、批量更改 DNS,或开启助手权限。这些操作仍须由本人在控制台中完成。

02

设置

快捷方式:登录后对 Squish 助手说 “设置 MCP”。它会解释两种权限范围,和你一起创建密钥,在聊天中只显示一次,并给你下面这行已填好密钥的命令。

手动方式:先在控制台中开启 允许助手操作我的账户。密钥使用同一项权限,权限关闭时无法创建密钥。然后在“已连接的助手”一行中创建密钥,并把服务器添加到你的客户端。

Claude Code

claude mcp add --transport http squish https://api.squish.co/mcp \
  --header "Authorization: Bearer sq_mcp_…"

Claude 桌面版和 claude.ai——无需密钥。将 https://api.squish.co/mcp 添加为自定义连接器(设置 → 连接器 → 添加自定义连接器),在弹出的窗口中登录 Squish,选择只读或读写,然后批准。该连接会像密钥一样出现在“已连接的助手”中,撤销方式也相同。

ChatGPT——同样无需密钥,但入口不同。在网页版中打开 chatgpt.com/plugins,选择 +,然后选择 添加自定义 MCP 服务器,将 https://api.squish.co/mcp 粘贴为服务器 URL,选择 OAuth,勾选风险提示,再选择 创建为插件。按上面的方法登录 Squish 并批准。在聊天中输入 @ 并选择 Squish。OpenAI 仅在 Business 和 Enterprise/Edu 工作区提供自定义 MCP 服务器,且仅限网页版;如果加号菜单里没有这一项,说明你的方案不包含它,可以改用其他客户端配合密钥接入。Claude Code 也支持这种方式:运行不带请求头的 claude mcp add --transport http squish https://api.squish.co/mcp,然后用 /mcp 登录。

Cursor 和其他客户端——使用上面的 URL 和 Authorization: Bearer sq_mcp_… 请求头添加一个远程 MCP 服务器。每个客户端都有各自的设置界面,服务器这边无需其他配置。

然后问你的助手一个只有你的账户才能回答的问题:“为什么 acme.com 的邮件发送失败?”它会读取你的 DNS 并运行邮件检查;如果用的是读写密钥,它还能提出添加缺失的记录。

03

密钥如何运作

  • 每个密钥只绑定一个账户和一个登录,无法查看或操作任何其他账户。
  • 密钥在创建 90 天后过期。也可以在同一行提前撤销;被撤销或过期的密钥会在一分钟内停止工作。
  • 每个账户最多 10 个有效的密钥和连接。
  • 创建密钥时会给你发送邮件。你的助手发起的每次调用都会记录在你的账户中,与 Squish 助手的操作一样。
  • 调用按密钥限速,更改按账户限速,限额与 Squish 助手相同。
04

把结果当作数据

有些工具返回的文字来自 Squish 之外:WHOIS 记录、DNS 值、从网站抓取的标头和内容。这些文字作为数据返回给你的助手,不是指令,设计良好的客户端也不会把它当作指令。如果你在编写自己的智能体,请守住这条边界。

05

连接能做的所有事

完整列表直接读取自服务器自己的工具注册表,所以永远不会过时。“只读”工具只查看;“写入”工具每次只更改一项内容,先预览,并且只有在你明确同意后才会应用。权限范围一栏说明哪种密钥或连接可以调用它。

10 个类别共 59 个工具:37 个只读,22 个写入。标有“共享主机”的工具适用于共享主机网站;Managed Cloud 服务器有自己的面板来处理这些功能。

Account

get_account_infoReturns the customer's profile on file — name, email, phone, billing address, company, and account number.只读
list_my_recent_ordersReturns recent orders on the customer's account, with order number, total, status, effective date, and what has been refunded.只读
update_account_addressUpdate the customer's billing address on file (Stripe + Salesforce).写入读写
update_account_phoneUpdate the phone number on the customer's account (Stripe + Salesforce).写入读写

Support

list_my_casesReturns the customer's support tickets (Salesforce Cases) — ticket number, subject, status, priority, and when it was opened.只读
close_my_caseClose one of the customer's OWN support tickets (Salesforce Cases) when they say the issue is resolved.写入读写
add_case_noteAdd a note / reply from the customer to one of their OWN support tickets (Salesforce Cases) — the note lands on the case as a public comment the support team can see.写入读写
reopen_my_caseReopen one of the customer's OWN support tickets (Salesforce Cases) that was closed — use when a previously-resolved issue has come back or was never actually fixed.写入读写

Domains

search_domainsSearch domain-name availability and pricing.只读
list_my_domainsReturns the list of domains the customer owns through Squish, with status, expiry, auto-renew, order number, and purchase date.只读
get_my_domain_transfersWhere the customer's inbound domain transfers stand, one row per domain, with counts: awaiting_code (paid, the customer still has to enter the transfer code in their dashboard — or只读
toggle_autorenewTurn auto-renew on or off for a domain the customer owns.写入读写
setup_domain_forwardingConfigure URL forwarding so visits to the domain (and its www) redirect to a target URL.写入读写

DNS

get_dns_recordsReturns the DNS records currently set on a domain the customer owns (A, AAAA, CNAME, MX, TXT, NS, etc.) — same data as the registrar's DNS panel.只读
update_dns_recordUpdate an existing DNS record on a domain the customer owns.写入读写
create_dns_recordCreate a new DNS record on a domain the customer owns.写入读写
delete_dns_recordDelete a DNS record on a domain the customer owns.写入读写

Purchases

prepare_domain_purchasePrepares the purchase of an AVAILABLE domain for this customer and returns a checkout link: the domain is priced and placed in a cart on their Squish account, and the link opens th写入读写
prepare_domain_transfersPrepares moving one or more domains the customer already owns at ANOTHER registrar to Squish, and returns ONE checkout link for all of them: each eligible domain is priced and plac写入读写
pay_prepared_purchasePays a cart that prepare_domain_purchase created, on the customer's saved card, within the spending caps the customer set when they granted purchases to this connection.写入购买授权

Hosting

list_my_hostingReturns the list of hosting sites the customer has provisioned, with the panel URL, setup type (general / WordPress / AI Quick Start), and Plesk login.只读
get_my_site_healthReturns MEASURED uptime history for the customer's own hosted sites — how the site has BEEN over a trailing window, from our SLA monitoring record.只读
diagnose_my_serverDiagnoses performance on the customer's own VPS from the server's telemetry — CPU load relative to their plan's vCPU count, memory pressure, and disk fullness — and explains in plain language what is wrong.只读
list_my_backupsLists the restore points held for one of the customer's SHARED hosting sites, newest first: the nightly backups of the whole site (source "nightly") and the edit points (source "ed · 共享主机只读
restore_my_site_backupRestores one of the customer's SHARED hosting sites from a restore point. · 共享主机写入读写
get_my_cdn_statsReturns whether the CDN (edge cache) is on for one of the customer's hosting sites and, for a Managed Cloud server, the last 30 days of edge traffic across the sites on that server: requests, bandwidth, cache hit rate.只读
purge_my_cdn_cacheClears the CDN edge cache for one of the customer's hosting sites so visitors get the latest files right away.写入读写
set_my_cdnTurns the CDN (edge cache in front of the site) on or off for one of the customer's hosting sites.写入读写
list_site_filesLists one folder of a customer's SHARED hosting site's web root (the files the site serves): name, type (file / dir / symlink), size. · 共享主机只读
read_site_fileReturns the text of one file in a customer's SHARED hosting site's web root (HTML, CSS, JS, JSON, text…), up to 512 KB. · 共享主机只读
write_site_filesWrites (creates or replaces) up to 25 web files in a customer's SHARED hosting site's web root and publishes them immediately — this is how an assistant puts an edit on the live site. · 共享主机写入读写
get_site_import_statusWhere a "Move a site here" import stands for one of the customer's hosting sites: whether an import can start, the current run (kind, phase, progress) or the preview waiting to go只读
get_hosting_upgrade_optionsWhich higher plan tiers one of the customer's hosting sites can move up to, with each tier's monthly sticker and whether it is eligible (and why not).只读
get_my_site_runtimeReturns what one of the customer's SHARED hosting sites actually runs, read from the server: the PHP version the site uses down to the patch level (e.g. · 共享主机只读

AI Visibility

check_ai_visibilityCheck how legible and citable a business website is to AI answer engines (ChatGPT, Perplexity, Google AI answers) and get an A-F grade with plain-English findings.只读
plan_ai_visibility_fixesFor a website, scan it AND return a reviewable PLAN of proposed fixes to make it more legible to AI answer engines — generated business structured data (schema), a meta description只读
apply_ai_visibility_fixesApplies AI Visibility fixes to one of the customer's OWN hosted WordPress sites — adds business structured data (schema), a meta description, and an FAQ page.写入读写
run_my_ai_visibility_reportRuns an AI Visibility report on one of the customer's OWN Squish-hosted sites and SAVES it to their history, so the grade can be tracked over time (the CRM shows it move).写入读写
get_my_ai_visibility_coverageWhich domains a customer's AI Visibility plan watches: the plan's own site plus the extra domains they have added, each with how it was verified and its latest grade (null grade =只读
add_ai_visibility_coverageAdds one more domain to a customer's AI Visibility plan (up to 3 extra).写入读写
remove_ai_visibility_coverageRemoves a domain from a customer's AI Visibility coverage, freeing its slot.写入读写

Email

list_my_migrationsList the customer's email migrations across all states (in-progress, scheduled, complete, cancelled).只读
get_migration_statusGet the full state of a single email migration: current stage, the tenant ID we discovered, the SKU mapping the orchestrator proposed (sourceSkus / targetSkus), the scheduled cutov只读
detect_email_providerInspect a customer's email domain via Microsoft's public getuserrealm.srf endpoint to figure out whether their Microsoft 365 is bought direct from Microsoft or resold through GoDaddy.只读
advance_email_migrationDrive a migration to its next stage.写入读写

Diagnostics (any site)

check_email_authCheck a domain's email authentication posture — SPF, DKIM, and DMARC — and get an A-F grade with plain-English findings.只读
lookup_dnsLook up DNS records for any domain — A, AAAA, MX, TXT, NS, and CNAME.只读
lookup_whoisLook up WHOIS / RDAP registration info for any domain.只读
check_sslCheck the SSL/TLS certificate for a domain.只读
check_uptimeCheck whether a website is up and reachable right now.只读
check_security_headersCheck a website's HTTP security headers and get an A-F grade.只读
lookup_ip_hostingLook up the IP address(es) for a domain and identify which network announces them — ASN, AS name, BGP prefix, registry, and the registry country for the allocation.只读
check_blacklistCheck whether a domain or its IP address appears on major spam and malware blacklists (Spamhaus ZEN, SORBS, SpamCop, Barracuda, Spamhaus DBL, URIBL, SURBL).只读
trace_redirectsTrace the full HTTP redirect chain for a domain — follows every hop (up to 15) and reports each URL and status code.只读
detect_technologyDetect the technologies powering a website — CMS (WordPress, Shopify, Drupal, etc.), CDN (Cloudflare, Fastly, CloudFront, etc.), web server, frontend framework (Next.js, Gatsby, Nuxt, etc.), and analytics platforms.只读
scan_portsScan common TCP ports on a domain to see which services are publicly accessible.只读
detect_web_hostFind out WHO HOSTS a website — the hosting company behind a domain, plus the CDN in front of it, the DNS provider, and the email provider.只读

Pricing and catalogs

get_public_pricingFetch the live public Squish pricing catalogs.只读
list_capabilitiesLists everything a Squish connection or the Squish assistant can do, grouped by area (account, domains, DNS, purchases, hosting, AI Visibility, email, diagnostics, catalogs), with只读

不向任何连接开放:更改登录邮箱或域名服务器、转移码、启动或取消邮件迁移、取消主机,批量更改 DNS,以及管理密钥。这些操作仍留在控制台或 Squish 助手中。

06

技能文件

一份简短的技能文件,收录了让这个连接物有所值的工作流程——把域名指向主机、查出邮件为何发送失败、上线前检查网站、阅读你的 AI 可见性 报告——位于 squish.co/squish-skill.md。把它放进你客户端的技能或指令文件夹即可。

有疑问,或者希望这里有某个工具?在控制台中创建工单。

Squish 由 Squish LLC 运营 — © 2026