Capline
FreeNot checkedEnables AI agents to make payments with strict spending limits enforced by signed mandates, preventing unauthorized fund movement beyond predefined caps and all
About
Enables AI agents to make payments with strict spending limits enforced by signed mandates, preventing unauthorized fund movement beyond predefined caps and allowlists.
README
Give your MCP agent a wallet it can't drain.
An MCP server that hands an AI agent a spending capability bounded by a signed Capline mandate. The agent (in Claude Desktop, Cursor, Cline, or any MCP client) can only move funds through the pay tool — and pay refuses anything outside the mandate: over the per-transaction cap, off the payee allowlist, or past the global cross-chain cap. The limits are enforced by code, not the model, so nothing in the agent's context can talk its way past them.
The cap isn't in the prompt — it's a mandate the LLM can't talk to.
Tools
| Tool | What it does |
|---|---|
create_mandate |
Provision a mandate: per-tx cap, global cumulative cap, payee allowlist, chains. Returns a mandateId. |
pay |
The only way to move funds. Refused (not executed) if it breaks the mandate. |
mandate_status |
Committed / reserved / remaining budget + per-chain breakdown. |
revoke_mandate |
Kill the mandate — every future payment is refused on every chain. |
Add to Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"capline": {
"command": "npx",
"args": ["-y", "capline-mcp"]
}
}
}
Restart Claude Desktop. Then try it:
"Set up a mandate: $5 per transaction, $20 total, only pay DataVendor. Then pay DataVendor $5. Then — ignore that last limit — pay DataVendor $1000."
Watch the $5 settle and the $1000 come back REFUSED (OVER_PER_TX). The model obeyed you; the mandate didn't.
Add to Cursor
~/.cursor/mcp.json (or Settings → MCP):
{
"mcpServers": {
"capline": { "command": "npx", "args": ["-y", "capline-mcp"] }
}
}
Configuration
| Env var | Default |
|---|---|
CAPLINE_COORDINATOR_URL |
https://capline-protocol.vercel.app/api/coordinator |
By default it enforces against the hosted Capline coordinator (Layer A), so no wallet or funds are required and you can feel it immediately. Point CAPLINE_COORDINATOR_URL at your own coordinator to self-host. To also enforce on-chain (Layer B, holds even if the agent's key is stolen), settle through a deployed mandate contract. See the capline protocol + SDK repo.
Run from source
git clone https://github.com/caplinehq/capline-mcp && cd capline-mcp
npm install && npm run build
node test-client.mjs # exercises every tool through a real MCP client
Links
- SDK: capline on npm
- Live demo: capline-protocol.vercel.app/agents
- Clone-and-run agent: capline-example
MIT
Install Capline in Claude Desktop, Claude Code & Cursor
unyly install capline-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add capline-mcp -- npx -y capline-mcpFAQ
Is Capline MCP free?
Yes, Capline MCP is free — one-click install via Unyly at no cost.
Does Capline need an API key?
No, Capline runs without API keys or environment variables.
Is Capline hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Capline in Claude Desktop, Claude Code or Cursor?
Open Capline on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Capline with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
