Fix incus_show_instance command: change 'show' to 'info'
- Replace non-existent 'incus show' command with 'incus info' - Remove --format json flag as incus info doesn't support it - Bump version to 0.1.1 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ironclads/incus-mcp",
|
"name": "@ironclads/incus-mcp",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"description": "MCP server for Incus container management",
|
"description": "MCP server for Incus container management",
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ class IncusServer {
|
|||||||
}).parse(args);
|
}).parse(args);
|
||||||
|
|
||||||
const instanceName = remote ? `${remote}:${name}` : name;
|
const instanceName = remote ? `${remote}:${name}` : name;
|
||||||
const output = await execIncusCommand(['show', instanceName, '--format', 'json']);
|
const output = await execIncusCommand(['info', instanceName]);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
content: [
|
content: [
|
||||||
|
|||||||
Reference in New Issue
Block a user