How to Use the AT&T 5G MCP in LlamaIndex
Index live AT&T 5G network data and query it with your LlamaIndex RAG application.
Works with every AI agent you already use
…and any MCP-compatible client
Connect AT&T 5G MCP to LlamaIndex
Create your Vinkius account to connect AT&T 5G 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.
Index Your Network State
Don't just call the API; index the results. Use this MCP Server to run tools like `get_network_slice_info` and `list_network_sessions` periodically. LlamaIndex will automatically ingest the output—SLA parameters, device lists, session data—into a vector store. Now you have a searchable history of your network's state. Instead of just getting a point-in-time snapshot, you can ask your RAG app questions like "What were the SLA parameters for the 'enterprise-main' slice last Tuesday?" and get an answer grounded in actual data.
Ground Security Alerts in Facts
Connect your LlamaIndex agent to the AT&T 5G tools. When a potential fraud alert comes in, the agent can call `check_sim_swap` and `get_device_location`. The results—days since last swap, approximate location—are indexed immediately. This creates a rich, queryable context for every security event. Your support team can then ask "Show me all users who had a SIM swap and a location change greater than 500 miles in the last 24 hours." LlamaIndex retrieves the indexed tool outputs, giving you a list of high-risk accounts.
Index and Query QoS Sessions
Your agent can use `request_quality_on_demand` to boost network performance for critical tasks. But with LlamaIndex, the session ID and profile (`low_latency`, `high_throughput`) are indexed for later analysis. You're building a log of every time you requested premium quality. This turns API calls into a business intelligence tool. You can query your index to find out "How many `low_latency` sessions did we use during the Q3 product launch?" or "Which device groups requested `high_throughput` the most?" This MCP provides the data; LlamaIndex makes it smart.
Set up AT&T 5G 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 AT&T 5G 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 AT&T 5G tools.",
)
response = await agent.run("List recent AT&T 5G data") Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by AT&T 5G. 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 AT&T 5G MCP in LlamaIndex
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the AT&T 5G MCP today
We host it, we monitor it, we maintain it. You just paste one token.