Máy chủ MCP

Hãy để trợ lý AI quản lý không gian lưu trữ của bạn

Một máy chủ MCP cho toàn bộ tài khoản của bạn. Hãy kết nối Claude Code, Claude Desktop hoặc Cursor một lần, và trợ lý của bạn có thể liệt kê các trang web, đọc nhật ký, đồng bộ hóa tệp với kho lưu trữ và triển khai — hoạt động chỉ với các quyền mà bạn cấp cho nó.

65 công cụ ngày hôm nay, được liệt kê bên dưới chính xác như máy chủ cung cấp.

Kết nối

Hai bước. Token là toàn bộ thông tin xác thực, vì vậy hãy đối xử với nó như một mật khẩu: nó chỉ hiển thị một lần và bạn có thể thu hồi một kết nối mà không ảnh hưởng đến các kết nối khác.

  1. Tạo kết nối

    Trong bảng điều khiển của bạn, hãy mở các công cụ AI, đặt tên cho kết nối, chọn khách hàng của bạn và đánh dấu vào những gì họ được phép làm. Bạn chỉ có thể cấp quyền đối với những gì chính bạn được phép thực hiện.

  2. Dán cấu hình mà khách hàng của bạn đọc

    Bảng điều khiển hiển thị cấu hình cho khách hàng bạn đã chọn, với mã thông báo của bạn đã được điền sẵn trong đó. Mọi khách hàng đều giao tiếp với cùng một địa chỉ máy chủ:

    https://api.zinndigital.com/v1/mcp

Claude Code

Chạy một lệnh duy nhất, hoặc đặt khối này vào .mcp.json ở thư mục gốc của dự án. Dòng "type": "http" là bắt buộc — nếu không có nó, Claude Code sẽ bỏ qua máy chủ.

claude mcp add --transport http zinn https://api.zinndigital.com/v1/mcp \
  --header "Authorization: Bearer zmcp_live_…"
// .mcp.json
{
  "mcpServers": {
    "zinn": {
      "type": "http",
      "url": "https://api.zinndigital.com/v1/mcp",
      "headers": {
        "Authorization": "Bearer zmcp_live_…"
      }
    }
  }
}

Claude Desktop

Claude Desktop khởi chạy các máy chủ cục bộ, do đó ứng dụng này chạy công cụ dòng lệnh miễn phí Zinnector® của chúng tôi làm cầu nối tới máy chủ được lưu trữ. Công cụ này yêu cầu Node 24 trở lên. Mã thông báo được đặt trong biến môi trường (env), không bao giờ được đặt trong các đối số.

// claude_desktop_config.json
{
  "mcpServers": {
    "zinn": {
      "command": "npx",
      "args": [
        "-y",
        "zinnector@0.1.4",
        "mcp"
      ],
      "env": {
        "ZINN_MCP_TOKEN": "zmcp_live_…"
      }
    }
  }
}

Con trỏ

Thêm máy chủ vào ~/.cursor/mcp.json (hoặc .cursor/mcp.json trong một dự án) với địa chỉ và tiêu đề Authorization.

// ~/.cursor/mcp.json
{
  "mcpServers": {
    "zinn": {
      "url": "https://api.zinndigital.com/v1/mcp",
      "headers": {
        "Authorization": "Bearer zmcp_live_…"
      }
    }
  }
}

Bất kỳ máy khách MCP nào khác

Bất kỳ ứng dụng khách nào hỗ trợ máy chủ HTTP Streamable từ xa với tiêu đề tùy chỉnh đều hoạt động: hãy trỏ ứng dụng đó đến địa chỉ ở trên và gửi Authorization: Bearer cùng với token của bạn. Ứng dụng khách chỉ khởi chạy máy chủ cục bộ có thể sử dụng cầu nối Claude Desktop.

ChatGPT chỉ kết nối với các máy chủ MCP bằng cách đăng nhập qua OAuth, vì vậy hiện tại hệ thống chưa thể sử dụng token. Hãy sử dụng kết nối tương tự với Claude Code, Claude Desktop hoặc Cursor.

Kiểm tra hoạt động — bốn câu hỏi

