ProfitWell MCP Server for Mastra AIGive Mastra AI instant access to 12 tools to Churn Subscription, Create Subscription, Exclude Customer, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect ProfitWell 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 for Mastra AI
The ProfitWell MCP Server for Mastra AI is a standout in the Industry Titans category — giving your AI agent 12 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
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: {
"profitwell": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "ProfitWell Agent",
instructions:
"You help users interact with ProfitWell " +
"using 12 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with ProfitWell?"
);
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 ProfitWell MCP Server
Connect your ProfitWell (Paddle Metrics) account to any AI agent and take full control of your subscription revenue orchestration through natural conversation. ProfitWell provides a world-class platform for subscription intelligence, and this integration allows you to retrieve real-time metrics (MRR, Churn, LTV), manage customer history, and update subscription data directly from your chat interface.
Mastra's agent abstraction provides a clean separation between LLM logic and ProfitWell tool infrastructure. Connect 12 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
- Metric & Revenue Orchestration — Retrieve monthly and daily subscription metrics programmatically to maintain a clear overview of your business growth.
- Customer Lifecycle Intelligence — Access and monitor detailed customer history, including subscription changes and churn events directly from the AI interface.
- Subscription & Manual Data Control — Create, update, and 'un-churn' subscriptions via natural language to keep your revenue data synchronized.
- Retention & LTV Monitoring — Retrieve retention metrics and customer lifetime value (LTV) metadata to ensure your unit economics are always optimized.
- Operational Monitoring — Track system health and manage plan metadata using simple AI commands.
The ProfitWell MCP Server exposes 12 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 12 ProfitWell tools available for Mastra AI
When Mastra AI connects to ProfitWell through Vinkius, your AI agent gets direct access to every tool listed below — spanning subscription-metrics, churn-analysis, mrr-tracking, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Churn subscription on ProfitWell
Mark churn event
Create subscription on ProfitWell
Add new subscriber
Exclude customer on ProfitWell
g. test accounts). Exclude from metrics
Get account status on ProfitWell
Get API status
Get customer history on ProfitWell
Get billing history
Get customer ltv on ProfitWell
Get Lifetime Value
Get daily metrics on ProfitWell
Get daily growth stats
Get monthly metrics on ProfitWell
Get monthly financial stats
Get retention stats on ProfitWell
Get churn metrics
List subscription plans on ProfitWell
List product plans
Unchurn subscription on ProfitWell
Reverse a cancellation
Update subscription on ProfitWell
Update subscription
Connect ProfitWell to Mastra AI via MCP
Follow these steps to wire ProfitWell into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the ProfitWell MCP Server
Mastra AI provides unique advantages when paired with ProfitWell through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add ProfitWell 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 ProfitWell 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
ProfitWell + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the ProfitWell MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query ProfitWell, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed ProfitWell as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query ProfitWell on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using ProfitWell tools alongside other MCP servers
Example Prompts for ProfitWell in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with ProfitWell immediately.
"List all monthly metrics for my account."
"Show me our MRR trend for the last 6 months with churn and expansion breakdown."
"Identify the top 10 customers at risk of churning based on engagement and usage patterns."
Troubleshooting ProfitWell MCP Server with Mastra AI
Common issues when connecting ProfitWell to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpProfitWell + Mastra AI FAQ
Common questions about integrating ProfitWell 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?
Explore More MCP Servers
View all →
ChartMogul
8 toolsAnalyze subscription revenue and SaaS metrics via ChartMogul — track MRR, churn, and customer growth directly from any AI agent.

Couchbase (Vector & NoSQL)
7 toolsManage vector search and NoSQL via Couchbase — execute N1QL queries, perform KNN vector searches, and audit documents directly from any AI agent.

Superblocks
7 toolsBuild and manage internal tools and workflows — list applications, manage configurations, and generate secure embed tokens directly from your AI agent.

Moneybird
10 toolsManage your accounting via Moneybird — list invoices, track contacts, and oversee estimates directly from your AI agent.
