Docs

Editor & Agent Configs

Global skill installation, Tipolink MCP JSON schema, MCP tools, and CLI reference.

Running npx @tipolink/mcp init 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.

Instead, configure Tipolink once inside your coding app's native MCP JSON file and paste your sk_live_... API key directly into that JSON file.

Global Skill Location (init)

BASH
npx -y @tipolink/mcp@latest init
  • Windows: C:\Users\<USER>\.agents\skills\tipolink\SKILL.md
  • macOS / Linux: ~/.agents/skills/tipolink/SKILL.md

Re-running init updates only that single global skill file and leaves every repository working tree untouched.

MCP JSON Schema

Use this schema for local repositories so @tipolink/mcp@latest automatically extracts local structural deltas and exposes all 5 MCP tools including tipolink_sync:

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

> Security workflow: When using an AI agent to set up Tipolink, let the agent create or merge the MCP JSON schema with sk_live_PASTE_YOUR_KEY_HERE. Then open the JSON file yourself, replace the placeholder with your real sk_live_... key from Console, save, and reload MCP. Never expose live keys in AI chat or shell history.

Where Coding Apps Store MCP JSON Configs

Follow your coding app's documented MCP configuration file (user-level config keeps secrets outside Git repositories):

  • Antigravity: User MCP configuration JSON (mcp_config.json) via Plugins / MCP Manager.
  • Cursor: ~/.cursor/mcp.json (user global MCP settings).
  • Claude Code: ~/.claude.json (user-scope MCP configuration) or claude mcp add.
  • Windsurf: ~/.codeium/windsurf/mcp_config.json.
  • OpenCode / Codex / Cline / Roo / Custom Harnesses: Add "tipolink" (npx -y @tipolink/mcp@latest mcp) using that app's native MCP JSON format.

MCP Tools Reference

The local @tipolink/mcp stdio server exposes 5 MCP tools:

MCP ToolCostPurpose
tipolink_workspace0 credits (free)List indexed workspaces, check active workspace status, or bind a local directory / workspace ID
tipolink_sync0 / 1 / 5 creditsIncremental metadata sync (force: false default: 0 no-op, 1 for <10 changes, 5 cold/>=10 or force: true full replace)
tipolink_map5 creditsCompute downstream Impact Map (direct and transitive callers, outbound links, co-imports)
tipolink_find_helper1 creditSearch exported workspace symbols and return canonical relative import statements
tipolink_guard2 credits (5 cold)Verify imports, circular dependencies, and duplicate helpers on modified or full workspace files

CLI Command Reference (Optional / CI)

Every MCP capability also has a companion CLI command for scripts or CI pipelines:

CommandPurpose
npx -y @tipolink/mcp@latest initInstall or update global ~/.agents/skills/tipolink/SKILL.md (zero repo files written)
npx -y @tipolink/mcp@latest mcpStart the local stdio MCP server launched by your coding app's MCP JSON
`npx -y @tipolink/mcp@latest workspace [list\status\bind]`List or bind the active workspace (0 credits)
npx -y @tipolink/mcp@latest sync [--force]Sync metadata graph to Tipolink Cloud (0 no-op / 1 incremental / 5 full --force or cold index)
npx -y @tipolink/mcp@latest map <file...>Compute Impact Map for target files (5 credits)
npx -y @tipolink/mcp@latest find-helper "<query>" --limit 30Search existing helpers (score >= 40, --limit required >= 30) and get canonical imports (1 credit)
npx -y @tipolink/mcp@latest guard [files...]Verify staged, modified, or explicitly listed files (2 credits incremental)
npx -y @tipolink/mcp@latest --versionPrint installed @tipolink/mcp version
npx -y @tipolink/mcp@latest --helpPrint all commands and flags
OptionApplies toPurpose
--dir <path>cloud commandsSelect the workspace folder
--api-url <url>cloud commandsOverride the Cloud API base URL
--api-key <key>cloud commandsPass an API key explicitly in CI scripts
--jsoninit, workspace, map, find-helper, guard, syncPrint machine-readable JSON output
--depth <n>mapNumber of inbound caller levels to follow
--limit <n>find-helperRequired maximum result count (integer >= 30, no implicit default)
--kind <kind>find-helperFilter matches by symbol kind
--from <file>find-helperResolve the import path relative to a file
--stagedguardInspect staged or modified sources
--hook-jsonguardRead editor hook payload from stdin

Subcommand names are case sensitive and there is no serve alias: the MCP server always starts with npx -y @tipolink/mcp@latest mcp.