How to Use the Datanyze MCP in Mastra AI
Automate B2B lead enrichment workflows using Mastra AI and this Datanyze MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Datanyze MCP to Mastra AI
Create your Vinkius account to connect Datanyze 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.
Enrich leads automatically with Mastra AI
`get_domain_contacts` pulls professional profiles, job titles, and departments for decision-makers at any target domain. This tool runs inside your autonomous enrichment flows to find the right people to pitch. Mastra AI handles the logic, meaning if a contact lookup fails, the framework automatically retries with exponential backoff. You get a reliable way to build contact lists without babysitting API calls.
Map out market competitors autonomously
`list_competitor_domains` locates companies with similar technographic setups to identify direct market rivals. It pairs with `get_domain_traffic_rank` to evaluate the relative size of each competitor. You can write a Mastra AI workflow that triggers this lookup whenever a new company signs up, instantly classifying their market position. The framework executes these steps sequentially, saving the output directly to your database.
Audit software stacks using this MCP Server
`get_domain_intelligence` retrieves website metadata and active software stacks for any target domain. This tool lets your agent determine exactly what software tools a prospect currently runs. By feeding this MCP Server tool into your Mastra AI agent, you can branch your workflow based on the technologies found. If they use a rival platform, your agent routes them to a specific high-priority sales campaign.
Set up Datanyze 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 Datanyze 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: "datanyze-mcp-client",
servers: {
"datanyze-mcp": {
url: new URL(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
),
},
},
});
const agent = new Agent({
name: "Datanyze Agent",
model: openai("gpt-4o"),
instructions: "You have access to Datanyze tools.",
tools: {
...(await mcpClient.listTools()),
},
});
const result = await agent.generate(
"List recent Datanyze 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 Datanyze. 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 Datanyze MCP in Mastra AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Datanyze MCP today
We host it, we monitor it, we maintain it. You just paste one token.