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)
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
Local Stdio MCP Bridge (tipolink)
Use this schema for local repositories so @tipolink/mcp@latest automatically extracts local structural deltas and exposes all 5 MCP tools including tipolink_sync:
{
"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) orclaude 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 Tool | Cost | Purpose |
|---|---|---|
tipolink_workspace | 0 credits (free) | List indexed workspaces, check active workspace status, or bind a local directory / workspace ID |
tipolink_sync | 0 / 1 / 5 credits | Incremental metadata sync (force: false default: 0 no-op, 1 for <10 changes, 5 cold/>=10 or force: true full replace) |
tipolink_map | 5 credits | Compute downstream Impact Map (direct and transitive callers, outbound links, co-imports) |
tipolink_find_helper | 1 credit | Search exported workspace symbols and return canonical relative import statements |
tipolink_guard | 2 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:
| Command | Purpose | ||
|---|---|---|---|
npx -y @tipolink/mcp@latest init | Install or update global ~/.agents/skills/tipolink/SKILL.md (zero repo files written) | ||
npx -y @tipolink/mcp@latest mcp | Start 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 30 | Search 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 --version | Print installed @tipolink/mcp version | ||
npx -y @tipolink/mcp@latest --help | Print all commands and flags |
| Option | Applies to | Purpose |
|---|---|---|
--dir <path> | cloud commands | Select the workspace folder |
--api-url <url> | cloud commands | Override the Cloud API base URL |
--api-key <key> | cloud commands | Pass an API key explicitly in CI scripts |
--json | init, workspace, map, find-helper, guard, sync | Print machine-readable JSON output |
--depth <n> | map | Number of inbound caller levels to follow |
--limit <n> | find-helper | Required maximum result count (integer >= 30, no implicit default) |
--kind <kind> | find-helper | Filter matches by symbol kind |
--from <file> | find-helper | Resolve the import path relative to a file |
--staged | guard | Inspect staged or modified sources |
--hook-json | guard | Read 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.