How to Use the Funil de Vendas MCP in Mastra AI
Build failure-proof sales workflows for Funil de Vendas with Mastra AI. Automate your pipeline, from creation to close.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Funil de Vendas MCP to Mastra AI
Create your Vinkius account to connect Funil de Vendas 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.
Automate Opportunity Creation
Stop manually creating deals. Build a Mastra AI workflow that triggers when a new lead arrives, automatically runs `create_person` and `create_company`, and then uses the returned IDs to fire `create_opportunity`. Here's the thing — Mastra's engine adds reliability. If an API call to Funil de Vendas fails, it automatically retries with backoff. You don't have to write that logic; you just define the steps, and your pipeline keeps moving.
Design Resilient Workflows for Mastra AI
Go beyond simple automation. Create conditional workflows that react to your data. For example, a workflow can `get_opportunity`, check its value, and if it's over a certain threshold, use `update_opportunity` to flag it for manager review. This MCP server gives you the tools, and Mastra AI provides the brain. You can build a process that checks for valid sales stages using `list_funnels` before attempting an update, preventing bad data from ever entering your CRM.
Schedule Automated Pipeline Reports
Get your weekend back. Set up a scheduled Mastra AI agent that runs every Friday night. The agent calls `list_opportunities` to get all open deals and `get_people_stats` for an activity summary, then formats a report and sends it to your team. Because it's a managed workflow, you don't need to worry about the server or environment. You define the job once, deploy it, and the reports just show up. It’s a simple way to keep everyone in the loop without lifting a finger.
Set up Funil de Vendas 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 Funil de Vendas 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: "funil-de-vendas-mcp-client",
servers: {
"funil-de-vendas-mcp": {
url: new URL(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
),
},
},
});
const agent = new Agent({
name: "Funil de Vendas Agent",
model: openai("gpt-4o"),
instructions: "You have access to Funil de Vendas tools.",
tools: {
...(await mcpClient.listTools()),
},
});
const result = await agent.generate(
"List recent Funil de Vendas 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 Funil de Vendas. 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 Funil de Vendas MCP in Mastra AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Funil de Vendas MCP today
We host it, we monitor it, we maintain it. You just paste one token.