How to Use the Gong MCP in LlamaIndex
Index Gong transcripts into LlamaIndex vector stores to build RAG pipelines grounded in real sales conversations.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Gong MCP to LlamaIndex
Create your Vinkius account to connect Gong to LlamaIndex and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Turn Gong transcripts into searchable indexes
Do not let your Gong sales data sit idle in a silo when building LlamaIndex applications. This MCP Server allows LlamaIndex to pull raw conversational data using `get_transcript` and convert it into vector embeddings for semantic search. Your LlamaIndex RAG pipeline can then query past customer calls to find exactly how reps handle pricing objections in Gong. The LlamaIndex agent retrieves the actual context from `get_call` instead of making up answers.
Ground LlamaIndex queries in sales metrics
Combine live Gong API data with your static LlamaIndex document stores. LlamaIndex uses `get_interaction_stats` to inject real-time Gong team performance metrics directly into your query engine. When you ask your LlamaIndex agent about team talk ratios, it queries the live Gong API instead of relying on outdated spreadsheets. It pairs this with `list_users` to attribute the Gong performance metrics to the right reps inside your LlamaIndex index.
Build a dynamic sales knowledge base
Keep your product marketing teams aligned with actual customer feedback using this MCP integration in LlamaIndex. LlamaIndex queries `list_trackers` to find which feature requests are trending in Gong and indexes those terms alongside your product specs. The LlamaIndex index updates dynamically by calling `list_calls` to ingest new Gong meetings daily. This ensures your LlamaIndex Q&A bots always use the latest customer feature requests from Gong.
Set up Gong MCP in LlamaIndex
Prerequisites
- Python 3.10+ installed
-
llama-index-tools-mcppackage - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
pip install llama-index-tools-mcp llama-index-llms-openai. The MCP tools package providesBasicMCPClientandMcpToolSpec. - 2
Connect with BasicMCPClient
Point
BasicMCPClientto your Vinkius endpoint URL. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. Supports SSE and Streamable HTTP transports. - 3
Convert to LlamaIndex tools
Call
mcp_tool_spec.to_tool_list_async()to convert all Gong MCP tools into nativeFunctionToolobjects that any LlamaIndex agent can use. - 4
Run with any LLM
Create a
FunctionAgentwith the tools and your preferred LLM. SwapOpenAIforAnthropic,Gemini, or any LlamaIndex-supported provider.
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
# Connect to the MCP
mcp_client = BasicMCPClient(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
)
mcp_tool_spec = McpToolSpec(client=mcp_client)
# Convert MCP tools to LlamaIndex tools
tools = await mcp_tool_spec.to_tool_list_async()
# Create and run the agent
agent = FunctionAgent(
tools=tools,
llm=OpenAI(model="gpt-4o"),
system_prompt="You have access to Gong tools.",
)
response = await agent.run("List recent Gong data") Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Gong. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
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 Gong MCP in LlamaIndex
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Gong MCP today
We host it, we monitor it, we maintain it. You just paste one token.