ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Sentinel Execution MCP

โดย rohith1125รุ่น 0.1.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.rohith1125/sentinel-execution-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

AI-controlled algorithmic trading engine exposing 40 MCP tools across 9 namespaces.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: บัญชี การเงิน และภาษี

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "sentinel-execution": {
      "command": "npx",
      "args": [
        "-y",
        "sentinel-execution-mcp"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add sentinel-execution -- npx -y sentinel-execution-mcp

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "sentinel-execution": {
      "command": "npx",
      "args": [
        "-y",
        "sentinel-execution-mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "sentinel-execution": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sentinel-execution-mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub rohith1125 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด บัญชี การเงิน และภาษีi

  • ดาวมากกว่า 0% ของอีก 1734 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 3% ของอีก 1734 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1734 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Sentinel Execution MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.2) เข้า registry 8 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Finance Toolkit, SolidInvoice, Korea Tax Calculator

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Finance Toolkit

โดย JerBouma

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

บนเครื่องหรือคลาวด์★ 5,496MITอัปเดต วันนี้
ติดตั้ง

SolidInvoice

โดย SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

รันบนคลาวด์★ 981MITอัปเดต 8 วันที่ผ่านมา
ติดตั้ง

Korea Tax Calculator

โดย UpstageAI

Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.

รันบนเครื่อง★ 97MITอัปเดต เมื่อวาน
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Sentinel Execution MCP

A production-grade algorithmic trading control plane exposed as an MCP server — so Claude can manage watchlists, classify market regimes, validate risk, and submit paper orders through natural language.


What It Is

Sentinel is a two-package monorepo:

PackageLanguageRole
packages/enginePython 3.12 / FastAPIAll trading logic: risk checks, regime classification, order lifecycle, audit journal, strategy governance
packages/mcpTypeScript / Node 20Thin MCP server that routes 40+ tools to the engine via HTTP. Zero trading logic lives here.

Claude (or any MCP-compatible agent) talks to the MCP server. The MCP server talks to the engine. The engine owns the database and cache.


Architecture

  Claude Desktop (or any MCP agent)

│ │ MCP protocol (stdio or SSE) ▼ ┌─────────────────────────┐ │ MCP Server │ TypeScript · Zod validation · tool routing │ (packages/mcp) │ └────────────┬────────────┘ │ HTTP REST (localhost:8100) ▼ ┌─────────────────────────┐ │ Engine API │ Python · FastAPI · all trading logic │ (packages/engine) │ └──────────┬──────────────┘ │ ┌───────┴────────┐ ▼ ▼ PostgreSQL Redis (orders, (kill switch, positions, rate limits, strategies, cache) audit log)

If the engine is unavailable, every MCP tool call returns an error immediately. There is no fallback or partial execution.


Quick Start (Docker — recommended)

The fastest way to get running. Requires Docker and Node.js 20+.

# 1. Clone and configure

git clone https://github.com/rohith1125/sentinel-execution-mcp.git cd sentinel-execution-mcp cp .env.example .env # defaults work out of the box — no edits needed

2. Start Postgres + Redis + engine (runs migrations automatically)

docker compose -f docker/docker-compose.yml up -d db redis engine

Wait ~10 seconds, then verify the engine is healthy:

curl http://localhost:8100/health

{"status": "ok", "provider": "mock", ...}

3. Build the MCP server (one-time)

cd packages/mcp npm install npm run build

Then add Sentinel to Claude Desktop (see Connect Claude Desktop below) and restart Claude. That's it — all 40 tools are live.


Manual Setup (no Docker)

Use this if you have Postgres and Redis already running locally.

Prerequisites:

DependencyMinimum versionNotes
Python3.12Engine runtime — check with python3 --version
Node.js20MCP server runtime
PostgreSQL15+Primary data store
Redis7+Kill switch and cache
1. Clone and configure
git clone https://github.com/rohith1125/sentinel-execution-mcp.git

cd sentinel-execution-mcp cp .env.example .env

Default values work for local paper-trading development — no edits required

2. Set up the engine
cd packages/engine

python3.12 -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install -e ".[dev]"

3. Run database migrations
# From packages/engine with the venv active

alembic upgrade head

4. Start the engine
uvicorn sentinel.api:app --reload --port 8100

Verify it is running:

curl http://localhost:8100/health

{"status": "ok", "env": "paper"}

5. Build and start the MCP server

Open a second terminal:

cd packages/mcp

npm install npm run build npm run dev # stdio transport — for direct Claude Desktop integration


Connect Claude Desktop

Add the following to your Claude Desktop configuration file.

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

Get the correct path by running this in your terminal:

echo "$(pwd)/packages/mcp/dist/index.js"

Then paste it into the config:

{

"mcpServers": { "sentinel": { "command": "node", "args": ["/absolute/path/to/sentinel-execution-mcp/packages/mcp/dist/index.js"], "env": { "ENGINE_BASE_URL": "http://localhost:8100", "APP_ENV": "paper" } } } }

Restart Claude Desktop after saving. You should see a hammer icon (🔨) in the chat input — click it to confirm Sentinel's 40 tools are loaded.


MCP Tools Reference

Sentinel exposes 40+ tools across nine categories. The MCP server name is sentinel.

CategoryToolDescription
Watchlistwatchlist.addAdd symbols to the trading watchlist, optionally assigned to a group
watchlist.removeRemove symbols; they will no longer appear in strategy scans
watchlist.listList active symbols, optionally filtered by group
watchlist.getGet details for a single symbol
watchlist.groupsList all named watchlist groups
watchlist.updateUpdate notes or group assignment for a symbol
Market Datamarket.snapshotLatest quote and trade data for one or more symbols
market.barsOHLCV bar history with configurable timeframe
market.quoteReal-time bid/ask spread for a symbol
market.healthCheck market data provider connectivity
Regimeregime.evaluateClassify current market regime using ATR, ADX, RSI, Bollinger Width, Hurst Exponent, VWAP, and Price Efficiency
regime.historyRetrieve historical regime snapshots for a symbol
Strategystrategy.scanScan the watchlist for signals across one or more strategies
strategy.signalEvaluate a single symbol against a specific strategy
strategy.listList all registered strategies and their current state
Risk / Kill Switchrisk.validate_tradeRun all 13+ risk checks against a proposed trade before submission
risk.kill_switch_statusGet the current state of all kill switches
risk.kill_switch_enableEnable a kill switch globally, per-strategy, or per-symbol
risk.kill_switch_disableDisable a kill switch (requires explicit reason)
risk.exposureCurrent gross and net exposure summary
risk.drawdownCurrent daily drawdown against configured limits
Portfolioportfolio.statusFull account overview: value, cash, equity, P&L, buying power
portfolio.positionsAll open positions with unrealized P&L
portfolio.historyClosed position history with realized P&L
Executionexecution.paper_orderSubmit a paper trading order (market, limit, stop, stop-limit)
execution.cancel_orderCancel a pending or partially filled order by ID
execution.get_orderGet the current state of a specific order
execution.list_ordersList orders filtered by status, symbol, or date range
execution.reconcileTrigger a manual reconciliation between engine state and broker
Governancegovernance.create_strategyRegister a new strategy in draft state
governance.promote_strategyAdvance a strategy: Draft → Research → Backtest → Paper → Live
governance.suspend_strategySuspend a live or paper strategy immediately
governance.list_strategiesList all strategies with their current lifecycle state
governance.evaluate_promotionCheck whether a strategy meets criteria for promotion
Auditaudit.explain_tradeFull human-readable explanation for a trade decision by audit event ID
audit.recent_eventsMost recent audit events, filterable by symbol or strategy
audit.trade_historyCompleted trade history with outcomes
audit.decision_logRaw decision log entries for a time window
audit.statsAggregate statistics: win rate, average P&L, Sharpe proxy
audit.exportExport audit records as CSV for a date range

Full tool documentation with parameter schemas: docs/mcp-tools.md


Environment Variables

Engine (packages/engine/.env)
VariableDefaultDescription
APP_ENVpaperdevelopment, paper, or live
DATABASE_URLpostgresql+asyncpg://sentinel:sentinel@localhost:5432/sentinelPostgreSQL connection string
REDIS_URLredis://localhost:6379/0Redis connection string
MARKET_DATA_PROVIDERmockmock (no credentials needed) or alpaca
ALPACA_API_KEY_(empty)_Required when MARKET_DATA_PROVIDER=alpaca
ALPACA_API_SECRET_(empty)_Required when MARKET_DATA_PROVIDER=alpaca
ALPACA_BASE_URLhttps://paper-api.alpaca.marketsUse https://api.alpaca.markets for live trading
MAX_POSITION_PCT0.05Maximum position size as a fraction of account equity (5%)
MAX_DAILY_DRAWDOWN_PCT0.02Hard daily loss limit (2%); trading halts if breached
MAX_GROSS_EXPOSURE_PCT0.80Maximum gross exposure across all positions (80%)
MAX_CONCURRENT_POSITIONS10Maximum number of simultaneously open positions
MAX_TRADE_RISK_PCT0.01Maximum risk per individual trade (1%)
PAPER_FILL_LATENCY_MS50Simulated fill latency in paper trading mode
SLIPPAGE_BPS5Simulated slippage in basis points
SENTINEL_AUTH_ENABLEDtrueSet to false for local development only
SENTINEL_MASTER_KEY_(empty)_Generate with python -m sentinel.auth.cli generate --name master --scopes admin
SENTINEL_API_KEYS_JSON_(empty)_JSON array of additional client key records
MCP Server (packages/mcp/.env)
VariableDefaultDescription
ENGINE_BASE_URLhttp://localhost:8100Base URL of the running engine service

See .env.example at the repo root for the complete annotated reference.


Example Workflow (Paper Trading)

# 1. Add symbols

watchlist.add(symbols=["NVDA", "MSFT", "AAPL"], group="tech")

2. Classify regime

regime.evaluate(symbol="NVDA", timeframe="1Day")

3. Scan for signals

strategy.scan(group="tech", strategy="momentum_v1")

4. Validate before submitting

risk.validate_trade(symbol="NVDA", side="buy", qty=10, order_type="market")

5. Submit paper order

execution.paper_order(symbol="NVDA", side="buy", qty=10, order_type="market")

6. Review portfolio

portfolio.status()

7. Inspect the audit trail

audit.recent_events(symbol="NVDA", limit=1) audit.explain_trade(audit_event_id="evt-...")


Running Tests

Engine (Python)
cd packages/engine

source .venv/bin/activate pytest tests/ -v

MCP Server (TypeScript)
cd packages/mcp

pnpm test

Full CI (lint + type check + test)
# From repo root

make check


Repository Structure

sentinel-execution-mcp/

├── packages/ │ ├── engine/ # Python FastAPI trading engine │ │ ├── sentinel/ # Application source │ │ ├── tests/ # Pytest test suite │ │ └── alembic/ # Database migrations │ └── mcp/ # TypeScript MCP server │ └── src/ │ └── tools/ # One file per tool category ├── docker/ # Dockerfiles and docker-compose ├── docs/ # Architecture, tool reference, risk model ├── scripts/ # Setup and reset helpers └── .env.example # Annotated environment variable reference


Safety Disclaimer

This software is for paper trading and research only unless you fully understand every component. Setting APP_ENV=live with real Alpaca credentials will place real orders with real money. The hard-coded risk li

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx