Exposes secure_env_collect as an MCP tool so any MCP client (Claude Code, Cursor, etc.) can collect secrets through form-based input. Values are written directly to .env/Vercel/Convex and never appear in LLM context — only key names and applied/skipped status are returned. - New env-writer.ts with writeEnvKey, detectDestination, checkExistingEnvKeys, applySecrets - Uses server.server.elicitInput() to present form fields to the MCP client - Pre-checks existing keys to skip already-set env vars - Auto-detects destination from project files (vercel.json, convex/ dir) - 27 tests covering utilities and tool integration Closes #3975 |
||
|---|---|---|
| .. | ||
| daemon | ||
| mcp-server | ||
| native | ||
| pi-agent-core | ||
| pi-ai | ||
| pi-coding-agent | ||
| pi-tui | ||
| rpc-client | ||