How to Use the TOTVS MCP in Cursor
Write code against TOTVS APIs in Cursor, generating live data responses.
Works with every AI agent you already use
…and any MCP-compatible client
Connect TOTVS MCP to Cursor
Create your Vinkius account to connect TOTVS to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Query specific ERP records.
The tool `get_rm_data` lets your AI client query a precise record from any RM DataServer. You write the code; the agent fills in the data response for that record. This capability means you don't have to mock API calls anymore. The live TOTVS data gets injected straight into your function body, letting you build against real context.
List company and branch structures.
Need to know the full scope of a client? Use `list_companies` to get every legal entity and associated branch in the Protheus environment. This list is perfect for iterating over different operational units. When you write code that needs to target multiple subsidiaries, this tool provides the complete list structure your script requires.
Track financial accounts.
Your agent can handle both sides of accounting. Write a block that first calls `list_payments` and then uses `list_receipts`. This allows you to compare open payables against incoming receivables. It's perfect for building reconciliation scripts, letting your code work with accurate financial data from the TOTVS system.
Set up TOTVS MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the TOTVS MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent TOTVS transactions." If the MCP tools are loaded correctly, Cursor will call the TOTVS tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"totvs-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by TOTVS. 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 TOTVS MCP in Cursor
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the TOTVS MCP today
We host it, we monitor it, we maintain it. You just paste one token.