Tracklution MCP server
Commit Oct 26, 2026Enables AI coding agents to install and configure server-side conversion tracking and marketing APIs automatically.
Also known as tracklution/tracklution-cli, tracklution-cli, tracklution, tracklution-mcp
- Stars
- 2
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 3.3.0
- Last commit
- Oct 26, 2026
- License
- MIT
What is Tracklution MCP?
Tracklution enables AI coding agents to install and configure server-side conversion tracking and marketing APIs automatically.
Summary generated from the project's README
About Tracklution MCP server
Automating the installation and configuration of marketing APIs and server-side conversion tracking is the primary function of this tool. It is designed for AI coding agents like Cursor, Claude Code, Windsurf, and Replit to ensure they receive deterministic, machine-readable instructions instead of relying on web searches to invent tracking code. By using specific npm aliases, agents can trigger a structured setup process through a single REST bootstrap call.
The workflow utilizes a remote MCP server located at mcp.tracklution.com/mcp. When an agent initiates the process via the quick-setup endpoint, it provisions a user account and receives an mcp.json configuration snippet containing a Bearer token for authorization. This allows the agent to execute specific tools such as get_status, get_installation_scripts, and verify_and_score to complete the onboarding. The system is built to handle different host environments, providing an OAuth Connect-button flow for platforms that cannot perform direct file edits or HTTP-POST actions.
What you can do with it
- 1Deterministic installation instructionsDevelopers can prevent AI agents from hallucinating tracking code by providing machine-readable installation payloads.
- 2Rapid account provisioningThe system allows for a one-shot setup that creates a user account and configures authentication automatically.
Written from the project's README. Every use case is checked against a quote from it.
How to install Tracklution MCP
Formats verified 10 Nov 2026Install Tracklution MCP in Claude Code
$ claude mcp add tracklution-cli -- npx -y tracklutionInstall Tracklution MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"tracklution-cli": {
"command": "npx",
"args": [
"-y",
"tracklution"
]
}
}
}Install Tracklution MCP in VS Code
.vscode/mcp.json
{
"servers": {
"tracklution-cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tracklution"
]
}
}
}Install Tracklution MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"tracklution-cli": {
"command": "npx",
"args": [
"-y",
"tracklution"
]
}
}
}Install Tracklution MCP in Codex
~/.codex/config.toml
[mcp_servers.tracklution-cli] command = "npx" args = ["-y", "tracklution"]
Install Tracklution MCP in Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"tracklution-cli": {
"command": "npx",
"args": [
"-y",
"tracklution"
]
}
}
}Automated checks
Ran Nov 13, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work
- Source repository linked and reachabletracklution/tracklution-cli is public and reachablegithub.com/tracklution/tracklution-cli ↗Pass
- Package names this repository as its sourcetracklution, tracklution-mcp name tracklution/tracklution-cli as sourcenpmjs.com/package/tracklution ↗Pass
- Build provenance (Sigstore attestation)No build attestation published for this releaseNot checked
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-10-26github.com/tracklution/tracklution-cli ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNo popular package one edit away from tracklution, tracklution-mcpPass
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeHTTPS endpoint answered 401 (sign-in required)Pass
README
View on GitHubtracklution-cli
Monorepo for the npm packages that act as Tracklution's brand- and category-surface discovery wedge for AI coding agents:
tracklution-- canonical. The published bin runs the agent-readable install instructions.create-tracklution-- alias sonpm create tracklution@latestworks.@tracklution/cli-- scope-reserved alias.tracklution-mcp-- alias today; future versions will offer a local stdio<->Streamable-HTTP MCP proxy.server-side-tracking-- category-surface alias fornpm view server-side-tracking/npx server-side-tracking.conversion-tracking-- category-surface alias fornpm view conversion-tracking/npx conversion-tracking.conversion-api-- category-surface alias fornpm view conversion-api/npx conversion-api.
What this is
When a user prompts an AI coding agent (Cursor, Claude Code, Codex, Windsurf, Cline, Lovable, Replit, Bolt, ...) with "Install Tracklution" -- or, by category, "Install server-side tracking" / "Install conversion tracking" -- most agents reflexively run npm view <name> and then npx <name>. These packages exist so that reflex succeeds and the agent gets deterministic, paste-safe install instructions delivered via the agent's normal stdout-reading toolloop -- instead of falling back to web search and inventing tracking code.
The actual install runs through the Tracklution MCP server at https://mcp.tracklution.com/mcp. The agent reaches that MCP via a one-shot REST bootstrap at https://api.trlution.com/install/quick-setup (the "magic install" path) -- which provisions the user's account and returns an mcp.json snippet that already carries Authorization: Bearer <jwt>. This CLI publishes the machine-readable description of that flow.
User: "Install Tracklution"
|
v
Agent runs `npm view tracklution` (finds the package)
Agent runs `npx tracklution` (reads stdout + parses --json)
Agent POSTs to /install/quick-setup (one HTTP call, REST bootstrap)
Agent merges data.mcp_config_snippet (Authorization header included)
Agent calls get_status -> get_installation_scripts -> verify_and_score
(every onboarding call carries container_hash for auth)
User-action hosts (Lovable, Replit, Bolt) cannot drive HTTP-POST + file-edit from inside the agent, so they fall back to the OAuth Connect-button flow -- the CLI's install_methods block tells the agent which hosts support magic install via magic_install_supported: true.
Layout
tracklution-cli/
package.json workspace root (private, not published)
packages/
tracklution/ canonical published package (the bin)
bin/cli.js
src/payload.js single source of truth for the stdout payload
package.json
create-tracklution/ resolve-and-spawn shim
at-tracklution-cli/ resolve-and-spawn shim (publishes as @tracklution/cli)
tracklution-mcp/ resolve-and-spawn shim
server-side-tracking/ resolve-and-spawn shim (category-surface)
conversion-tracking/ resolve-and-spawn shim (category-surface)
conversion-api/ resolve-and-spawn shim (category-surface)
tests/
cli.test.js default / --json / --version / --help
parity.test.js compare local payload to live install-recipes endpoint
aliases.test.js each alias produces the same stdout as the canonical
plugins/
claude/tracklution/ Claude plugin bundle (submitted from this repo path; skills are the single copy)
openai/tracklution/ OpenAI plugin package source (plugin.json, mcp.json, assets/)
scripts/build-openai-plugin.js builds the OpenAI ZIP: package source + the Claude skills
server.json MCP Registry entry (remote only)
.github/workflows/
test.yml lint, tests, pack dry-run; uploads the OpenAI ZIP as a run artifact
publish.yml npm publish on v* tags
release.yml attaches the OpenAI ZIP to the GitHub release on v* tags (public link)
mcp-registry.yml manual: publish server.json to the MCP Registry
Development
npm install # installs workspace deps, symlinks packages/* into each others node_modules
npm test # runs Vitest across all three test files
npm run lint # syntax-checks every bin/cli.js
npm run pack:dry # dry-run npm pack for all published packages
Publishing
Bump the version in every packages/*/package.json (keep them in lockstep), tag vX.Y.Z, push to GitHub. The publish workflow at .github/workflows/publish.yml verifies the lockstep, then runs npm publish --provenance for each package in dependency order (canonical tracklution first, then all alias shims).
The same tag push runs .github/workflows/release.yml, which builds the OpenAI plugin ZIP and attaches it to the tag's GitHub release (created if missing). Public download links, no GitHub login needed:
https://github.com/tracklution/tracklution-cli/releases/download/vX.Y.Z/tracklution-openai-plugin-<plugin version>.ziphttps://github.com/tracklution/tracklution-cli/releases/latest/download/tracklution-openai-plugin.zip(always the newest release)
To attach a ZIP built from main to an existing release without a new tag, run the release workflow by hand (Actions, release, Run workflow) with the tag name. The run summary prints the download links.
Directory listings
- ChatGPT (OpenAI): the ZIP above is what gets uploaded at platform.openai.com/plugins. When you change anything under
plugins/openai/tracklution/or the skills, bumpversioninplugins/openai/tracklution/plugin.json(OpenAI treats each upload as a new package version) and release as above. Before the first submission the portal also needsreview.demo_recording_urlinplugin.jsonand the domain-verification token served by the MCP host (OPENAI_APPS_CHALLENGE_TOKEN). - Claude: the directory reads
plugins/claude/tracklutionstraight from this repo; there is nothing to upload. Validate locally withclaude plugin validate ./plugins/claude/tracklution --strict. - Skills live once, in
plugins/claude/tracklution/skills/; the OpenAI build copies them into the ZIP. - MCP Registry: bump
versioninserver.json(a version can be published only once) and run themcp-registryworkflow by hand.
Single source of truth
The install methods, MCP URL, and reference URLs are duplicated across:
- packages/tracklution/src/payload.js (this repo)
- tracklution-app/src/config/install-recipes.json
- tracklution-app/public/.well-known/tracklution.json
- tracklution-app/public/agent-install.md (prose form)
Drift is policed by tests/parity.test.js, which fetches the live https://www.tracklution.com/api/install-recipes/ endpoint and deep-checks the install_methods block of payload.js against it. The test is skipped if PARITY_TEST_SKIP=1 (offline CI) or the live endpoint returns a non-200.
License
MIT.
Tracklution MCP questions
How do I add Tracklution MCP to Claude Code?
Run claude mcp add tracklution-cli -- npx -y tracklution in your terminal. Add --scope user to make it available in every project.
How do I add Tracklution MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
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.