setup
Verify your TypeSafe API key with a live call and store it locally when TYPESAFE_API_KEY is missing.
Instructions
One-time onboarding: verify a TypeSafe API key with a live call, then store it locally.
Use when TYPESAFE_API_KEY is not set in the server environment: pass your key once (get one at https://console.typesafe.ai/settings/keys). It is verified against the live API, then saved to ~/.config/jev-mcp/key (permissions 0600) and never echoed back. An existing TYPESAFE_API_KEY env var always takes precedence over the stored file.
Args: api_key: Your TypeSafe API key (from console.typesafe.ai/settings/keys).
Returns: JSON string: {ok, stored_path, verified}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |