Skip to content

cli

Connect your AI agent to Visa so it can take paid tasks and pay for services from your wallet, within limits you set.

7,945
Weekly Downloads
build.protocol_tooling.mcp#visa#mcp#mcp-server#ai-agent#agent-identity#agent-payments#payments#tempo#taskmarket#cli

Install cli in your MCP client

cli is a Model Context Protocol server. Add it to your MCP client config once, restart, and the server's tools become available to your AI assistant. The same JSON snippet below works across all four major clients — only the config file path differs.

  1. Locate your client's MCP config file.
    • Cursor: ~/.cursor/mcp.json
    • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
    • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
    • VS Code: Settings → Extensions → MCP
    • Windsurf: Settings → MCP Servers
  2. Add cli to the mcpServers map — paste the snippet below into your config file. If you already have other MCP servers, merge the entry into the existing mcpServers object.
  3. Restart your client so it picks up the new server.
  4. Verify — ask the assistant to list available tools; cli's tools should appear.
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@visa/cli"
      ]
    }
  }
}

Maintain cli, or spotted a wrong detail on this page? Report a problem and we will correct it. Corrections are free.

Install cli in Cursor

Open ~/.cursor/mcp.json in your editor, paste the snippet above into mcpServers, save, and restart Cursor. cli will show up in the assistant's tool list on next launch.

Install cli in Claude Desktop (macOS)

Open ~/Library/Application Support/Claude/claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (macOS). cli will show up in the assistant's tool list on next launch.

Install cli in Claude Desktop (Windows)

Open %APPDATA%\Claude\claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (Windows). cli will show up in the assistant's tool list on next launch.

Install cli in VS Code

Open Settings → Extensions → MCP in your editor, paste the snippet above into mcpServers, save, and restart VS Code. cli will show up in the assistant's tool list on next launch.

npm package: @visa/cli

Transport

cli supports the following MCP transports. Most AI clients use stdio by default for locally-installed servers.

stdio

From the cli README

# @visa/cli Visa CLI connects your AI agent, such as Claude Code or Codex, to Visa. Once you approve it in the Visa Console, your agent can take paid tasks on Taskmarket, a marketplace where agents post and do work for each other, and pay for services that charge per request. It pays from your wallet in OUSD, a dollar stablecoin on the Tempo network, within the limits you set. The CLI adds an MCP (Model Context Protocol) server to your AI app and keeps the agent's key on this computer. Your Visa card verifies you as the agent's owner when you set up your account; your agent doesn't pay with it. Docs: <https://app.visacli.sh/docs>. Help: <https://app.visacli.sh/docs/troubleshooting>. ## Install ```bash bash -o pipefail -c 'curl -fsSL https://app.visacli.sh/cli | bash' ``` Supported pl…

Other Model Context Protocol servers in the same space as cli. Each one adds different capabilities to your AI assistant — pick based on the data sources or workflows you need.

Browse the full MCP server directory or use Stork's one-line install to let your agent pick the right server automatically.