# Troubleshooting

Common MCP setup, authentication, and sync problems—and how to fix them cleanly.

## Quick reference

| Symptom | Cause | Fix |
| --- | --- | --- |
| `TIPOLINK_API_KEY is not set` or placeholder rejected | The MCP JSON entry is missing your key, still contains `sk_live_PASTE_YOUR_KEY_HERE`, or was only set in a temporary terminal shell. | Paste your real `sk_live_...` key directly into `env.TIPOLINK_API_KEY` inside your coding app's MCP JSON, save the file, and reload MCP. Do not rely on shell `export` / `$env:` commands. |
| `401 Unauthorized` | The key in your MCP JSON is invalid or revoked. | Open the [Console](https://tipolink.co/console), go to **API Keys**, create a new `sk_live_` key, paste it directly into your MCP JSON file, and reload MCP. |
| `402 Payment Required` | Your credit balance has reached zero. | Open the [Console](https://tipolink.co/console), choose **Credits & Billing**, and purchase a Credit Pack. Existing keys resume working immediately. |
| `429 Too Many Requests` | Too many requests in a short window. | Wait a few seconds and retry. |
| Stale schema warning or outdated files in Cloud | Local repository changed outside the bridge or Cloud uses an older schema. | Call `tipolink_sync({})` (or `tipolink_sync({ force: true })` for a full disk re-extract; 0 no-op / 1 incremental / 5 full) directly via MCP to refresh Cloud metadata with the latest schema. |
| Path aliases such as `@/*` do not resolve | `tsconfig.json` is missing or has no `paths` mapping. | Keep `tsconfig.json` in the workspace root or package folder, then call `tipolink_sync({})`. |
| `init` reports `Unchanged` | `~/.agents/skills/tipolink/SKILL.md` is already up to date. | Expected behavior. Running `npx -y @tipolink/mcp@latest init` is idempotent and never modifies repository files. |
| `Unknown command` | CLI subcommand name is misspelled. | Use one of `init`, `workspace`, `map`, `find-helper`, `guard`, `sync`, or `mcp`. |

## Verify your MCP JSON configuration

Check your coding app's MCP JSON config file and verify:

1. Verify `"tipolink"` uses `"args": ["-y", "@tipolink/mcp@latest", "mcp"]` and `"env"."TIPOLINK_API_KEY"` starts with `sk_live_` (not a placeholder like `sk_live_PASTE_YOUR_KEY_HERE` or `${TIPOLINK_API_KEY}`).
2. After saving the MCP JSON file, **reload or restart MCP servers** in your coding app, then test with `tipolink_workspace({ action: "status" })` (0 credits).

## Still stuck

Check your credit balance, active API keys, and recent activity logs in the [Console](https://tipolink.co/console), or open [Contact Support](#contact-support) directly from this page.