Hãy đặt những câu hỏi này bằng ngôn ngữ thông thường. Bên dưới mỗi câu hỏi là công cụ mà trợ lý của bạn nên gọi và câu trả lời thế nào là tốt.

  1. > List my sites.
      ↳ sites_list

    Các trang web của bạn cùng với trạng thái và gói dịch vụ của chúng. Danh sách trống trên một tài khoản có các trang web có nghĩa là kết nối đang thiếu quyền xem các trang web.

  2. > Show me the error log for example.com.
      ↳ site_logs

    Nhật ký lỗi và nhật ký truy cập gần đây. Nếu không đọc được một trong hai, phản hồi sẽ nêu rõ điều đó — trường hợp này khác với nhật ký trống.

  3. > Sync example.com to its repository.
      ↳ site_repo_sync_run

    Một bản commit trong kho lưu trữ của bạn chứa mọi thay đổi trên trang web trực tiếp, hoặc một ghi chú cho biết kho lưu trữ đã khớp từ trước. Nếu kho lưu trữ đã di chuyển, quá trình đồng bộ hóa sẽ tạm dừng và không có gì bị ghi đè.

  4. > I pushed a commit — deploy example.com and tell me when it is live.
      ↳ site_deploy → site_deploy_status

    Việc triển khai nằm trong hàng đợi và sau đó sẽ chuyển sang trạng thái trực tuyến với commit đã được áp dụng. Các công cụ viết yêu cầu bạn phê duyệt trong ứng dụng khách trước khi chạy.

Đồng bộ hai chiều, theo cả hai hướng

Một trang web có kho lưu trữ được kết nối sẽ luôn đồng bộ theo cả hai hướng, và trợ lý của bạn có thể thao tác ở bất kỳ hướng nào.

Trang web → kho lưu trữ

Commit các thay đổi trong tệp trực tiếp — một chỉnh sửa trong trình quản lý tệp, bản cập nhật plugin, tệp tải lên — và đẩy tệp đó lên nhánh của bạn, để lần git pull tiếp theo của bạn có sẵn các thay đổi đó.

site_repo_sync_run   ·   zinnector sync run

Kho lưu trữ → trang web

Việc triển khai sẽ áp dụng nhánh của bạn vào trang web. Hãy đẩy bản lưu của bạn lên, sau đó triển khai; trên máy chủ của chúng tôi, tính năng này yêu cầu bật đồng bộ hóa hai chiều, hoàn toàn miễn phí.

site_deploy   ·   zinnector push

Khi cả hai bên đã thay đổi

Không có gì bị gộp hoặc ghi đè một cách âm thầm. Quá trình đồng bộ dừng lại, nêu tên commit và chờ bạn giữ lại trang web hoặc giữ lại kho lưu trữ. Việc giữ lại kho lưu trữ sẽ hủy bỏ các thay đổi chưa được đồng bộ của trang web, vì vậy thao tác này cần được xác nhận.

site_repo_sync_resolve keep=site|repository confirm=true

Điều gì giữ an toàn cho trang web

Chỉ những gì bạn đã cấp quyền

Mỗi công cụ đều cần một quyền truy cập và một kết nối chỉ giữ lại những quyền bạn đã đánh dấu. Các trang web của khách hàng khác không tồn tại theo như kết nối của bạn có thể nhận biết.

Xác nhận cho mọi thao tác phá hủy

Việc khôi phục phiên bản trước, khôi phục dữ liệu, giải quyết tình trạng đồng bộ bị giữ lại và mua hàng đều yêu cầu xác nhận rõ ràng, và bất kỳ khoản phí nào cũng sẽ hiển thị chính xác tổng số tiền cho bạn trước.

Mọi hành động trong nhật ký kiểm toán của bạn

Mỗi cuộc gọi được ghi lại theo kết nối đã thực hiện cuộc gọi đó. Hãy thu hồi quyền của kết nối trên trang công cụ AI và nó sẽ ngừng hoạt động ngay lập tức.

Mọi công cụ

Tất cả 65 công cụ, được tạo từ chính sổ đăng ký của máy chủ — nếu công cụ có trong danh sách này, trợ lý của bạn có thể gọi nó.

Trang web và bản triển khai

