How to Use the Gainsight CS MCP in Claude Code
Automate Gainsight CS reports and tasks from the command line with Claude Code. Built for cron jobs, shell scripts, and CI/CD.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Gainsight CS MCP to Claude Code
Create your Vinkius account to connect Gainsight CS 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.
Run Headless Reports in Seconds
Pulling a list of at-risk accounts is now a one-liner. Pipe commands together in your terminal to get exactly what you need. `claude gainsight-cs list_customer_companies --json | jq '.[] | select(.health_score < 40)'` gives you an instant, machine-readable list. This is about getting raw data, fast. No UI, no clicks. It's perfect for feeding data into other scripts or for quick checks without leaving your terminal. You can query companies, people, tasks, and CTAs.
Automate Timeline Logging for CI/CD
When your deployment pipeline finishes a job related to a customer, it can automatically log the event. Just add a step that calls `claude gainsight-cs log_timeline_activity --note 'Deployed v2.3 to production tenant.'`. Your Gainsight CS timeline becomes the single source of truth for engineering and success teams. Technical events are recorded right alongside customer calls, giving everyone a complete picture. This MCP approach connects your systems.
Schedule Nightly Health Checks with Claude Code
You can write a simple shell script that uses Claude Code to monitor key accounts. Have it loop through a list of VIPs, run `get_company_health` for each, and send an alert if any score has dropped overnight. Set it up as a cron job, and you've built a completely automated monitoring system. This is how you use an MCP server to get proactive about churn risk without any manual effort.
Set up Gainsight CS 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-cs-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Gainsight CS transactions." It will automatically discover and invoke the available Gainsight CS tools.
claude mcp add --transport http gainsight-cs-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 CS 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 CS MCP today
We host it, we monitor it, we maintain it. You just paste one token.