sales
Gainsight MCP Integration for OpenAI Agents SDK
Connect Gainsight to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Gainsight to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Gainsight MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-gainsight": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=gainsight",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=gainsight --write=deny Why Use KosmoKrator Here
Expose only Gainsight instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Gainsight Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Gainsight integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__gainsight__gainsight_list_companies | gainsight.gainsight_list_companies | Read | List companies from Gainsight. Returns company details including name, industry, ARR, health score, and lifecycle stage. |
integration__gainsight__gainsight_get_company | gainsight.gainsight_get_company | Read | Get detailed information about a specific company in Gainsight, including health score, ARR, lifecycle stage, and CSM assignment. |
integration__gainsight__gainsight_list_users | gainsight.gainsight_list_users | Read | List users in the Gainsight tenant. Returns user details including name, email, role, and last active date. |
integration__gainsight__gainsight_get_user | gainsight.gainsight_get_user | Read | Get detailed information about a specific user in Gainsight, including role, assigned accounts, and activity data. |
integration__gainsight__gainsight_list_surveys | gainsight.gainsight_list_surveys | Read | List surveys from Gainsight. Returns survey details including name, type, status, response count, and creation date. |
integration__gainsight__gainsight_get_survey | gainsight.gainsight_get_survey | Read | Get detailed information about a specific survey in Gainsight, including questions, response statistics, and distribution settings. |
integration__gainsight__gainsight_get_current_user | gainsight.gainsight_get_current_user | Read | Get the currently authenticated Gainsight user profile. Useful for verifying credentials and understanding whose data is being accessed. |