AT&T 5G MCP Server for Mastra AI 9 tools — connect in under 2 minutes
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect AT&T 5G through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"att-5g": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "AT&T 5G Agent",
instructions:
"You help users interact with AT&T 5G " +
"using 9 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with AT&T 5G?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About AT&T 5G MCP Server
Connect your AT&T 5G account to any AI agent and unlock the full power of Open Gateway / CAMARA-compliant network APIs through natural conversation.
Mastra's agent abstraction provides a clean separation between LLM logic and AT&T 5G tool infrastructure. Connect 9 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
What you can do
- Number Verify -- Silently confirm a user's phone number matches their current device without SMS OTP friction
- Device Location -- Get approximate geographic positioning via network-based cell tower triangulation (with user consent)
- SIM Swap Detection -- Detect recent SIM card changes to prevent account takeovers and fraud before they happen
- Quality on Demand -- Request guaranteed network profiles (low latency, high throughput, reliable transmission) for critical sessions
- Network Slicing -- Provision, monitor, and decommission dedicated 5G network slices with custom SLA parameters for enterprise use
- Roaming Status -- Check if a device is roaming on a foreign network and apply correct billing or routing rules
- Session Auditing -- List active and historical QoD sessions to audit premium service consumption
The AT&T 5G MCP Server exposes 9 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect AT&T 5G to Mastra AI via MCP
Follow these steps to integrate the AT&T 5G MCP Server with Mastra AI.
Install dependencies
Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save to agent.ts and run with npx tsx agent.ts
Explore tools
Mastra discovers 9 tools from AT&T 5G via MCP
Why Use Mastra AI with the AT&T 5G MCP Server
Mastra AI provides unique advantages when paired with AT&T 5G through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add AT&T 5G without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every AT&T 5G tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
AT&T 5G + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the AT&T 5G MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query AT&T 5G, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed AT&T 5G as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query AT&T 5G on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using AT&T 5G tools alongside other MCP servers
AT&T 5G MCP Tools for Mastra AI (9)
These 9 tools become available when you connect AT&T 5G to Mastra AI via MCP:
check_roaming_status
Use this to apply correct billing rates, trigger roaming alerts, or optimize routing for international travelers. Check if a device is currently roaming on a foreign network
check_sim_swap
Returns days since last swap or a boolean indicating recent activity. Use this to block account takeovers attempts, verify identity before password resets, or trigger step-up authentication. Detect if a SIM card has been swapped recently for fraud prevention
create_network_slice
Requires slice name, SLA profile, and target device group. Returns slice ID and provisioning status. Use this for IoT deployments, private enterprise networks, or guaranteed performance applications. Provision a new dedicated 5G network slice for an enterprise use case
delete_network_slice
Requires slice ID. Use this to clean up unused slices, reduce costs, or retire temporary deployments. Decommission and delete an existing 5G network slice
get_device_location
Requires user consent per CAMARA standards. Returns latitude, longitude, and accuracy radius in meters. Use this for geo-fencing, localized content delivery, or emergency services routing. Do not use for precise GPS tracking. Get approximate geographic location of an AT&T 5G device
get_network_slice_info
Includes SLA parameters, allocated resources, and connected devices. Use this to monitor slice health or verify enterprise SLA compliance. Get details of a specific 5G network slice
list_network_sessions
Use this to audit network usage, track premium service consumption, or troubleshoot active sessions. List active and historical network QoD sessions
request_quality_on_demand
Choose profiles like "low_latency" (gaming/VR), "high_throughput" (video), or "reliable_transmission" (IoT). Returns session ID and active duration. Use this to optimize real-time applications, prioritize critical downloads, or enhance remote worker connectivity. Request guaranteed network quality (low latency/high bandwidth) for a session
verify_number
Eliminates SMS OTP friction. Requires the phone number in E.164 format (e.g., +12125551234). Returns verification status and confidence score. Use this for seamless user onboarding, secure login, or fraud prevention. Silently verify a user's phone number without SMS OTP
Example Prompts for AT&T 5G in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with AT&T 5G immediately.
"Check if the phone number +12125551234 had a SIM swap in the last 7 days."
"Create a low-latency network slice called 'TradingFloor-Prime' for our enterprise deployment."
"Verify the phone number +14155559876 for user login without sending an SMS code."
Troubleshooting AT&T 5G MCP Server with Mastra AI
Common issues when connecting AT&T 5G to Mastra AI through the Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpAT&T 5G + Mastra AI FAQ
Common questions about integrating AT&T 5G MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Connect AT&T 5G with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect AT&T 5G to Mastra AI
Get your token, paste the configuration, and start using 9 tools in under 2 minutes. No API key management needed.
