How to Use the Daftra MCP in Claude Code
Manage your Daftra accounting data from the terminal using Claude Code and headless automation.
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.
Command-Line Billing Operations
The `create_invoice` tool executes new billing requests directly from your shell environment. You can pipe a JSON file of completed jobs into Claude Code and have it generate the final bills automatically. Headless execution changes how you handle monthly accounting. Instead of clicking around a GUI, you trigger a cron job that runs `list_payments` to check for recent deposits, then updates your internal trackers via a simple bash script.
Pipeline Integration with Daftra MCP
The `get_account_info` tool returns your current treasury standing for automated health checks. SREs can add a step in their GitHub Actions to verify account balances before triggering expensive cloud deployments. Your deployment pipelines can now interact with your actual business metrics. Running `list_treasuries` inside a Docker container lets you gate certain infrastructure changes based on available cash flow.
Automated Staff and Client Sync
The `list_staff` tool dumps your active employee directory straight to standard output. You can use this to automatically provision server access or update internal SSH keys based on who is currently employed. Managing customers works the exact same way from the CLI. Calling `list_clients` lets you sync your Arabic-first CRM with your internal databases via a nightly headless script. No manual exports required.
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-alternative-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-alternative-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.