Skip to content
MCP server

TAS Guard

Open-source order limits, phone approval and a kill switch for trading AI agents

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
0.5.1
Listing updated
3 days ago

About TAS Guard

TAS Guard is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

TAS Guard sits between an AI client or trading bot and a broker, exchange or wallet, and reads each order itself: symbol, side, size and price, including option contract multipliers and exchanges that preview before filling. That lets it allow small orders, hold large ones and stop anything past a daily cap, which a generic gateway that only flags a tool as risky cannot do.

Hard limits cover per-order and daily value and order rates. Orders over a threshold, live-money orders, market orders with no price and close-everything requests wait for human approval, given in the AI app or from Telegram buttons through your own bot. Withdrawals, transfers, leverage changes, account settings and unrecognized tools are blocked and hidden. Every decision goes to a hash-chained audit file.

It runs on your own machine with no dependencies. A demo mode uses a paper broker. Separate modes cover EVM wallets, Solana transaction simulation and Hyperliquid, which adds a 0.02% builder fee that can be opted out of. It cannot protect custodial bots or bots that call an exchange API directly.

Install

Run in a terminal

claude mcp add tas-guard -- npx -y tas-guard

Add to claude_desktop_config.json

{
  "mcpServers": {
    "tas-guard": {
      "command": "npx",
      "args": [
        "-y",
        "tas-guard"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "tas-guard": {
      "command": "npx",
      "args": [
        "-y",
        "tas-guard"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "tas-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tas-guard"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "tas-guard": {
      "command": "npx",
      "args": [
        "-y",
        "tas-guard"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "tas-guard": {
      "command": "npx",
      "args": [
        "-y",
        "tas-guard"
      ]
    }
  }
}

What it does

Order-aware limits
Per-order and daily caps, plus orders per day and per minute, that approval cannot override.
Allow and block lists
Restrict symbols, with wildcards, and sides such as buy-only.
Phone approvals
Held actions arrive in Telegram with Approve and Deny buttons.
Kill switch
One command stops new orders on all guarded accounts while closing positions still works.
Tamper-evident audit log
Hash-chained decisions with secrets redacted.
Solana and EVM modes
Simulates Solana transactions and acts as a local RPC endpoint for EVM wallets.

Good for

  • Cap what an AI agent can trade on an Alpaca account
  • Require phone approval for large orders
  • Guard a Solana sniper bot with per-program caps
  • Try limits on a paper account with the demo broker
  • Keep one audit log across several exchanges

Pricing

Open source

Free; Hyperliquid mode adds a 0.02% builder fee

Prices change. Check tradingagentstack.com before you buy.

TAS Guard FAQ

Do I need a broker account to try it?

No. The demo mode runs a simulated $100,000 paper account in memory.

What can it not protect?

Custodial bots that hold your keys, and bots that call an exchange's API directly.

Can the agent approve its own orders?

No. You approve in your AI app's prompt or with a command; the agent cannot.

Is there a fee?

The tool is free and open source; Hyperliquid mode adds a 0.02% builder fee with an opt-out.

What does it block by default?

Withdrawals, transfers, leverage changes, account settings and raw call-any-endpoint tools.

Is TAS Guard free?

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

How do I add TAS Guard to Claude Code?

Run this command in your terminal: claude mcp add tas-guard -- npx -y tas-guard

What are the best alternatives to TAS Guard?

The closest alternatives to TAS Guard are REA, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Agent Roast and Midplane.

Alternatives to TAS Guard

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  3. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  4. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools
  5. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  6. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments