You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 查看帮助
usage: cli.py [-h] {console,hostinfo,net,bridge,pool,vm,vol} ...
Libvirt CLI Tool
positional arguments:
{console,hostinfo,net,bridge,pool,vm,vol}
console Attach to VM console
hostinfo Host related operations
net Net related operations
bridge Bridge related operations
pool Storage pool related operations
vm Virtual machine related operations
vol Volumes related operations
options:
-h, --help show this help message and exit# 连接console:
[root@localhost ~]# python cli.py console rocky9-by-cli-create
Escape character is ^] (CTRL+])
[root@test ~]#
启动MCP Server:
uv run server.py
命令行使用:
uv run main.py
客户端对接:
工具一览表:
启用MCP服务器:
简单聊天测试:
测试工具调用:
About
A simple MCP server for libvirt, split out from mcp_learn.