feat(cli): add manifest generator from existing MCP configs

Add mcp-manifest-generate CLI tool to reverse-engineer manifests from Claude Code settings.json. Infers install methods from command patterns (npx→npm, uvx→pip, .exe→dotnet-tool). Converts --flag args to typed config entries (--api-key→secret). Supports --probe flag to run MCP handshake for real server name/version. Add interactive --init wizard mode. Update schema with additional validation rules. Add comprehensive CLI help and examples to README
This commit is contained in:
2026-04-04 18:53:06 -04:00
parent 33b623fe68
commit 9507dc6e68
6 changed files with 716 additions and 9 deletions

View File

@@ -55,6 +55,11 @@
"type": "string",
"description": "SPDX license identifier"
},
"icon": {
"type": "string",
"format": "uri",
"description": "URL to the server's icon (square, PNG or SVG recommended). Clients SHOULD fall back to a default MCP icon when absent."
},
"keywords": {
"type": "array",
"items": { "type": "string" },
@@ -146,6 +151,27 @@
"prompt": {
"type": "string",
"description": "Human-readable prompt for interactive setup"
},
"options": {
"type": "array",
"items": { "type": "string" },
"description": "Static list of valid values. Clients SHOULD render as a dropdown."
},
"options_from": {
"type": "object",
"description": "Dynamically resolve available values from a local file.",
"required": ["file", "path"],
"properties": {
"file": {
"type": "string",
"description": "Path to a local JSON file. ~ is expanded to the user's home directory."
},
"path": {
"type": "string",
"description": "JSONPath expression to extract values from the file."
}
},
"additionalProperties": false
}
},
"additionalProperties": false