How to Use the Daftra MCP in Claude Code
Connect Claude Code to Daftra for headless ERP management. Run CLI pipelines that query invoices and sync client data.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Daftra MCP to Claude Code
Create your Vinkius account to connect Daftra to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Run Daftra MCP Server commands from your terminal
Managing your ERP shouldn't require clicking through a slow web interface. You just open your terminal and tell your agent to audit your recent sales. It executes `list_invoices` and dumps the raw financial totals right into your shell. This works perfectly in automated environments. You can pipe the output to other CLI tools or have Claude Code write a shell script that checks `get_invoice_details` every night to find unpaid line items.
Audit expenses and site metadata via CLI
DevOps engineers can pull organizational settings directly into their infrastructure scripts via MCP. Your agent runs `get_site_metadata` to grab the core identifiers before configuring your internal deployment variables. Tracking infrastructure costs gets much easier. You ask the terminal agent to pull recent charges, and it fires `list_expenses`. It reads the categories and amounts, then formats them into a clean markdown table in your console.
Headless client and inventory syncing
CI/CD pipelines often need to verify product catalogs before a deployment. Your agent handles this by running `list_inventory_products`. It checks the live pricing and names against your staging database to catch discrepancies. When you need to seed a test environment with real profiles, the agent triggers `list_clients`. It grabs actual business names and contact emails, then executes `create_client` in your sandbox ERP instance to mirror production.
Set up Daftra MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seedaftra-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Daftra transactions." It will automatically discover and invoke the available Daftra tools.
claude mcp add --transport http daftra-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp 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 Daftra MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Daftra MCP today
We host it, we monitor it, we maintain it. You just paste one token.