본문으로 건너뛰기
cccskills
무료GitHub에 공개

oneclickvirt

OneClickVirt operations skill for managing containers, virtual machines, provider nodes, health checks, and metrics through MCP.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.5 KB
  • SKILL_ZH.md4.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

OneClickVirt Skill

Overview

This skill helps an AI assistant operate a OneClickVirt deployment through the built-in MCP server. It is useful for routine instance management, provider inspection, platform health checks, and guided troubleshooting.

What this skill can do:

  • List, create, start, stop, restart, inspect, and delete instances.
  • List providers and run provider health checks.
  • Read system status, health, configuration, and monitoring resources.
  • Use prompt templates for common container, VM, status, and troubleshooting workflows.

Prerequisites

  • A working oneclickvirt binary in PATH, or an absolute binary path in the MCP client config.
  • A running OneClickVirt API endpoint.
  • An administrator API token from the Web UI under Profile -> API Tokens.
  • HTTPS for remote OneClickVirt deployments.

Installation

Use a local MCP client configuration:

{
  "mcpServers": {
    "oneclickvirt": {
      "command": "oneclickvirt",
      "args": ["mcp"],
      "env": {
        "ONE_CLICK_VIRT_API_URL": "https://your-domain.com",
        "ONE_CLICK_VIRT_API_TOKEN": "YOUR_API_TOKEN"
      }
    }
  }
}

Manual install from a release archive:

mkdir -p ~/.claude/skills/oneclickvirt
tar -xzf oneclickvirt-skill-v0.3.0.tar.gz -C ~/.claude/skills/oneclickvirt

Development install from a clone:

mkdir -p ~/.claude/skills/oneclickvirt
cp -R skills/. ~/.claude/skills/oneclickvirt/

Usage

Available MCP tools:

  • list_instances — List all virtual machine and container instances in OneClickVirt
  • create_instance — Create a new virtual machine or container instance
  • start_instance — Start a stopped instance
  • stop_instance — Stop a running instance
  • restart_instance — Restart an instance
  • delete_instance — Delete an instance (DANGER: irreversible)
  • get_instance_detail — Get detailed information about a specific instance
  • list_providers — List all virtualization provider nodes
  • health_check — Run a health check on a provider node
  • get_instance_logs — Get recent logs from an instance
  • get_system_status — Get overall system status including instance counts and resource usage
  • get_metrics — Get monitoring metrics for the system, a provider, or an instance

Available resources:

  • oneclickvirt://instances/list — Current list of all instances
  • oneclickvirt://providers/list — Current list of all provider nodes
  • oneclickvirt://system/status — Overall system health and metrics
  • oneclickvirt://health/status — Public OneClickVirt API health status
  • oneclickvirt://config/system — Administrator-visible system configuration

Available prompt templates:

  • create_debian_container — Template for creating a Debian Linux container
  • create_ubuntu_vm — Template for creating an Ubuntu virtual machine
  • troubleshoot_instance — Template for troubleshooting an instance that won't start
  • quick_status_check — Template for checking instance, provider, and platform health

Examples

    • "List running instances and summarize anything frozen or stopped."
    • "Create a Debian 12 container on provider 1 with 2 CPU, 1 GB memory, and 20 GB disk."
    • "Run a quick status check for the platform."
    • "Check provider 3 health and summarize capacity concerns."
    • "Troubleshoot instance 42 and suggest the safest next action."

Troubleshooting

  • command not found: oneclickvirt: use an absolute binary path in the MCP config.
  • 401 Unauthorized: verify ONE_CLICK_VIRT_API_TOKEN is an active administrator token.
  • Connection refused: verify ONE_CLICK_VIRT_API_URL and that /api/v1/health is reachable.
  • Tools do not appear: restart the MCP client and inspect its MCP server logs.

Security

  • Prefer environment variables over command-line token arguments.
  • Use a dedicated token with the minimum required permissions.
  • Review destructive requests such as delete_instance before confirming.
  • Use HTTPS for remote API endpoints.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고