Monadomain Mcp

vn.monadomain由 monadomain.vn 发布v0.1.3更新于 Oct 24, 2026

Buy .vn and international domains in VND from the terminal; search and reserve without an account

概览

AI 生成的概览

MONA Cloud 的 MCP 服务器,让助手在终端搜索和购买域名、部署应用、运行 VPS 与数据库,并使用 MONA Pay 和 MONA Mail。

可以做什么
搜索、查询价格、预留、购买、续费和管理域名,包括注册人信息、.vn 实名验证、DNS 记录、域名服务器,以及把域名绑定到应用并启用 SSL。检测、创建、部署云应用,查看日志、设置环境变量和删除应用,并创建 VPS 与服务、轮询长时间任务。创建 MongoDB、PostgreSQL 或 MySQL 数据库和 Base 项目,并读取其凭据。查看钱包余额、账目、用量、价格、发票和订阅,通过 VietQR 充值,设置预算和令牌上限。重新导出的 MONA Pay 工具用于支付二维码、结账、绑定银行、交易和 webhook。MONA Mail 工具用于发信、域名、API 密钥、webhook、抑制列表和收件箱。列出并读取 MONA Agent 模板,另有 llms 与 status 资源和若干提示词。
适用场景
适合让助手把一个本地项目部署成带域名的应用,或通过同一个 MONA Cloud 账户处理域名购买、DNS 与 .vn 验证、云数据库、钱包计费、支付和事务邮件。域名搜索和预留无需登录即可使用。
运行要求
通过 npx 以 stdio 在本地运行,需要 Node.js 20 或更高版本;文档也提供托管的远程端点。登录使用 OAuth 设备流程,refresh token 保存在配置目录;也可用 MONACLOUD_TOKEN 提供 MONA Pass 令牌或 PAT,例如在 CI 中。付费操作需要钱包中有越南盾余额。需要访问 MONA Cloud、Pay 和 Mail 的 API 网络。
安装前请注意
该服务器会花真钱:创建应用、VPS、数据库和 Base,购买与续费域名,以及充值都会从钱包扣款,建议先用 sandbox 模式或设置预算。它会写入和删除基础设施与 DNS 记录。MONACLOUD_TOKEN 和保存的 refresh token 是凭据;Base 凭据、Mail API 密钥和 MONA Pay 绑定信息都是机密。上传会排除 .env、密钥和 .git,但项目文件仍会发送到 MONA Cloud。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Monadomain Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

monacloud-mcp

MCP server for MONA Cloud: one MONA Pass login and one VND wallet to deploy apps, run VPS, databases and Base projects, manage domains, accept payments with MONA Pay, send email with MONA Mail and browse MONA Agent templates from Claude Code, Codex, Cursor or any MCP client.

Install

Requires Node.js 20 or later.

Sign in once with the OAuth device flow:

bash
npx -y monacloud-mcp login

The command prints a URL on pass.monacloud.vn and a device code. After you confirm, the refresh token is stored in ~/.config/monacloud/token.json (directory mode 0700, file mode 0600). The server refreshes access tokens automatically and never logs them.

bash
npx -y monacloud-mcp whoami   # show the signed-in MONA Pass profilenpx -y monacloud-mcp logout   # remove stored tokens and linked credentials

Domain search and reservation work without signing in.

Claude Code

bash
claude mcp add monacloud -- npx -y monacloud-mcp

Codex (~/.codex/config.toml)

toml
[mcp_servers.monacloud]command = "npx"args = ["-y", "monacloud-mcp"]

Cursor (.cursor/mcp.json)

json
{  "mcpServers": {    "monacloud": {      "command": "npx",      "args": ["-y", "monacloud-mcp"]    }  }}

Remote endpoint

A hosted Streamable HTTP endpoint is available at https://mcp.monacloud.vn/mcp. Clients that support remote MCP servers (Claude.ai custom connectors, Cursor, Codex, ChatGPT developer mode) open MONA Pass to sign in on first use. See docs/remote.md.

Quick start

Ask your agent, for example: "Deploy this project to MONA Cloud from the current directory."

