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

@@ -4,11 +4,13 @@
"description": "Validate mcp-manifest.json files and test autodiscovery from domains",
"type": "module",
"bin": {
"mcp-manifest-validate": "./bin/cli.js"
"mcp-manifest-validate": "./bin/cli.js",
"mcp-manifest-generate": "./bin/generate.js"
},
"main": "./src/index.js",
"exports": {
".": "./src/index.js"
".": "./src/index.js",
"./generate": "./src/generate.js"
},
"files": [
"bin/",