Công cụChức năng của tính năng nàyQuyềnGhi chú
sites_listList the organization's sites, with each site's primary domain, status, product line, stack and the plan it is on. Optionally filter by status, product line or a search over domain and name.sites.viewchỉ đọc
site_getGet one site's full record — domain, status, product line, stack, runtime, PHP version, region, plan and whether it is scheduled for deletion.sites.viewchỉ đọc
site_createCreate a site and start provisioning it. Give a primary domain and a product line; optionally a blueprint to build it from, a stack type, a PHP version or a region. Returns the new site, which begins in 'provisioning' — poll site_get for status.sites.createthay đổi mục lục
site_deployDeploy a site — build and publish its current source to our servers. Returns the deploy state immediately; the build runs as a durable workflow. Poll site_deploy_status to follow it.hosting.deploy.managethay đổi mục lục
site_deploy_statusThe site's current deploy state — status, target, the live URL, the deployed commit and when it last went live.sites.viewchỉ đọc
site_deployments_listList a site's recent deployments — id, status, commit, branch and timings. Use this to choose the deployment_id to roll back to.sites.viewchỉ đọc
site_rollbackRoll a site back to an earlier deployment by re-deploying its commit. Destructive: pass confirm=true. Use site_deployments_list to choose which one.hosting.deploy.managethay đổi mục lục · yêu cầu xác nhận

Đồng bộ hai chiều

Công cụChức năng của tính năng nàyQuyềnGhi chú
site_repo_sync_getShow a site's two-way sync with its repository: whether it is available and on, the repository and branch, the current state (idle, synced, conflict, adopt, error) and the last runs with the commits they made.sites.viewchỉ đọc
site_repo_sync_setTurn two-way sync on or off for a site, optionally limited to a subdirectory of the site. Needs the customer's own GitHub account connected. Turning it on pushes nothing by itself — call site_repo_sync_run for that.hosting.deploy.managethay đổi mục lục
site_repo_sync_runSync a site to its repository now: commit whatever changed in the site's live files and push it to the connected branch, so a local git pull receives it. If the repository moved since the last sync the run is HELD and nothing is overwritten — the result says so. The other direction (repository to site) is site_deploy.hosting.deploy.managethay đổi mục lục
site_repo_sync_resolveResolve a HELD two-way sync. keep=site commits the site's files on top of the repository (their commits stay in history); keep=repository applies the repository to the site and DISCARDS the site's unsynced changes. Destructive: pass confirm=true.hosting.deploy.managethay đổi mục lục · yêu cầu xác nhận

Nhật ký và số liệu

Công cụChức năng của tính năng nàyQuyềnGhi chú
site_metricsCurrent metrics for one site — visits, bandwidth, error rate, disk and resource use. Each section reports whether it is available, so 'no data' is distinguishable from 'zero'.sites.viewchỉ đọc
site_usageOne site's metered visit usage for the current billing period, with the plan's allowance and what any overage costs.sites.viewchỉ đọc
site_logsRead the recent tail of one site's web-server access log and error log. Each log reports whether it could be read, so an unreadable log is never mistaken for an empty one. Use this before proposing a fix for errors or slowness.sites.panel_accesschỉ đọc
site_build_logRead the build log of one deployment — the latest when deployment_id is omitted. Pass after=<total from the previous call> to fetch only new lines while complete is false.sites.viewchỉ đọc

Cấu hình và WordPress

Công cụChức năng của tính năng nàyQuyềnGhi chú
site_php_version_getThe site's current PHP version and every version it is allowed to switch to on its product line.sites.viewchỉ đọc
site_php_version_setSwitch a site to a different PHP version. The version must be one that site_php_version_get lists as available. Reports whether the change reached the machine or was only recorded for provisioning to apply.hosting.php.managethay đổi mục lục
wordpress_stateA WordPress site's core version, whether an update is available, and which management operations its hosting permits.sites.viewchỉ đọc
wordpress_plugins_listList a WordPress site's plugins — name, version, whether active and whether an update is available.sites.viewchỉ đọc
wp_plugin_updateUpdate one WordPress plugin to its latest version. Returns the plugin list as it reads after the update.sites.panel_accessthay đổi mục lục
wordpress_update_coreUpdate WordPress core to the latest version on a site. This cannot be undone by another call — take a backup first with backup_create if you may need to go back. Requires confirmation.sites.panel_accessthay đổi mục lục · yêu cầu xác nhận
wordpress_set_pluginActivate or deactivate one plugin on a WordPress site. Takes effect on the live site immediately. Requires confirmation.sites.panel_accessthay đổi mục lục · yêu cầu xác nhận

