KosmoKrator

sales

Gainsight MCP, CLI, and Lua Integration for AI Agents

Gainsight integration docs for AI agents: MCP gateway setup, Gainsight CLI commands, Lua API reference, credentials, and function schemas.

7 functions 7 read 0 write Manual OAuth token auth

Gainsight for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
gainsight
route_slug
gainsight
package
gainsight
auth_strategy
oauth2_manual_token Manual OAuth token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Gainsight MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Gainsight.

Gainsight CLI Matrix

Use these pages for direct Gainsight CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
gainsight.gainsight_list_companies Read read 3 List companies from Gainsight. Returns company details including name, industry, ARR, health score, and lifecycle stage.
gainsight.gainsight_get_company Read read 1 Get detailed information about a specific company in Gainsight, including health score, ARR, lifecycle stage, and CSM assignment.
gainsight.gainsight_list_users Read read 3 List users in the Gainsight tenant. Returns user details including name, email, role, and last active date.
gainsight.gainsight_get_user Read read 1 Get detailed information about a specific user in Gainsight, including role, assigned accounts, and activity data.
gainsight.gainsight_list_surveys Read read 3 List surveys from Gainsight. Returns survey details including name, type, status, response count, and creation date.
gainsight.gainsight_get_survey Read read 1 Get detailed information about a specific survey in Gainsight, including questions, response statistics, and distribution settings.
gainsight.gainsight_get_current_user Read read 0 Get the currently authenticated Gainsight user profile. Useful for verifying credentials and understanding whose data is being accessed.