feat: implement mcpctl install command with LLM-assisted auto-config

Add install command for setting up MCP servers with:
- Server lookup by name/package from registry search results
- LLM-assisted README analysis for missing envTemplate (Ollama)
- Interactive credential prompting with password masking
- Non-interactive mode using env vars for CI/CD
- Dry-run mode, custom profile names, project association
- Zod validation of LLM responses, README sanitization
- DI for full testability, 38 tests

128 tests passing total.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Michal
2026-02-21 04:00:35 +00:00
parent 6992744384
commit f23b554a5b
3 changed files with 689 additions and 6 deletions

View File

@@ -750,9 +750,9 @@
"dependencies": [
"25"
],
"status": "in-progress",
"status": "done",
"subtasks": [],
"updatedAt": "2026-02-21T03:55:53.004Z"
"updatedAt": "2026-02-21T03:57:21.119Z"
},
{
"id": "27",
@@ -765,15 +765,16 @@
"25",
"26"
],
"status": "pending",
"subtasks": []
"status": "in-progress",
"subtasks": [],
"updatedAt": "2026-02-21T03:57:56.152Z"
}
],
"metadata": {
"version": "1.0.0",
"lastModified": "2026-02-21T03:55:53.004Z",
"lastModified": "2026-02-21T03:57:56.152Z",
"taskCount": 27,
"completedCount": 2,
"completedCount": 3,
"tags": [
"master"
]