Sao lưu

Công cụChức năng của tính năng nàyQuyềnGhi chú
backups_listA site's backups — each one's id, when it was taken, its size and status — plus whether a backup is currently running and how many on-demand backups remain in the rolling 24-hour allowance.sites.viewchỉ đọc
backup_createTake an on-demand backup of a site and return the updated backup state. Bounded to 3 per rolling 24 hours per site; the backup runs in the background.hosting.backup.managethay đổi mục lục
backup_restoreRestore a site from one of its backups. This OVERWRITES the site's live database and files, and everything changed since that backup was taken is lost. Requires confirmation, and the confirmation names how old the backup is.hosting.backup.managethay đổi mục lục · yêu cầu xác nhận

Tên miền và DNS

Công cụChức năng của tính năng nàyQuyềnGhi chú
dns_records_listList a page of DNS records for a domain whose DNS we host, in name/type/value order. Returns a next_cursor for the following page.sites.viewchỉ đọc
dns_record_createCreate a DNS record for a domain whose DNS we host.domains.dns.managethay đổi mục lục
dns_record_updateUpdate an existing DNS record for a domain whose DNS we host.domains.dns.managethay đổi mục lục
dns_record_deleteDelete a DNS record for a domain whose DNS we host.domains.dns.managethay đổi mục lục · yêu cầu xác nhận
domains_listList the organization's domains — id, hostname, status, product line and whether we registered it or the customer pointed it at us. The ids returned here are what the DNS, cache-purge and index-check tools take.sites.viewchỉ đọc

Bộ nhớ đệm và trình thu thập thông tin

Công cụChức năng của tính năng nàyQuyềnGhi chú
cache_purgePurge the CDN cache for a domain. Omit 'urls' to purge everything, or pass a bounded list of absolute URLs to purge only those.sites.cache.purgechỉ đọc
crawler_policy_getGet a site's SEO-crawler-blocking (PBN footprint) policy: which crawlers are blocked, the available crawlers, and the rendered robots.txt/server rules.sites.viewchỉ đọc
crawler_policy_setSet a site's SEO-crawler-blocking policy. 'blocked' is a list of crawler keys (from crawler_policy_get's available_crawlers). Search engines can never be blocked. Publishes the change so the server rules are re-written.sites.crawler.managethay đổi mục lục

Email

Công cụChức năng của tính năng nàyQuyềnGhi chú
mail_services_listList the organization's email services — every domain it has mailboxes on, with the plan's mailbox allowance, how many are used, and whether the mail DNS is published.mail.viewchỉ đọc
mailboxes_listList the mailboxes on one email service, with each mailbox's size, how full it is, and whether it can send and receive.mail.viewchỉ đọc
mailbox_createCreate a mailbox on an email service. Returns the new mailbox's password, which is shown once and cannot be retrieved later.mail.managethay đổi mục lục
mail_forwarders_listList the mail forwarders on one email service — which address goes where.mail.viewchỉ đọc
mail_forwarder_createCreate a mail forwarder on an email service, sending everything for one address on to one or more destinations.mail.managethay đổi mục lục

SEO

Công cụChức năng của tính năng nàyQuyềnGhi chú
site_seo_metricsThe cached SEO authority metrics for a hosted site — domain rank, backlinks, referring domains and organic keywords. Read-only and free; the figures are refreshed by the platform's own sweep, so they may be up to a month old.sites.viewchỉ đọc
domain_index_checkThe cached search-index status for a domain — whether it is indexed, how many pages, and when the reading was taken. Read-only and free.sites.viewchỉ đọc

Hình ảnh AI

Công cụChức năng của tính năng nàyQuyềnGhi chú
image_models_listThe image models this account can generate with — provider, model, and the price per image in USD. Read-only and free. A model that is not listed cannot be used, either because it is retired or because nobody has priced it.sites.viewchỉ đọc
image_generateGenerate an image from a prompt and put it in this account's image library. Costs money — the price per image is what image_models_list reports for the model used. Returns the image ids; the customer sees them in their library immediately.links.editthay đổi mục lục · có thể tiêu tiền

Bảng điều khiển

