独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
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.

装之前:有可直接复制的命令 · 许可证 MIT · 链接可访问

无 SECURITY.md
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
  1. 复制上面的命令
  2. 粘成 claude_desktop_config.json 里 mcpServers 的一项(本地服务器用 command + args,示例见 客户端接法)
  3. 重启客户端
客户端配置(取自该仓库的安装命令)
{
  "mcpServers": {
    "intoapex-tas-guard": {
      "command": "npx",
      "args": ["-y", "tas-guard", "demo"]
    }
  }
}

解析自我们于 2026-10-26 抓取的该仓库 README;我们未执行过。

command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
  "servers": {
    "intoapex-tas-guard": {
      "command": "npx",
      "args": ["-y", "tas-guard", "demo"]
    }
  }
}
VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio intoapex-tas-guard -- npx -y tas-guard demo
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
★ 数取值
0 ★ · intoApex/tas-guard · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-23 · 最近见到 2026-11-14 · 共见到 26 次 · 被 23 个来源列出
评分构成
综合分 2,300 · 23 个来源 · mcp
安装
npx -y tas-guard demo
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 npx -y tas-guard demo。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 intoApex/tas-guard;我们收录于 2026-10-23;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# 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": {
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/intoapex-tas-guard/)
来源
awesome · https://github.com/intoApex/tas-guard
按领域浏览
MCP 服务
收录来源
23 个独立来源
收录于
今天
安全策略
我们没在该仓库根目录找到 SECURITY.md(这不代表不安全)

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引