How to Use the Epic Games Store Intelligence MCP in Mastra AI
Build resilient workflows that track the Epic Games Store. Mastra AI handles retries and branching logic for you.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Epic Games Store Intelligence MCP to Mastra AI
Create your Vinkius account to connect Epic Games Store Intelligence to Mastra AI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Build Unbreakable Price Trackers
This MCP Server exposes the tools to monitor Epic's catalog. You can build a Mastra AI workflow that runs `list_games_on_sale`, then iterates through the results calling `get_game_details` for each one. If an API call fails, Mastra's engine automatically retries with exponential backoff before notifying you. This lets you build a reliable daily process to populate your database with competitor pricing, minus the fragile scripts and manual oversight.
Create Smart Promotion Alerts
Set up a Mastra agent to run `get_free_games` on a schedule. Using Mastra's conditional logic, you can check IF a game from your watchlist appears, THEN trigger another action, like posting a summary to a Slack channel. This goes beyond simple notifications. Your agent can check `list_top_sellers` to see if a competitor's new title is climbing the charts and escalate the alert if it breaks the top 10. Mastra's workflow engine manages the entire stateful process.
Connect the Mastra AI MCP Server
The setup is straightforward. Instantiate `new MCPClient`, give it your Vinkius server URL, and Mastra handles the transport details automatically. All eight tools are immediately available to use as steps in your agent's workflow. You can also use `requireToolApproval` to add a human checkpoint. For example, an agent can find a new top seller with `list_top_sellers`, but pause and wait for your approval before it triggers a price change in your own system. It's automation with a safety net.
Set up Epic Games Store Intelligence MCP in Mastra AI
Prerequisites
- Node.js 18+ and a TypeScript project
-
@mastra/mcp+@mastra/corepackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
npm install @mastra/mcp @mastra/coreplus your preferred model provider (e.g.@ai-sdk/openai). - 2
Configure the MCPClient
Create an
MCPClientwith your Vinkius endpoint as aURLobject. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Discover and inject tools
Call
mcpClient.listTools()and spread the result into your agent'stoolsobject. All Epic Games Store Intelligence tools become native Mastra tools. - 4
Run with any model
Swap
openai("gpt-4o")for any AI SDK-compatible provider. Callagent.generate()and the agent routes tool calls through MCP automatically.
import { MCPClient } from "@mastra/mcp";
import { Agent } from "@mastra/core/agent";
import { openai } from "@ai-sdk/openai";
const mcpClient = new MCPClient({
id: "epic-games-store-intelligence-mcp-client",
servers: {
"epic-games-store-intelligence-mcp": {
url: new URL(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
),
},
},
});
const agent = new Agent({
name: "Epic Games Store Intelligence Agent",
model: openai("gpt-4o"),
instructions: "You have access to Epic Games Store Intelligence tools.",
tools: {
...(await mcpClient.listTools()),
},
});
const result = await agent.generate(
"List recent Epic Games Store Intelligence transactions"
);
console.log(result.text); Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Epic Games Store. 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 Epic Games Store Intelligence MCP in Mastra AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Epic Games Store Intelligence MCP today
We host it, we monitor it, we maintain it. You just paste one token.