memoryguard_provider_install
Installs or repairs provider-wide MCP configuration, redirect rules, and user lifecycle hooks so the trusted agent has a personal binding. Call this when provider integration is missing or broken.
Instructions
Install/repair the provider's global MCP, redirect rules, and supported user-level lifecycle Hook (Claude/Codex/Cursor; TRAE reports MCP+rules fallback). Ensures the trusted Agent has a personal binding unless an explicit shared binding already exists. Requires admin capability; idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | provider name: claude|codex|cursor|trae | |
| workspace | No | workspace path (default: .) | |
| agent_instance_id | No | trusted Agent identity (normally from MEMORYGUARD_AGENT_ID) |