Lago MCP Server for CursorGive Cursor instant access to 12 tools to Apply Coupon, Batch Events, Create Billable Metric, and more
Cursor is an AI-first code editor built on VS Code that integrates LLM-powered coding assistance directly into the development workflow. Its Agent mode enables autonomous multi-step coding tasks, and MCP support lets agents access external data sources and APIs during code generation.
Ask AI about this MCP Server for Cursor
The Lago MCP Server for Cursor is a standout in the Money Moves 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
{
"mcpServers": {
"lago": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
}Vinkius Desktop App
The modern way to manage MCP Servers — no config files, no terminal commands. Install Lago and 4,000+ MCP Servers from a single visual interface.





* 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 Lago MCP Server
Connect Lago to your AI agent to automate your metering and billing infrastructure. Lago is the open-source alternative to Stripe Billing, designed for complex usage-based pricing models.
Cursor's Agent mode turns Lago into an in-editor superpower. Ask Cursor to generate code using live data from Lago and it fetches, processes, and writes. all in a single agentic loop. 12 tools appear alongside file editing and terminal access, creating a unified development environment grounded in real-time information.
What you can do
- Customer Management — Create and update customer profiles with
upsert_customerand retrieve details withget_customer. - Subscription Lifecycle — Assign plans to customers using
create_subscriptionand monitor them withget_subscription. - Billing Infrastructure — Define billing plans with
create_planand set upcreate_billable_metricto track consumption. - Usage Tracking — Send real-time usage data with
send_eventorbatch_eventsto trigger accurate billing. - Financial Operations — Manage wallets, apply coupons, and list invoices to keep your revenue operations running smoothly.
The Lago MCP Server exposes 12 tools through the Vinkius. Connect it to Cursor in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 12 Lago tools available for Cursor
When Cursor connects to Lago through Vinkius, your AI agent gets direct access to every tool listed below — spanning usage-based-billing, metering, saas-metrics, 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.
Apply coupon on Lago
Apply a coupon to a customer
Batch events on Lago
Send a batch of usage events
Create billable metric on Lago
Create a billable metric
Create coupon on Lago
Create a coupon
Create plan on Lago
Create a new billing plan
Create subscription on Lago
Assign a plan to a customer (create subscription)
Create wallet on Lago
Create a wallet for prepaid credits
Get customer on Lago
Retrieve a customer by external ID
Get subscription on Lago
Retrieve a subscription by external ID
List invoices on Lago
List all invoices
Send event on Lago
Send a usage event
Upsert customer on Lago
Requires an external_id. Create or update a customer in Lago
Connect Lago to Cursor via MCP
Follow these steps to wire Lago into Cursor. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Open MCP Settings
Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"Add the server config
mcp.json file that opensSave the file
Start using Lago
Why Use Cursor with the Lago MCP Server
Cursor AI Code Editor provides unique advantages when paired with Lago through the Model Context Protocol.
Agent mode turns Cursor into an autonomous coding assistant that can read files, run commands, and call MCP tools without switching context
Cursor's Composer feature can generate entire files using real-time data fetched through MCP. no copy-pasting from external dashboards
MCP tools appear alongside built-in tools like file reading and terminal access, creating a unified agentic environment
VS Code extension compatibility means your existing workflow, keybindings, and extensions all work alongside MCP tools
Lago + Cursor Use Cases
Practical scenarios where Cursor combined with the Lago MCP Server delivers measurable value.
Code generation with live data: ask Cursor to generate a security report module using live DNS and subdomain data fetched through MCP
Automated documentation: have Cursor query your API's tool schemas and generate TypeScript interfaces or OpenAPI specs automatically
Infrastructure-as-code: Cursor can fetch domain configurations and generate corresponding Terraform or CloudFormation templates
Test scaffolding: ask Cursor to pull real API responses via MCP and generate unit test fixtures from actual data
Example Prompts for Lago in Cursor
Ready-to-use prompts you can give your Cursor agent to start working with Lago immediately.
"Create a new customer in Lago with external ID 'user_123' and email 'dev@example.com'."
"Show me the subscription details for ID 'sub_98765'."
"List all invoices for my Lago account."
Troubleshooting Lago MCP Server with Cursor
Common issues when connecting Lago to Cursor through Vinkius, and how to resolve them.
Tools not appearing in Cursor
Server shows as disconnected
Lago + Cursor FAQ
Common questions about integrating Lago MCP Server with Cursor.
What is Agent mode and why does it matter for MCP?
Where does Cursor store MCP configuration?
mcp.json file. You can configure servers at the project level (.cursor/mcp.json in your project root) or globally (~/.cursor/mcp.json). Project-level configs take precedence.Can Cursor use MCP tools in inline edits?
How do I verify MCP tools are loaded?
Explore More MCP Servers
View all →
Heybox
10 toolsAccess Heybox (小黑盒) gamer database — track Steam/PUBG/CS2 statistics and monitor community trends directly from any AI agent.

Everfit Coaching
10 toolsEquip your AI agent to manage coaching clients, track workout plans, and monitor performance via the Everfit API.

DBeaver (CloudBeaver)
19 toolsManage database connections, users, and server configurations via CloudBeaver's API — inspect drivers, manage teams, and query server status directly.

NewsAPI
10 toolsSearch breaking news and historical articles from 150,000+ sources via NewsAPI.org.
