How to Use the Gainsight PX MCP in Claude Code
Run headless product analytics syncs from your terminal with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Gainsight PX MCP to Claude Code
Create your Vinkius account to connect Gainsight PX to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Batch Operations via CLI
The `list_px_accounts` tool allows Claude Code to audit your entire customer base from the command line. You run a prompt asking to find accounts missing a specific property. The agent pages through the API, filters the JSON, and outputs a clean list to your terminal. When it finds outdated records, it fixes them. You pipe a CSV of updated subscription tiers to the agent. It reads the file and fires `identify_px_account` for every row. Your product data stays current without touching a web UI.
CI/CD Health Checks via MCP Server
The `verify_api_connection` tool lets this MCP Server run pre-deployment health checks in your pipeline. Claude Code runs in headless mode during your GitHub Actions build. It checks the token validity before deploying. If the connection passes, it calls `get_my_identity` to confirm the pipeline targets the staging environment, not production. You get automated safety checks for your product tracking infrastructure.
Log Parsing & Tracking
The `track_server_event` tool lets Claude Code backfill missed events directly from your server logs. You point the agent at your Nginx logs and tell it what to look for. For every match, it extracts the email, calls `identify_px_user` to get the internal ID, and sends the custom event. The agent handles the sequential API calls. You just watch the progress bar in your shell.
Set up Gainsight PX MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seegainsight-px-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Gainsight PX transactions." It will automatically discover and invoke the available Gainsight PX tools.
claude mcp add --transport http gainsight-px-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Gainsight PX MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Gainsight PX MCP today
We host it, we monitor it, we maintain it. You just paste one token.