Skip to content
MCP server

Kamanu lint

Checks whether an AI agent's card spending limit holds, without a model checker

Runs locally

Kamanu lint is an open-source MCP server for agent payments. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Linux
Runs
Locally
Version
0.1.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add kamanu-lint -- uvx kamanu

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "kamanu-lint": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "kamanu-lint": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "kamanu-lint": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "kamanu-lint": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add kamanu-lint -- uvx kamanu

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.kamanu-lint]
command = "uvx"
args = ["kamanu"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "kamanu-lint": {
      "command": "uvx",
      "args": [
        "kamanu"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "kamanu-lint": {
          "command": "uvx",
          "args": [
            "kamanu"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user kamanu-lint uvx -- kamanu

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "kamanu-lint": {
          "command": "uvx",
          "args": [
            "kamanu"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "kamanu-lint": {
          "command": "uvx",
          "args": [
            "kamanu"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "kamanu-lint": {
          "command": "uvx",
          "args": [
            "kamanu"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "kamanu-lint": {
          "command": "uvx",
          "args": [
            "kamanu"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "kamanu-lint": {
          "command": "uvx",
          "args": [
            "kamanu"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "kamanu-lint": {
          "command": "uvx",
          "args": [
            "kamanu"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "kamanu-lint": {
          "command": "uvx",
          "args": [
            "kamanu"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Kamanu lint

Kamanu tests a spending limit on an AI agent's payment card before it goes live. Given a single-threshold policy, it reports the most that could actually be spent under the limit and the most budget that could be stranded when a valid payment is refused, along with a shortest trace that produces each figure.

The lint server answers that check in milliseconds and needs no model checker to be installed. Its verdicts carry a confidence level, so a result can be read for how far it can be trusted rather than as a bare pass or fail.

It suits developers and teams who give agents payment authority and want a quick, repeatable check of their limits before deployment. Results describe a model of the limit and are not a guarantee about any particular live system.

What it does

Spend ceiling check
Reports the most that can really be spent under a given spending limit.
Stranded budget report
Shows how much headroom is lost when a payment that fits is refused.
Shortest failing trace
Returns the shortest sequence of events that breaks a policy so it can be replayed.
Confidence levels
Labels each verdict with how strongly it is established, from proven to unknown.
Single-command install
Runs from PyPI through uvx with no repository clone needed.

Good for

  • Check a spending cap on an agent's card before enabling it in production
  • Find cases where a valid agent payment would be refused by a limit
  • Get a replayable failing trace to share with an engineer fixing a policy
  • Add a pre-release limit check to an agent's tool set

Pricing

Open source

Open source under Apache 2.0; free to run locally.

Kamanu lint FAQ

How do I install the lint server?

It runs from PyPI with uvx, using the command uvx kamanu mcp lint. Nothing needs to be cloned.

Does Kamanu lint need a model checker?

No. The lint command decides a one-threshold policy without a model checker to install.

Does Kamanu lint move or hold money?

No. It reports what a limit allows and does not enforce or move funds.

Is Kamanu lint free?

Yes. Kamanu lint is open source, so you can use and self-host it for free.

How do I add Kamanu lint to Claude Code?

Run this command in your terminal: claude mcp add kamanu-lint -- uvx kamanu

What are the best alternatives to Kamanu lint?

The closest alternatives to Kamanu lint are Kamanu, Kamanu coach, Agent Spend Policy MCP, Boundra — Payment Approval Gateway for AI Agents and Kavach KYA (Sovereign Agentic Spend Firewall).

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers