restore
Restores MCP server configurations from a lockfile by reinstalling each server into the target client. Environment variables are not stored and must be set manually.
Instructions
Recreate MCP server configurations from a lockfile.
Reads mcp-tap.lock from the project directory and reinstalls each
server into the target MCP client config. Environment variable values
are NOT stored in the lockfile, so the user must set them manually.
Args:
project_path: Root directory of the project containing mcp-tap.lock.
client: Target MCP client(s). Comma-separated names like
"claude_desktop,cursor", "all" for every detected client,
or empty to auto-detect the first available.
dry_run: When True, show what would be installed without actually
installing or writing config.
Returns: Restore result with per-server status, required env vars, and overall success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| client | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||