# Tracklution MCP server

> Enables AI coding agents to install and configure server-side conversion tracking and marketing APIs automatically.

- Repository: https://github.com/tracklution/tracklution-cli
- Page: https://hostedmcp.org/servers/tracklution/tracklution-cli
- Transport: stdio, remote
- Stars: 2
- License: MIT
- Latest version: 3.3.0

## Install

### Claude Code

```sh
claude mcp add tracklution-cli -- npx -y tracklution
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "tracklution-cli": {
      "command": "npx",
      "args": [
        "-y",
        "tracklution"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "tracklution-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tracklution"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"tracklution-cli","type":"stdio","command":"npx","args":["-y","tracklution"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "tracklution-cli": {
      "command": "npx",
      "args": [
        "-y",
        "tracklution"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add tracklution-cli -- npx -y tracklution
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.tracklution-cli]
command = "npx"
args = ["-y", "tracklution"]
```

### Gemini CLI

```sh
gemini mcp add -s user tracklution-cli npx -- -y tracklution
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "tracklution-cli": {
      "command": "npx",
      "args": [
        "-y",
        "tracklution"
      ]
    }
  }
}
```

## FAQ

### How do I install Tracklution using an AI agent?

You can prompt an AI agent like Cursor or Claude Code to 'Install Tracklution' or 'Install server-side tracking', and it will use the provided npm packages to execute the installation.

### Does this support magic installation for web-based AI hosts?

Yes, for hosts like Lovable, Replit, or Bolt that cannot perform file edits, the system falls back to an OAuth Connect-button flow.

### What is the purpose of the various npm packages in the monorepo?

The packages act as discovery wedges so that AI agents find deterministic, paste-safe install instructions instead of inventing tracking code via web search.
