How to Use the Unkey API Management MCP in Claude Code
Script API key management with Claude Code. Run Unkey operations headlessly in any pipeline.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Unkey API Management MCP to Claude Code
Create your Vinkius account to connect Unkey API Management 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.
Automate initial key generation
Need to script user provisioning? Write a shell function that calls `create_api_key` and pipes the resulting credential data into a deployment artifact. This runs entirely in the terminal, perfect for CI/CD pipelines. You can wrap this functionality in an idempotent script. If you run it twice, it won't break anything, because you control the entire execution flow through standard shell logic.
Schedule API key audits
Set up a cron job to check for stale credentials every night. The script calls `get_verification_analytics` and pipes the JSON output directly into an S3 bucket or logging service. No GUI needed, just pure data. This routine check ensures compliance by systematically listing keys via `list_api_keys` and running necessary checks against old access tokens.
Initialize projects with full inventory
Before deploying a service, run an initialization script. This script executes `list_apis` to pull the complete list of available endpoints for logging purposes. It's a clean way to verify project readiness. If you need details on a specific component, you can pipe the result of `get_api_details` into another tool that processes metadata, keeping your pipeline robust.
Set up Unkey API Management 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 seeunkey-api-management-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Unkey API Management transactions." It will automatically discover and invoke the available Unkey API Management tools.
claude mcp add --transport http unkey-api-management-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 Unkey API Management MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Unkey API Management MCP today
We host it, we monitor it, we maintain it. You just paste one token.