# Gainsight PX MCP for AI Agents AI Agent Connect

> Gainsight PX MCP lets you manage product experience and user behavior directly through your AI agent. It handles account and user profile syncing, lets you log server-side events, and pulls engagement data like in-app guides and surveys. It's the bridge between your product analytics and your agent's ability to act on that data.

## Overview
- **Category:** marketing-automation
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_zpxhuSDqIwhJzOXt4L4O1lB53vte6W8EY1ZNPcTy/ai-agent-connect
- **Tags:** product-analytics, in-app-engagement, product-led-growth, user-behavior, adoption-metrics, event-tracking

## Description

Imagine you're trying to figure out why a specific group of users isn't adopting a new feature. Usually, you'd have to jump into a dashboard, filter by account type, check their last activity, and then manually cross-reference that with your engagement records. It's a lot of context switching. This Connector changes that by letting your AI agent do the heavy lifting. You can ask your agent to find specific users based on their behavior, update their profiles on the fly, or see which in-app guides are actually live. It pulls your product experience data into your workspace so you can make decisions based on real-time usage instead of outdated spreadsheets. It's one of the best ways to keep your data actionable without leaving your primary dev or management tool. Vinkius makes it easy to get this connected so your agent can actually see what's happening inside your app.

## Tools

### get_my_identity
Fetch the profile for your current account. This helps the agent understand the context of the active session.

### get_user_details
Grab detailed information about a specific user. It's the quickest way to see a user's history and profile data.

### identify_px_account
Sync a new account profile to your Gainsight PX environment. This ensures future events are attributed to the correct company.

### identify_px_user
Map a user profile to your Gainsight PX system. Use this to keep your identity mapping accurate as users sign up.

### verify_api_connection
Check if your connection to Gainsight PX is active. This ensures your agent has the right permissions before you start a task.

### get_account_details
Pull specific metadata for a given account. Use this to see high-level details about a customer's setup.

### list_px_accounts
Search for and list all accounts in your PX environment. This is great for auditing your current customer base.

### list_px_engagements
See all active in-app guides, sliders, and surveys. This lets you monitor your current communication strategy.

### list_product_features
View every product feature currently being tracked. Use this to check your instrumentation coverage.

### list_px_products
Pull a list of all products in your PX instance. This helps you navigate multi-product environments.

### list_px_users
Query your user list based on specific filters. Use this to find active users or those who need attention.

### track_server_event
Log a custom interaction event from your backend. This lets you enrich your data without needing client-side code.

## Prompt Examples

**Prompt:** 
```
Show me the details for account 'Acme Corp' with ID 'acc_123'.
```

**Response:** 
```
I've pulled the details for **Acme Corp** (ID: acc_123):

*   **Status:** Active
*   **Plan:** Enterprise
*   **Users:** 42
*   **Last Activity:** 2 hours ago

Would you like to see the specific user profiles associated with this account?
```

**Prompt:** 
```
List all the in-app guides we have running right now.
```

**Response:** 
```
Here are the active in-app engagements currently live:

| Guide Name | Type | Target Segment |
| :--- | :--- | :--- |
| Welcome Tour | Guide | New Users |
| Upgrade Prompt | Slider | Free Tier |
| Feedback Survey | Survey | Power Users |

Let me know if you want to see the specific metrics for any of these.
```

**Prompt:** 
```
Log a 'Subscription Renewed' event for user 'user_99'.
```

**Response:** 
```
Done! I've logged the **Subscription Renewed** event for **user_99**. This will now appear in your product usage analytics and contribute to their activity history.
```

## Capabilities

### Sync user profiles
Map new users to your Gainsight PX environment automatically.

### Update account metadata
Keep your customer account profiles accurate with real-time updates.

### Log backend events
Capture custom interaction events without needing to write client-side code.

### View in-app guides
See every active slider, survey, and guide currently running in your app.

### Find specific users
Query your user list to find people who need attention or haven't finished onboarding.

### Check feature tracking
Verify which product features are currently being captured by your analytics.

## Use Cases

### Automated Account Syncing
A Growth Engineer asks the agent to find 50 new accounts from a list and sync them to Gainsight PX using identify_px_account.

### Adoption Audit
A Product Manager asks the agent to find all users who haven't seen a specific in-app guide using list_px_engagements.

### Real-time Metadata Check
A CSM Ops member asks the agent to check if a specific customer has hit their seat limit via get_account_details.

### Backend Event Logging
An engineer asks the agent to log a 'Subscription Renewed' event for a specific user using track_server_event.

## Benefits

- Stop jumping between tabs to find user data. Use list_px_users and get_user_details to see everything in one chat.
- Keep your identity mapping accurate automatically. Use identify_px_user and identify_px_account to sync profiles without manual entry.
- Track behavior without extra frontend work. Use track_server_event to log backend interactions directly to your analytics.
- Audit your in-app content instantly. Use list_px_engagements to see what guides and surveys are currently live.
- Verify your tracking coverage. Use list_product_features to ensure your team is actually capturing the right data points.

## How It Works

The bottom line is you get a direct line to your product experience data inside your favorite AI chat.

1. Subscribe to the Gainsight PX MCP on the Vinkius Marketplace.
2. Enter your Gainsight PX Region and API Key into your AI client configuration.
3. Ask your agent to pull user stats, log events, or audit your in-app guides.

## Frequently Asked Questions

**Can I use the Gainsight PX MCP to see which users are active?**
Yes, you can query your entire user list and get specific profile details for any user you find.

**How do I sync new users to Gainsight PX using an AI agent?**
The Connector includes tools to identify and sync both users and accounts, so your agent can update your profiles as new people sign up.

**Can I track backend events with this Connector?**
Yes, you can use the server-side event tracking tool to log custom interactions directly from your backend without writing frontend code.

**Does this Connector support both US and EU data regions?**
Yes, it supports both regions so you can connect to your specific Gainsight PX data center.

**How does this help with product adoption?**
It lets your agent pull real-time engagement data and user behavior, so you can quickly identify which users are struggling with your product.

**Can I see what features are currently being tracked?**
Yes, you can list all product features to check your instrumentation coverage and see what data is flowing into your analytics.

**How do I get an API Key for Gainsight PX?**
Log in to Gainsight PX, go to Administration > Products, select your product, and you will find the API Key in the product settings.

**Which region should I select?**
Select 'US' if your account is hosted at api.aptrinsic.com, or 'EU' if it is hosted at api-eu.aptrinsic.com.

**Can I identify new users through the agent?**
Yes! Use the 'identify_px_user' tool and provide a unique 'identifyId'. The agent will create or update the user profile in Gainsight PX instantly.

**Does this server support tracking custom events?**
Yes, the 'track_server_event' tool allows you to log custom behavioral events for any identified user directly from your backend or chat interface.