io.github.nometria/deploy
Deploy any app to any cloud. 20 tools for deployments, previews, and management.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@nometria-ai/claude-codeclaude mcp add deploy -e 'NOMETRIA_API_KEY=<your nometria_api_key>' -- npx -y @nometria-ai/claude-code@0.2.1
{
"mcpServers": {
"deploy": {
"command": "npx",
"args": [
"-y",
"@nometria-ai/claude-code@0.2.1"
],
"env": {
"NOMETRIA_API_KEY": "<your nometria_api_key>"
}
}
}
}
متغيرات البيئة
NOMETRIA_API_KEYسري Your Nometria API key (get one at https://ownmy.app/settings/api-keys)
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
@nometria-ai/claude-code
Deploy any project to any cloud directly from Claude Code.
Install
Option 1: Plugin (recommended)
# Install as a Claude Code plugin (includes MCP server + skills)
/plugin marketplace add nometria/claude-code-plugin
/plugin install nometria
Option 2: MCP server
# Add MCP server to Claude Code
claude mcp add nometria -- npx -y @nometria-ai/claude-code
# If you use nvm/fnm/volta and the above fails, use:
claude mcp add nometria -- /bin/sh -c '. "${NVM_DIR:-$HOME/.nvm}/nvm.sh" 2>/dev/null; exec npx -y @nometria-ai/claude-code'
Option 3: Slash commands only
# Generate slash commands + AI tool configs in your project
npx @nometria-ai/nom setup
MCP Tools
The MCP server exposes 34 tools, grouped by area:
Auth & config: nometria_login, nometria_init, nometria_setup, nometria_info
Deploy: nometria_deploy, nometria_preview, nometria_rollback
Monitoring: nometria_status, nometria_logs, nometria_list_apps, nometria_scan
Instance lifecycle: nometria_start, nometria_stop, nometria_terminate, nometria_upgrade
Domains & env: nometria_domain_add, nometria_env_set, nometria_env_list
GitHub: nometria_github_connect, nometria_github_status, nometria_github_repos, nometria_github_push
Backend services: nometria_services_add, nometria_services_list, nometria_services_remove
Database: nometria_db_query, nometria_db_tables, nometria_db_describe, nometria_db_create_table
Webhooks: nometria_webhook_add, nometria_webhook_list, nometria_webhook_delete
Docs: nometria_help
Slash Commands
After running setup (or installing the plugin), these are available in Claude Code:
/deploy- Deploy to production/preview- Create staging preview/status- Check deployment status/logs- View deployment logs/rollback- Roll back to a previous deployment/env- Manage environment variables/domain- Add or check custom domains/nometria-login- Authenticate
Skills
The plugin ships agentic skills Claude invokes automatically: deploy, preview,
status, logs, login, scan, rollback, resync-schema, backups.
Automation Hooks
Wired via hooks/hooks.json, opt-in deployment automation:
- security-gate (PreToolUse) - blocks deploys when the security score is below 70
- auto-deploy-on-commit (PostToolUse) - resyncs on
git commit - pr-preview (PostToolUse) - spins up a preview URL on PR/branch push
- post-deploy-healthcheck (PostToolUse) - HTTP 200 check with auto-rollback
- live-preview-on-edit (PostToolUse) - keeps a live preview fresh on edits
- cost-guardian (SessionStart) - warns about idle running instances
Quick Start
> Use nometria_login with key nometria_sk_...
> Use nometria_init to set up this project
> Use nometria_deploy to ship it
Authentication
Get an API key at nometria.com/settings/api-keys.
# Option 1: Set env var
export NOMETRIA_API_KEY=nometria_sk_...
# Option 2: Use the login tool
# Claude Code will call nometria_login for you
Supported Platforms
AWS, Google Cloud, Azure, DigitalOcean, Hetzner, Vercel
Also Available
- CLI:
npx @nometria-ai/nom deploy- npm - VS Code: Search "Nometria" in extensions
- Cursor: Auto-rules via
.cursor/rules/
License
MIT
الأسئلة الشائعة
ما هو io.github.nometria/deploy؟
Deploy any app to any cloud. 20 tools for deployments, previews, and management.
كيف أثبّت io.github.nometria/deploy؟
يعمل على جهازك. في Claude Code: claude mcp add deploy -e 'NOMETRIA_API_KEY=<your nometria_api_key>' -- npx -y @nometria-ai/claude-code@0.2.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.nometria/deploy إلى مفتاح API؟
نعم. يتطلب NOMETRIA_API_KEY، وتضبطها في إعداداته.
هل io.github.nometria/deploy مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون io.github.nometria/deploy؟
ينشره nometria. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.