Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Risk-first pre-trade checks, PIT data, leakage audits, and a Shadow Tournament vs a live champion.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
SWARM_MCP_ACCESS_TOKEN, Authorizationค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"quant-swarm": {
"command": "uvx",
"args": [
"quant-swarm",
"swarm-data-mcp"
],
"env": {
"SWARM_MCP_ACCESS_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http quant-swarm https://swarm-mcp-503318750546.europe-west1.run.app/mcp/data --header 'Authorization: ใส่ค่าของคุณ'claude mcp add quant-swarm --env SWARM_MCP_ACCESS_TOKEN='ใส่ค่าของคุณ' -- uvx quant-swarm swarm-data-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"quant-swarm": {
"url": "https://swarm-mcp-503318750546.europe-west1.run.app/mcp/data",
"headers": {
"Authorization": "ใส่ค่าของคุณ"
}
}
}
}วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"quant-swarm": {
"command": "uvx",
"args": [
"quant-swarm",
"swarm-data-mcp"
],
"env": {
"SWARM_MCP_ACCESS_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"quant-swarm": {
"type": "http",
"url": "https://swarm-mcp-503318750546.europe-west1.run.app/mcp/data",
"headers": {
"Authorization": "ใส่ค่าของคุณ"
}
}
}
}วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"quant-swarm": {
"type": "stdio",
"command": "uvx",
"args": [
"quant-swarm",
"swarm-data-mcp"
],
"env": {
"SWARM_MCP_ACCESS_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
Authorization ความลับ HTTP headerค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub blink1217 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: SWARM_MCP_ACCESS_TOKEN, Authorization
ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.5.0) เข้า registry 31 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, FlyDocs
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Risk-first pre-trade checks that gate live capital — point-in-time data, invariant and leakage audits, regime probes — plus the Shadow Tournament: score your strategy genome against a live, self-evolving trading swarm's champion on identical market paths.
Authored by the Principal Quantitative Technologist at The 1.21 Initiative — the same code path that gates live promotion and execution decisions in the trading swarm. Every tool exists because production trading systems fail in two repeatable ways: lookahead leakage in research and an oversized position in production. quant-swarm ships the checkers that prevent both, so you can audit your own work with the exact logic that guards deployed capital.
Behind this package is a swarm that does not hand-tune strategies. A champion genome runs live; every cycle the swarm breeds challengers (tier-capped mutations), replays champion and challenger on the *identical* episode-seed matrix across five labelled market regimes (high-vol, drawdown, chop, melt-up, gap-heavy), and records the paired outcome in an ELO ledger. A surrogate prior pre-scores candidates so expensive replays are spent where they matter. Nothing is promoted on a single good backtest: promotion requires MIN_EPISODES=20 paired episodes, a Wilcoxon-significant delta, a positive worst-regime margin (maximin, not mean), a deflated-Sharpe margin against the monotonic count of every trial ever attempted, and a PBO cap. This is the champion/challenger, self-play-style loop popularised by AlphaZero-style systems, applied honestly to markets — with the two things that do *not* transfer stated plainly: the market does not react to us, so there is no true self-play, and there is no learned dynamics model or tree search; selection is done by paired replay, ELO and statistical gates.
Replay is only half of it. Every Sunday the swarm also runs a forward league: each league genome — the champion, the top-ELO challengers, contributed genomes, and a *planner* entrant whose weekend moves are chosen by a learned model — seals its positions for the coming week from Friday's causal features, and the SHA-256 commitment is stored before the week happens. The next cycle marks every sealed position against the realised closes (net of each genome's own cost model), ranks the field on the identical real week, and updates ELO on that. Sealed forecasts cannot be overfit to the week that follows; that is the swarm's ground truth, and it feeds a replay buffer where every position is decomposed into its component moves (screen, entry, size, weekend) so credit is assigned per move and regime, not to the strategy as a blob. Forward-league status (as of 2026-10-31): the initial 8-week live-paper collection window started on 2026-09-14 and is currently in Week 7 of 8 (0 weeks settled yet; first batch settlement closes after the 8-week horizon on 2026-11-09).
What that means for you: a local backtest tells you how a strategy did on one path. The Shadow Tournament tells you whether it beats an *evolving* champion on the same paths, in the regime that hurts it most, at a sample size that can actually have an opinion — and your result enters the swarm's ELO ledger. Opt in as a contributor and your genome becomes an external challenger in the swarm's next breeding cycle (at half price), scored in replay and, if it earns a league seat, on real weeks. That is the flywheel: every honest submission makes the champion harder to beat, and every user gets a harder benchmark.
Risk gates are not post-hoc reports — they are the pre-condition for every action. The package is organized around that constraint:
UNSCORABLE (never neutral-filled), and unverifiable tokens are refused on the hosted path. See warden.audit_features and features.build provenance guards..github/pins.json, verified byte-for-byte by CI). A parity test pins the three copies of the floors (Python/MCP, C# live engine, Terraform) so they cannot drift.%LOCALAPPDATA%\1.21-initiative\swarm-mcp\cache.db ($XDG_CACHE_HOME/1.21-initiative/swarm-mcp on POSIX): finalized sessions are never re-fetched, in-progress sessions refresh at most every 60 s, earnings/news are append-only on fetched_at, and features.build runs the no-lookahead guard on every row (each feature must equal a fresh causal recomputation at as_of).warden.cost_check and the simulator model the fill that hurts you; there is no optimistic fill path to inflate backtests.INDETERMINATE_LOCAL/UNDERPOWERED/UNSCORABLE, name the exact missing inputs (MIN_EPISODES=20, PBO, DSR, worst-regime margins), and hand off to the hosted Shadow Tournament (tournament.submit).audit.preflight, audit.quote(mode="local"), audit.run(mode="local"), audit.status, audit.report, audit.compare, warden.*, gym.* on local/cached bars, market.* with caller-supplied bars):** 0 bytes of strategy returns, trades, orders, features, or bars leave your machine. Only SWARM_MCP_ACCESS_TOKEN (when set without SWARM_MCP_LOCAL_TOKEN) is verified once per 5 minutes against POST /api/mcp/verify.symbols, as_of / lookback_days, and bearer token to https://1.21initiative.com/api/mcp/* (or Open-Meteo for market.climate coordinates).tournament.submit, this is the genome parameter vector, its genome_hash, the contribute flag, and — on the strategy-contributor tier only — an author-written disclosure and/or strategy_code (treated as inert text, never executed, and deleted after static review).https://swarm-mcp-503318750546.europe-west1.run.app/mcp/*):** JSON-RPC tool arguments are transmitted over TLS to the hosted Cloud Run stateless container for execution.The live trading swarm's execution risk engine is written in C# (services/risk/Program.cs), while quant-swarm executes in Python (swarm_mcp/vendored/alpha/order_checks.py, swarm_mcp/vendored/guardrails/objective.py, and swarm_mcp/tools/warden_tools.py). Rather than running a local .NET runtime inside the Python wheel, the two implementations are locked together via two mechanisms enforced in CI:
cloud_run.tf), vendored guardrails constants (objective.py), and HOUSE_SIZING_FLOORS in warden_tools.py are parsed and asserted equal (MAX_POSITION_PCT = 0.25, MAX_GROSS_EXPOSURE_PCT = 0.60, RISK_PCT_PER_TRADE = 0.008, RISK_ATR_SIZING_MULT = 1.0, OVERNIGHT_GAP_ATR_MULT = 1.2).warden.explain_sizing and warden.validate_order are parity-tested against hand-computed C# risk-engine fixtures covering integer share floor rounding (floor(equity * 0.008 / (atr * 1.0))), 25% single-position cap trimming, overnight gap > 1.2x ATR halving, and 60% weekend gross-exposure headroom clamping.One-click install on [Smithery](https://smithery.ai/servers/blink-kt/quant-swarm): the listing is blink-kt/quant-swarm (package and Smithery slug are both quant-swarm); the Smithery stdio launcher starts swarm-data-mcp, and the hosted streamable-HTTP endpoints below serve all three servers. Configuration is optional — without a token the servers still start and list every tool; the first call points you at the free signup. Add a token any time to unlock the relay-backed and hosted tools.
| Server | Hook | Tools |
|---|---|---|
swarm-warden-mcp | **Quant Swarm Audit (audit.*)** guided backtest workflow plus pre-trade invariant + leakage gates (warden.*) | audit.preflight, audit.quote, audit.run, audit.status, audit.report, audit.compare, warden.validate_order, warden.audit_features, warden.cost_check, warden.validate_genome, warden.explain_sizing, warden.promotion_verdict, warden.optimize_portfolio, warden.plan_rebalance |
swarm-data-mcp | Derived-only market signals plus point-in-time feature building | market.pulse, market.sentiment, market.climate, market.regime, market.microstructure, volume.forecast, market.screen, market.rank, market.flow, market.fundamentals_pit, market.macro_nowcast, market.transfer_entropy, pit.analysis, features.build, cache.warm, cache.stats, cache.offline |
swarm-gym-mcp | Regime fragility locally, then the Shadow Tournament against the swarm's live champion | gym.label_regimes, gym.probe_fragility, gym.paired_preview, gym.estimate_cloud_run, gym.evaluate_graph, tournament.submit, tournament.verdict, tournament.leaderboard |
audit.*)Instead of chaining low-level primitives manually, start every backtest evaluation with the 6-step **audit.*** workflow on swarm-warden-mcp:
0 bytes in local mode).preflight_id and returns a deterministic execution plan, runtime estimate, exact credit/GBP cost (£0.00 for mode="local", 20 credits for mode="hosted"), anตัดมาแค่ช่วงต้น อ่านต่อใน repo