A typical run:

text
cloud_app_detect({ local_dir: "/absolute/path/to/project" })            // offline: stack, port, start command, env namescloud_app_create({ local_dir: "/absolute/path/to/project", name: "shop", sandbox: true })  // estimate only// after the user approves the costcloud_app_create({ local_dir: "/absolute/path/to/project", name: "shop" })cloud_app_domain_add({ app_id: "<app_id>", host: "shop.example.vn" })  // returns CNAME instructions

The upload is a ZIP of up to 80 MiB. It respects .gitignore/.dockerignore and excludes .env*, *.pem, .git, node_modules and symlinks. Git repositories can be deployed with repo_url instead of local_dir. Details: docs/local-deploy.md.

If the wallet balance is too low, the agent calls cloud_topup(amount). The response includes qr_ascii (a VietQR code drawn in the terminal), qr_file (PNG), qr_url, bank, account number, amount and transfer note. The user scans it with a banking app and the agent polls cloud_topup_status(topup_id) until it is paid.

Usage

Tool names use snake_case. Most cloud_* tools also have a vibecloud_* alias with the same schema for older prompts. The groups below show representative tools; your MCP client lists the full set.

Apps and deploy

  • cloud_app_detect, cloud_app_create, cloud_app_deploy, cloud_app_list, cloud_app_get, cloud_app_logs, cloud_app_env_set, cloud_app_domain_add, cloud_app_delete, cloud_app_host_list
  • VPS and services: cloud_vps_create (hourly or monthly by plan_code), cloud_services_list, cloud_service_start, cloud_service_stop, cloud_service_rebuild, cloud_job_status
  • Long jobs wait up to 600 seconds; pass wait: false and poll cloud_job_status if your client has a short timeout.

Databases and Base (beta)

  • cloud_db_create: MongoDB, PostgreSQL or MySQL.
  • cloud_base_create, cloud_base_list, cloud_base_get, cloud_base_credentials, cloud_base_delete: Base projects (Postgres with API keys and a studio URL) on the same account and wallet as your apps. cloud_base_credentials returns anon_key, service_key and db_url; treat them as secrets.

Domains

  • Search and price lookup (no login needed): cloud_domain_search, cloud_domain_suggest, cloud_domain_tlds, cloud_domain_tld_groups
  • Purchase: cloud_domain_buy (signed in), or cloud_domain_reserve → cloud_domain_reserve_status → cloud_domain_claim for users without an account yet; cloud_domain_reserve_release frees a hold
  • Registrant and .vn verification: cloud_domain_registrant_get, cloud_domain_registrant_set, cloud_domain_verify_start, cloud_domain_verify_status, cloud_domain_wait
  • Management: cloud_domain_list, cloud_domain_renew, cloud_domain_dns_list/_add/_update/_delete, cloud_domain_ns_set, cloud_domain_attach (point a domain at an app with SSL), cloud_domain_health, cloud_domain_webhook_set

Wallet and billing

  • cloud_whoami, cloud_balance, cloud_ledger, cloud_usage, cloud_services
  • cloud_topup, cloud_topup_status, cloud_credit_redeem
  • cloud_prices, cloud_packages, cloud_plan_list, cloud_subscription_list, cloud_subscription_update, cloud_invoice_list, cloud_invoice_pdf
  • Spend controls: cloud_budget_set, cloud_budget_get, cloud_token_limit
  • Referral: cloud_affiliate_link, cloud_affiliate_stats, cloud_affiliate_claim

Before a paid compute action the server checks the wallet balance (cloud_service_stop is never blocked). HTTP 402 insufficient_funds and 402 budget_exceeded are returned as JSON with code, message, next_step and request_id so the agent can top up or raise the budget and retry.

MONA Pay

All tools from monapay-mcp are re-exported (dependency ^0.5.5), for example monapay_create_qr, monapay_create_checkout, monapay_link_bank_start, monapay_list_transactions, monapay_create_webhook, monapay_test_webhook and monapay_verify_signature. monapay_link exchanges the MONA Pass session for MONA Pay credentials and caches them in ~/.config/monacloud/links.json.

MONA Mail

mail_* tools use the same MONA Pass session; the Mail account is created on first request.

  • Sending: mail_send (supports sandbox: true), mail_status, mail_list, mail_stats, mail_template_create
  • Domains: mail_domain_add, mail_domain_verify, mail_domain_cloudflare, mail_domains_list
  • API keys for your app: mail_api_key_create, mail_api_keys_list, mail_api_key_revoke
  • Webhooks and suppressions: mail_webhook_create, mail_webhooks_list, mail_webhook_test, mail_suppressions_list, mail_suppression_remove
  • Agent inboxes: mail_inbox_create, mail_inbox_list, mail_inbox_messages, mail_inbox_message, mail_inbox_reply, mail_inbox_wait
  • Account and plans: mail_account, mail_plans, mail_plan_set

Every POST sends an Idempotency-Key (from idempotency_key or generated). API keys are returned once; write them to the app's .env as MONAMAIL_API_KEY.

MONA Agent templates

  • agent_templates_list: reads MONACLOUD_TEMPLATES_DIR first, then the public mona-agent-templates catalog, then a built-in fallback.
  • agent_templates_get(template): returns the template files (README.md, AGENTS.md, tools.json, deploy.md, CHECKLIST.md, skills).
  • agent_deploy / cloud_agent_deploy: placeholder that currently returns agent_runtime_pending.

Resources and prompts

  • monacloud://llms: machine-readable description of the MONA Cloud stack.
  • monacloud://status: aggregated health of MONA Pass, Billing, compute, MONA Pay and MONA Mail.
  • Prompts: dung-app-ban-hang-monacloud (VPS, database, payments, webhook, deploy), gui-mail-otp-monamail (OTP email setup), mua-ten-mien-monacloud (domain purchase).

Sandbox

Pass sandbox: true to cloud_vps_create, cloud_db_create, cloud_service_start, cloud_service_rebuild, cloud_app_create, cloud_base_create or cloud_agent_deploy, or set MONACLOUD_SANDBOX=1, to simulate a call. Sandbox skips the balance check, creates no real infrastructure, does not charge the wallet and returns sandbox: true with a cost estimate.

Configuration

VariableDefaultPurpose
MONACLOUD_TOKENMONA Pass access token or PAT; takes precedence over the token store (useful in CI)
MONACLOUD_SANDBOX1 to run supported compute calls in sandbox mode
MONACLOUD_ISSUERhttps://pass.monacloud.vn/realms/monaOIDC issuer
MONACLOUD_BILLING_URLhttps://billing.monacloud.vnBilling and wallet API
MONACLOUD_APIhttps://api.monacloud.vnCompute API
MONAPAY_APIhttps://api.monapay.vnMONA Pay API
MONAMAIL_APIhttps://api.monamail.vnMONA Mail API
MONACLOUD_CONSOLE_URLhttps://monacloud.vn/consoleConsole URL returned for human steps
MONACLOUD_CONFIG_DIR~/.config/monacloudToken and link cache directory
MONACLOUD_TEMPLATES_DIR~/monacloud/templatesLocal agent template catalog
MONACLOUD_TEMPLATES_URLmona-agent-templates on GitHubRemote catalog; set to an empty string to disable

Legacy variables (VIBECLOUD_API, VIBECLOUD_API_URL, VIBECLOUD_API_TOKEN, MONAPAY_CLIENT_ID, MONAPAY_CLIENT_SECRET, MONAPAY_LINK_PATH, VIBECLOUD_LINK_PATH) are still read for compatibility.

Development

bash
npm installnpm run buildnpm test

Tests use the Node.js built-in runner, a real stdio MCP transport and local HTTP mocks; they make no Internet calls.

To self-host the remote server, see deploy/remote/README.md.

Website: monacloud.vn.

License

MIT

MONA Cloud MCP is part of MONA Cloud by The MONA Group.

来源:README.md,提交 f5cf117

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

3
  1. v0.1.3最新Oct 5, 2026
  2. v0.1.2Oct 5, 2026
  3. v0.1.1Sep 19, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分