# TAS Guard

> TAS Guard is an open-source MCP server for finance and payments. Open-source order limits, phone approval and a kill switch for trading AI agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted
- **Website:** https://tradingagentstack.com/guard/
- **Repository:** https://github.com/intoapex/tas-guard
- **MCP Registry name:** io.github.intoApex/tas-guard
- **Categories:** finance and payments, security
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "tas-guard": {
      "command": "npx",
      "args": [
        "-y",
        "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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/tas-guard
