# Quickstart

Connect a multi-language repository (TypeScript, JavaScript, Python, Go, Rust, Java, Kotlin, C#, PHP, Ruby, or C/C++) to Tipolink Cloud over MCP in four short steps. Your raw source code stays on your machine; only minimal structural metadata is sent to the cloud.

## 1. Create your account & API key

1. Sign up at [the Tipolink sign-up page](https://tipolink.co/login). Every new account receives **150 free trial credits** right away.
2. Open the [Console](https://tipolink.co/console), go to **API Keys**, enter a descriptive label, and click **Create New Key**.
3. Copy the full `sk_live_` secret from the one-time confirmation dialog—for your security, keys remain permanently masked afterward.

## 2. Install the global Tipolink Skill

Install the universal Tipolink skill once into your user profile:

```bash
npx @tipolink/mcp init
```

This command is idempotent and installs only the global skill file at `~/.agents/skills/tipolink/SKILL.md` (`C:\Users\<USER>\.agents\skills\tipolink\SKILL.md` on Windows) without modifying your project repository.

## 3. Configure Tipolink in your coding app's MCP JSON

Because coding apps (Antigravity, Cursor, Claude Code, Windsurf, Codex, OpenCode, Cline, Roo) launch MCP servers directly from their host process rather than from an interactive terminal tab, configure your API key inside your coding app's native **MCP JSON file** instead of temporary shell `export` commands.

### Tipolink MCP Server (`@tipolink/mcp`)

Add the `"tipolink"` server entry to your coding app's MCP JSON file, then **personally paste** your `sk_live_...` key into `TIPOLINK_API_KEY`:

```json
{
  "mcpServers": {
    "tipolink": {
      "command": "npx",
      "args": ["-y", "@tipolink/mcp@latest", "mcp"],
      "env": {
        "TIPOLINK_API_KEY": "sk_live_PASTE_YOUR_KEY_HERE"
      }
    }
  }
}
```

> **Security best practice:** Never paste a live `sk_live_...` key into an AI chat prompt or commit MCP JSON files containing real keys to Git. Let your AI agent generate the JSON schema with the placeholder, then paste your real key directly into the file yourself and reload MCP in your editor.

## 4. Bind, sync, and run your first MCP checks

Reload MCP servers in your coding app, then ask your AI agent to run:

1. `tipolink_workspace({ action: "bind" })` — Bind the active repository (**0 credits / free**).
2. `tipolink_sync({})` — Sync local structural metadata to Tipolink Cloud (**0 credits** no-op / **1 credit** incremental `<10` files / **5 credits** cold index, `>=10` files, or `force: true`).
3. `tipolink_map({ target: "src/index.ts" })` — Map direct and transitive callers before editing (**5 credits**).
4. `tipolink_find_helper({ query: "format currency", limit: 30 })` — Find existing helpers before writing duplicates (**1 credit**, `score >= 40`, explicit `limit >= 30`).
5. `tipolink_guard({})` — Verify imports, dependency cycles, and duplicate helpers after edits (**2 credits** incremental).

## Next steps

- Let your AI agent scaffold the MCP JSON schema automatically: [AI Agent Setup](https://tipolink.co/docs/agent-setup.md)
- Learn the MCP-first Cloud workflow: [Cloud Workflow](https://tipolink.co/docs/workflow.md)
- See MCP JSON examples for every coding app: [Editor & Agent Configs](https://tipolink.co/docs/integrations.md)
- Understand credit costs and packs: [Credits & Billing](https://tipolink.co/docs/credits.md)
