I
intoApex/tas-guard
Open-source guardrails for AI agents that trade: per-order and daily caps, approvals, kill switch and audit log between an agent and its broker MCP server or EVM wallet. By TradingAgentStack, the trust layer for AI agents and bots that touch money.
no SECURITY.md
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
- Copy the command above
- Paste it as one entry under
mcpServersinclaude_desktop_config.json— local servers take command + args (example: clients) - Restart your client
Client config (built from the install command this repo gives)
{
"mcpServers": {
"intoapex-tas-guard": {
"command": "npx",
"args": ["-y", "tas-guard", "demo"]
}
}
}Parsed from the README we fetched on 2026-10-26; we have not executed it.
command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
"servers": {
"intoapex-tas-guard": {
"command": "npx",
"args": ["-y", "tas-guard", "demo"]
}
}
}Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio intoapex-tas-guard -- npx -y tas-guard demo
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
- Star count
- 0 ★ · intoApex/tas-guard · read from the GitHub search API · (checked 2026-11-13 20:00:50)
- Source
- collected from the punkpeye/awesome-mcp-servers list · type: MCP server
- Harvest history
- first seen 2026-10-23 · last seen 2026-11-14 · seen 26× · listed by 23 sources
- Score
- score 2,300 · 23 sources · mcp
- Install
npx -y tas-guard demo
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
npx -y tas-guard demo. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository
intoApex/tas-guard;first catalogued 2026-10-23;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.# TAS Guard
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A trading-aware safety proxy for AI agents. Put it between your AI client (Claude, ChatGPT, Cursor, your own agent) and any broker or exchange MCP server. It enforces per-order and daily limits, symbol allowlists, human approvals, a kill switch and a tamper-evident audit log, before an order ever reaches your broker.
AI client ──► TAS Guard ──► Alpaca / CCXT / any trading MCP server ──► your account
├─ blocks: over-limit orders, off-list symbols, withdrawals, leverage changes
├─ asks you: large orders, live money, "close everything"
└─ logs: every decision, hash-chained
Zero dependencies. About 2,000 lines of plain JavaScript you can read in one sitting.
New in 0.3: onchain (EVM) mode. The same limits, approvals, kill switch and audit log for agents that hold their own wallet: tas-guard rpc is a local JSON-RPC endpoint your agent uses as its RPC URL.
## Try it in 10 seconds (no broker account)
tas-guard demo runs the guard in front of a built-in paper broker with simulated prices. Add it to your AI app as an MCP server:
json
{ "mcpServers": { "tas-guard-demo": { "command": "npx", "args": ["-y", "tas-guard", "demo"] } } }
(On Windows use "command": "cmd", "args": ["/c", "npx", "-y", "tas-guard", "demo"].) Then ask your agent to buy 1 SPY at $580 (allowed), 2 SPY at $580 (held for your approval), 10 SPY (blocked: over the $2,000 per-order limit) or 1 TSLA (blocked: not on the allow list). Approve held orders with npx tas-guard approve .
## Why not a generic MCP gateway?
Generic gateways decide per tool: "createOrder is critical, require approval." They can't tell a $50 order from a $50,000 one, so you end up approving everything or nothing.
TAS Guard reads the order itself. It knows that Alpaca's placeoptionorder has a 100x contract multiplier, that ccxt's cost is a quote-currency value while amount is base units, and that ccxt answers the first live order with a preview. That's what makes "allow small orders, ask for big ones, never exceed $2,000 a day" possible.
| Broker connector | What it does on its own | With TAS Guard |
| Alpaca MCP (TAS safety score 68) | AI can place orders directly; toolsets can limit it | Per-order and daily caps, symbol allowlist, approval above a threshold |
| CCXT MCP | Has its own caps and confirm step | One policy and one audit log across every exchange you use |
| Any other trading MCP | Varies | Heuristic profile; anything unrecognized is blocked |
Safety scores and order-gating facts: tradingagentstack.com.
## Quick start (Alpaca, paper trading)
1. Write ~/tas-guard/alpaca.json (or run npx tas-guard init alpaca-mcp-server):
json
"name": "alpaca",
"profile": "alpaca-mcp-server",
"upstream": {
"command": "uvx",
"args": ["alpaca-mcp-server"],
"env": {
"ALPACAAPIKEY": "${ALPACAAPIKEY}",
"ALPACASECRETKEY": "${ALPACASECRETKEY}",
"ALPACAPAPERTRADE": "true"
},
"policy": {
"maxordervalue": 500,
"maxdailyvalue": 2000,
"approveover": 250,
"symbolsallow": ["SPY", "QQQ", "AAPL", "MSFT"]
${VAR} is read from the environment, so keys don't have to live in the file.
2. Point your MCP client at the guard instead of at Alpaca. For Claude Desktop (claudedesktopconfig.json):
json
"mcpServers": {
AI client ──► TAS Guard ──► Alpaca / CCXT / any trading MCP server ──► your account
├─ blocks: over-limit orders, off-list symbols, withdrawals, leverage changes
├─ asks you: large orders, live money, "close everything"
└─ logs: every decision, hash-chained
Zero dependencies. About 2,000 lines of plain JavaScript you can read in one sitting.
New in 0.3: onchain (EVM) mode. The same limits, approvals, kill switch and audit log for agents that hold their own wallet: tas-guard rpc is a local JSON-RPC endpoint your agent uses as its RPC URL.
## Try it in 10 seconds (no broker account)
tas-guard demo runs the guard in front of a built-in paper broker with simulated prices. Add it to your AI app as an MCP server:
json
{ "mcpServers": { "tas-guard-demo": { "command": "npx", "args": ["-y", "tas-guard", "demo"] } } }
(On Windows use "command": "cmd", "args": ["/c", "npx", "-y", "tas-guard", "demo"].) Then ask your agent to buy 1 SPY at $580 (allowed), 2 SPY at $580 (held for your approval), 10 SPY (blocked: over the $2,000 per-order limit) or 1 TSLA (blocked: not on the allow list). Approve held orders with npx tas-guard approve .
## Why not a generic MCP gateway?
Generic gateways decide per tool: "createOrder is critical, require approval." They can't tell a $50 order from a $50,000 one, so you end up approving everything or nothing.
TAS Guard reads the order itself. It knows that Alpaca's placeoptionorder has a 100x contract multiplier, that ccxt's cost is a quote-currency value while amount is base units, and that ccxt answers the first live order with a preview. That's what makes "allow small orders, ask for big ones, never exceed $2,000 a day" possible.
| Broker connector | What it does on its own | With TAS Guard |
| Alpaca MCP (TAS safety score 68) | AI can place orders directly; toolsets can limit it | Per-order and daily caps, symbol allowlist, approval above a threshold |
| CCXT MCP | Has its own caps and confirm step | One policy and one audit log across every exchange you use |
| Any other trading MCP | Varies | Heuristic profile; anything unrecognized is blocked |
Safety scores and order-gating facts: tradingagentstack.com.
## Quick start (Alpaca, paper trading)
1. Write ~/tas-guard/alpaca.json (or run npx tas-guard init alpaca-mcp-server):
json
"name": "alpaca",
"profile": "alpaca-mcp-server",
"upstream": {
"command": "uvx",
"args": ["alpaca-mcp-server"],
"env": {
"ALPACAAPIKEY": "${ALPACAAPIKEY}",
"ALPACASECRETKEY": "${ALPACASECRETKEY}",
"ALPACAPAPERTRADE": "true"
},
"policy": {
"maxordervalue": 500,
"maxdailyvalue": 2000,
"approveover": 250,
"symbolsallow": ["SPY", "QQQ", "AAPL", "MSFT"]
${VAR} is read from the environment, so keys don't have to live in the file.
2. Point your MCP client at the guard instead of at Alpaca. For Claude Desktop (claudedesktopconfig.json):
json
"mcpServers": {
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/intoapex-tas-guard/)
- Source
- awesome · https://github.com/intoApex/tas-guard
- Browse by field
- MCP servers
- Listed by
- 23 independent sources
- added
- today
- Security policy
- no
SECURITY.mdat the repository root (which does not mean it is unsafe)
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.