Công cụChức năng của tính năng nàyQuyềnGhi chú
board_listList this organisation's project boards, newest first.agency.board.viewchỉ đọc
board_getRead one board in full: its columns and every card on them.agency.board.viewchỉ đọc
board_createCreate a project board, optionally for one of your client organisations.agency.board.managethay đổi mục lục
board_card_createAdd a card to a column. Cards are agency-only unless you pass visibility 'client'.agency.board.managethay đổi mục lục
board_card_moveMove a card to another column, or to another position in its column.agency.board.managethay đổi mục lục
board_card_commentComment on a card. Agency-only unless you pass visibility 'client', in which case the client sees it attributed to your agency.agency.board.commentthay đổi mục lục

Thanh toán và nâng cấp

Công cụChức năng của tính năng nàyQuyềnGhi chú
subscriptions_listList the organization's subscriptions — the plan each one is on, its status, renewal date and whether it auto-renews.billing.viewchỉ đọc
invoices_listList the organization's invoices and credit notes — number, status, total, currency and issue date. Optionally filter by status.billing.viewchỉ đọc
upgrade_optionsWhat can be bought to lift a limit you have hit — bigger plans, priced with tax, in your own currency. Pass the entitlement from a refusal (e.g. 'max_sites'), or a site_id to see what that site's own plan could move to. Read-only: nothing is bought, and calling this costs nothing.billing.viewchỉ đọc
purchase_quotePrice a plan exactly, with tax, in the customer's own currency — and nothing is bought or charged. Returns a quote_id to pass to purchase_authorize together with the total, which is what stops an agent committing someone to a figure they never saw. Quotes expire: re-quote rather than reusing an old id.billing.payment.managethay đổi mục lục
purchase_authorizeComplete a purchase from a quote: places the order and charges the payment method on file. You must pass the exact total and currency purchase_quote returned — if the price has moved since, this refuses rather than charging a different amount. Retrying with the same quote_id returns the same order and never charges twice.billing.payment.managethay đổi mục lục · yêu cầu xác nhận · có thể tiêu tiền

Hỗ trợ

Công cụChức năng của tính năng nàyQuyềnGhi chú
tickets_listList the organization's support tickets — subject, status, priority and when they were last updated. Optionally filter by status or site.tickets.viewchỉ đọc
ticket_createOpen a support ticket. Include what you already checked — an agent that has read the KB and run diagnostics should say so in the body, so a human does not repeat it.tickets.replythay đổi mục lục

Đại lý lại

Công cụChức năng của tính năng nàyQuyềnGhi chú
reseller_overviewThe reseller programme in one read: status, whether you can sell, billing day, default markup, your panel hostname and nameservers, mail sending domain, support routing, commerce readiness and the languages your clients' panel offers.reseller.viewchỉ đọc · chỉ dành cho đại lý
reseller_services_listList the sites you have provisioned for your clients — one row per service, with the client organisation, status, any hold you placed, what it costs you wholesale and what you sell it for. Your own sites are not here; use sites_list for those.reseller.viewchỉ đọc · chỉ dành cho đại lý
reseller_service_getOne client service in full — status, plan, any hold, wholesale cost, your sell price, and its disk and bandwidth usage.reseller.viewchỉ đọc · chỉ dành cho đại lý
reseller_service_suspendPut one of your client's services on a non-payment hold. The site stops serving until you release it. Requires confirm: true.reseller.provisionthay đổi mục lục · yêu cầu xác nhận · chỉ dành cho đại lý
reseller_service_unsuspendRelease a non-payment hold you placed on a client's service. The site starts serving again.reseller.provisionthay đổi mục lục · chỉ dành cho đại lý
reseller_prices_listYour price list: every plan you can sell, with the Zinn® list price, your wholesale cost, and the retail price you have set (if any).reseller.viewchỉ đọc · chỉ dành cho đại lý
reseller_client_wallets_listEvery client wallet you hold a float in, with the balance per client and the total held per currency. This is money you have taken and not yet delivered service for.reseller.viewchỉ đọc · chỉ dành cho đại lý

Tiếp tục đọc

Bạn thích dùng terminal hơn?

Tài liệu tham khảo CLI của Zinnector®

Xây dựng dựa trên API công khai

Tài liệu tham khảo API

Những gì trợ lý AI có thể làm cho bạn

Công cụ AI và MCP

Kết nối trợ lý của bạn trong hai phút

Mở các công cụ AI trong bảng điều khiển của bạn, tạo kết nối và dán cấu hình mà khách hàng của bạn đọc.