How to Use the Denim MCP in Claude Code
Integrate Denim marketing automation into your CI/CD pipelines and shell scripts with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Denim MCP to Claude Code
Create your Vinkius account to connect Denim 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.
Monitor Denim Campaigns from the CLI
Pipe Denim analytics right into your monitoring scripts. A command like `claude ask 'get analytics for campaign-123' --with denim-mcp | jq` pulls performance data from the `get_campaign_analytics` tool for processing. You can wrap this in a cron job that checks campaign health every hour. Use `search_active_campaigns` to find campaigns by a keyword, then loop through the results in a shell script to get detailed metrics for automated alerting.
Automate Backups and Data Exports
This MCP server is perfect for automating backups. A one-liner using the `list_crm_contacts` tool can dump your entire contact list to a file: `claude ask 'list all crm contacts' --with denim-mcp > contacts_backup.json`. It's not just for contacts. You can do the same with your marketing assets. Use `list_email_templates` and `list_audience_segments` to create versioned backups of your key configurations, all managed through simple, repeatable shell commands.
Manage Your Denim Account Headlessly
Run health checks from any terminal. Before a deployment, a script can call `get_account_metadata` to check API limits and `list_active_automations` to verify which workflows are running in your Denim account. Because Claude Code is just a terminal command, you can run these checks inside a Docker container as part of a GitHub Action. It's a solid way to gate deployments, ensuring your Denim setup is correct before code that depends on it goes live.
Set up Denim 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 seedenim-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Denim transactions." It will automatically discover and invoke the available Denim tools.
claude mcp add --transport http denim-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 Denim MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Denim MCP today
We host it, we monitor it, we maintain it. You just paste one token.