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

13FLOW

โดย bluetouffรุ่น 1.0.0i★ 4 (ดาวรวมทั้งรีโป)iรันบนคลาวด์
ชื่อใน registryio.github.bluetouff/13flow

วิธีติดตั้ง

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

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ คลาวด์ (ต่อผ่านอินเทอร์เน็ต)
  • บัญชีหรือคีย์ ไม่ต้องใส่คีย์
  • หมวด ค้นข้อมูลและความจำของ AI
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Source-linked SEC 13F research, quality checks, watchlists and audit trails for agents.

ติดตั้ง

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

ผลตรวจผ่าน 5/5 · สิ่งที่คุณถามผ่านเซิร์ฟเวอร์ของผู้ทำ (13flow.eu) · ✓ ตรวจคำสั่งแล้ว 13 พ.ย. 2569

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ตั้งครั้งเดียวที่ claude.ai หรือแอปบนคอม แล้วใช้ในแชตได้ · บัญชีฟรีเพิ่มได้ 1 ตัว · แผน Team/Enterprise ให้เจ้าของ (Owner) เป็นคนเพิ่ม

  1. เปิดหน้า Connectors ของ Claude

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. กด “Add” → “Custom” → “Web” แล้วกรอก 2 ช่องนี้

    คัดลอกจากที่นี่ไปวางในช่องชื่อเดียวกันบนหน้าจอของ Claude แล้วกด Continue

    Name · ชื่อ13FLOW
    Remote MCP server URL · ที่อยู่https://13flow.eu/api/mcp

    กด Continue ผ่านหน้าตรวจการล็อกอินที่ Claude ตรวจเจอ · หัวข้อ Authentication เลือกตามที่ผู้ทำบอก (Sign in now, Sign in when needed หรือ No sign in) แล้วกด Add

  3. เปิดใช้ในแชต

    +Connectors13FLOW

  4. ลองเลย

    ใช้ 13FLOW บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ 13FLOW หรือมีชื่อเครื่องมือของ 13FLOW ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ ChatGPT ได้ ขึ้นกับแผน

MCP แบบเต็ม: ChatGPT Business, Enterprise หรือ Edu บนเว็บ · Pro: ต่อได้ด้วยสิทธิ์อ่านและดึงข้อมูล เครื่องมือที่แก้ข้อมูลอาจใช้ไม่ได้ · Plus: เอกสารยังไม่ยืนยัน ถ้าเห็นเมนูเพิ่ม MCP แบบกำหนดเองในหน้าปลั๊กอิน ลองตามขั้นตอนได้ · ใช้บนเว็บเท่านั้น

  1. เปิดหน้าเพิ่ม MCP ของ ChatGPT บนเว็บ

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. กรอกชื่อและที่อยู่

    ใส่ชื่อ แล้ววางที่อยู่ใต้ Connection ติ๊กยอมรับคำเตือน แล้วกด Create as a plugin

    Name · ชื่อ13FLOW
    Connection · ที่อยู่https://13flow.eu/api/mcp
  3. เลือก 13FLOW ในแชต

    เปิดแชตใหม่แล้วเลือก 13FLOW จากรายการปลั๊กอินก่อนพิมพ์

  4. ลองเลย

    ใช้ 13FLOW บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า ChatGPT บอกว่ากำลังใช้ 13FLOW หรือมีชื่อเครื่องมือของ 13FLOW ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ OpenAI เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Claude Code ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  2. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --transport http --scope user 13flow https://13flow.eu/api/mcp
  3. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น 13FLOW ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  4. ลองเลย

    ใช้ 13FLOW บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ 13FLOW หรือมีชื่อเครื่องมือของ 13FLOW ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  2. เปิดแชตของ AI ใน Cursor โหมด Agent

  3. ลองเลย

    ใช้ 13FLOW บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ 13FLOW หรือมีชื่อเครื่องมือของ 13FLOW ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  2. เปิดแชตของ AI ใน VS Code โหมด Agent

  3. ลองเลย

    ใช้ 13FLOW บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ 13FLOW หรือมีชื่อเครื่องมือของ 13FLOW ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ที่อยู่สำหรับโปรแกรมที่ต่อผ่านเว็บ

ที่อยู่https://13flow.eu/api/mcp

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ 13FLOW อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ต่อผ่านเว็บ

Claude Code

claude mcp add --transport http --scope user 13flow https://13flow.eu/api/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "13flow": {
      "url": "https://13flow.eu/api/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "13flow": {
      "type": "http",
      "url": "https://13flow.eu/api/mcp"
    }
  }
}

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

สรุป

ดาว GitHubi
4 (ดาวรวมทั้งรีโป)
รีโปนี้มี MCP หลายรายการ ดาวนับในอันดับแค่รายการเดียว
ดาวน์โหลดต่อสัปดาห์i
ไม่มียอดใน npm/PyPI
licensei
AGPL-3.0
การเชื่อมต่อ
รันบนคลาวด์
รุ่นล่าสุดi
1.0.0
ส่งเข้า registryi
19 ก.ค. 2569
แก้โค้ดล่าสุดi
31 ต.ค. 2569
ผู้ทำ
bluetouff
เว็บผู้ทำ
13flow.eu
สถานะใน registry
ใช้งานอยู่

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

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ต่อผ่านคลาวด์ได้ใน

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

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

ชื่อและคำอธิบายเครื่องมือตามที่ server ตอบมาเมื่อ 11 พ.ย. 2569 ผู้ทำเป็นคนเขียน ไม่ใช่เรา แสดงเป็นข้อความล้วน

  • get_live_status

    Return verifiable public state: LIVE/DEMO/DEGRADED, commit, generated_at, data_as_of, 13F period and coverage.

  • get_product_status

    Return go-to-market readiness, sellable boundaries, validation status and blocked full-quant artifact.

  • get_research_readiness

    Return the current research, validation, data-quality and operator-review boundary without commercial claims.

  • get_agent_stats

    Return aggregate 7/30-day MCP usage, fixed client families, tool mix and reliability. Initializations are not unique users; no IP, user-agent, version, arguments, prompts or responses are stored.

  • list_funds

    Search and page through compact tracked 13F manager summaries. Use get_fund for positions and moves.

  • get_fund

    Get a bounded public fund portfolio by SEC CIK, including filing metadata, positions, moves and history counts.

  • get_stock

    Get bounded current 13F holders, quarter moves, quality warnings and ordinal research score for one ticker.

  • preview_watchlist

    Evaluate 1 to 25 tickers against trusted 13F flow, quality gates and explainable watch/monitor/block triggers.

  • discover_watchlist

    Rank trusted 13F watchlist candidates with explicit filters. Scores are ordinal research screens, not forecasts.

  • get_confluence_signals

    Return public cached Confluence v1 signals. Scores are ordinal heuristic ranks, not probabilities. Diagnostics include up to 10 examples per category, with available/returned counts and a source_url for full API details.

  • get_signal_history

    Read append-only Confluence signal revisions for audit and replay.

  • get_confluence_methodology

    Return the frozen Confluence v1 methodology contract, including proof boundary and validation requirements.

  • get_data_quality

    Return public read-only data-quality warnings. These are review signals, never automatic corrections.

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

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

  • ✓ ผ่าน

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

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

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด 15 วันที่ผ่านมา

  • ✓ ผ่าน

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

    ใช้ AGPL-3.0

  • ✓ ผ่าน

    endpoint ตอบ

    ตอบกลับใน 228 ms (HTTP 200)

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ไม่ต้องล็อกอิน

  • ✓ ผ่าน

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

    อ่านคำอธิบายเครื่องมือ 13 ตัวแล้ว ไม่พบคำสั่งแอบแฝงถึง AI

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

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

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

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

13FLOW ปลอดภัยไหม?

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

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

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

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

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

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

repo บน GitHub มีการแก้โค้ดล่าสุด 15 วันที่ผ่านมา และส่งรุ่นล่าสุด (1.0.0) เข้า registry 4 เดือนที่ผ่านมา

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

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT บนเว็บ (แบบเต็มในแผน Business ขึ้นไป · Pro แบบอ่านอย่างเดียว)

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

ในหมวดเดียวกันมี Context7, Codebase Memory, OpenSEO

ตัวอื่นในหมวดเดียวกัน

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

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

Context7

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

โดย upstashใช้กันมาก↓ 1.2M/สัปดาห์★ 64.8Kอัปเดต 3 วันที่ผ่านมา

บนเครื่องหรือคลาวด์

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

โดย DeusDataใช้กันมาก↓ 16.8K/สัปดาห์★ 48.6Kอัปเดต 29 วันที่ผ่านมา

รันบนเครื่อง

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

โดย every-appใช้กันมาก★ 27.7Kอัปเดต เมื่อวาน

รันบนคลาวด์✓ everyapp.com

README จากผู้ทำ

เปิดอ่าน README

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

13FLOW MCP Server

This directory contains the production MCP surface for 13FLOW.

It is intentionally separate from the Flask application:

  • Flask serves the public website, public API and Pro API.
  • This Node service exposes a Model Context Protocol endpoint over Streamable HTTP.
  • Apache publishes the service at https://13flow.eu/api/mcp.
  • The service calls the local Flask API at http://127.0.0.1:8000 and never touches EDGAR.

The design mirrors the l0g.fr MCP architecture: stateless transport, one MCP server per request, bounded JSON bodies, Host/Origin validation, per-IP rate limiting, health checks, structured tool output and read-only annotations.

Capability boundary

Public tools are free and read-only:

  • get_live_status
  • get_product_status
  • get_research_readiness
  • list_funds
  • get_fund
  • get_stock
  • preview_watchlist
  • discover_watchlist
  • get_confluence_signals
  • get_signal_history
  • get_confluence_methodology
  • get_data_quality
  • get_agent_stats

Public resources include 13flow://product-status, 13flow://research-readiness and 13flow://agent-stats. They expose the current validation, data-quality and operator-review boundaries without turning the retired public commercial offer into an agent-facing contract.

get_agent_stats, the resource and GET /stats expose the same privacy-safe counters used by /agents, /fr/agents and /api/agent-stats. They store UTC daily aggregates only: fixed client families, registered tool names, handler outcomes and duration counters. The telemetry store never retains IP addresses, User-Agents, client versions, raw client names, arguments, prompts, responses or keys. An initialization is a handshake, not a unique user.

Context-heavy tools are bounded by default. list_funds returns compact paginated rows, fund and ticker tools expose explicit result-window counts, and watchlist tools limit movement evidence while keeping canonical web and API URLs in structured output.

Optional Pro tools are read-only, but are not registered or advertised unless an operator deliberately sets MCP_PRO_TOOLS_ENABLED=1:

  • pro.list_funds
  • pro.get_fund
  • pro.get_data_quality

When that separate profile is enabled, calls are accepted only when one of these conditions is true:

  1. The request includes a valid existing 13FLOW Pro API key in X-13FLOW-Key.
  2. The request includes an x402 v2 PAYMENT-SIGNATURE that is verified and settled through the configured facilitator.

Client Authorization headers are never accepted as MCP Pro credentials and are never forwarded downstream. This prevents an MCP OAuth token from being passed through to a different API audience.

If neither condition holds, the server returns HTTP 402 Payment Required with a PAYMENT-REQUIRED header. The body remains JSON-RPC shaped so MCP clients can display a clear failure.

x402 policy

13FLOW can use x402 as a machine-to-machine payment gate for individual Pro MCP tool calls. It is disabled by default, absent from the Registry profile and not part of the current public offer. Enabling it also requires an explicit Pro profile and a fresh operational security review. The server advertises one accepted payment option for each paid tool:

  • scheme: exact by default
  • network: eip155:8453 by default
  • price: MCP_X402_PRICE
  • destination: MCP_X402_PAY_TO
  • resource: https://13flow.eu/api/mcp#

The server is fail-closed:

  • if MCP_X402_ENABLED=1 is absent, no x402 paid access is granted;
  • if MCP_X402_PAY_TO is absent, no x402 paid access is granted;
  • if MCP_X402_FACILITATOR_URL is absent, no x402 paid access is granted;
  • if MCP_13FLOW_INTERNAL_PRO_TOKEN_FILE is absent, no x402 paid access is granted;
  • a payment must pass facilitator /verify and /settle before the MCP tool runs.

The implementation follows x402 v2 HTTP headers:

  • PAYMENT-REQUIRED: server to client, base64 JSON payment requirement;
  • PAYMENT-SIGNATURE: client to server, base64 JSON payment payload;
  • PAYMENT-RESPONSE: server to client, base64 JSON settlement response.

The optional payment-identifier extension is accepted. When present, the server stores a short-lived fingerprint-bound settlement cache so retries for the exact same request do not execute as a different paid operation. Use Redis or another shared store before running multiple MCP replicas behind a load balancer.

Environment

MCP_HOST=127.0.0.1

MCP_PORT=8849 MCP_PATH=/mcp MCP_PUBLIC_SITE=https://13flow.eu MCP_13FLOW_API_BASE=http://127.0.0.1:8000

Required only for an explicitly enabled isolated Pro profile.

MCP_13FLOW_PRO_API_BASE=http://127.0.0.1:8001 MCP_ALLOWED_HOSTS=13flow.eu,www.13flow.eu,127.0.0.1,localhost MCP_ALLOWED_ORIGINS=https://13flow.eu,https://www.13flow.eu MCP_RATE_MAX=120 MCP_MAX_RATE_BUCKETS=10000 MCP_MAX_BODY=1048576 MCP_MAX_UPSTREAM_BODY=8388608 MCP_MAX_IN_FLIGHT=32 MCP_MAX_CONNECTIONS=128 MCP_MAX_PAYMENT_CACHE=500 MCP_STATS_RETENTION_DAYS=30

Production is pinned to this systemd StateDirectory path.

MCP_STATS_FILE=/var/lib/13flow-mcp/agent-stats.json MCP_API_TIMEOUT_MS=10000 MCP_REQUEST_TIMEOUT_MS=15000 MCP_GIT_SHA=

Keep this disabled on the public Registry daemon.

MCP_PRO_TOOLS_ENABLED=0

Optional isolated profile only (do not uncomment on the Registry daemon):

MCP_PRO_TOOLS_ENABLED=1

MCP_X402_ENABLED=1

MCP_X402_SCHEME=exact

MCP_X402_NETWORK=eip155:8453

MCP_X402_PRICE=$0.05

MCP_X402_PAY_TO=0x...

MCP_X402_ASSET=

MCP_X402_FACILITATOR_URL=https://...

Production secrets must use root-owned files, never inline environment values.

MCP_X402_FACILITATOR_AUTH_FILE=/etc/13flow/mcp-facilitator-auth

Server-side Pro credential used only after a verified x402 settlement.

Prefer the _FILE form with a root-readable/flowmcp-readable 0640 secret.

MCP_13FLOW_INTERNAL_PRO_TOKEN_FILE=/etc/13flow/mcp-internal-pro-token

MCP_X402_TEST_MODE=1 is only for local tests. It must not be enabled in production.

Local run

cd mcp-server

npm ci npm run check MCP_13FLOW_API_BASE=https://13flow.eu npm start

In another terminal:

cd mcp-server

URL=http://127.0.0.1:8849/mcp npm test

The test client verifies transport headers, Host/Origin rejection, JSON-RPC batch rejection, protocol version handling, body limits, tool/resource discovery, read-only annotations, result-size bounds, canonical provenance links and absence of Pro tools by default. Run npm run test:config and npm run test:security for fail-closed configuration, oversized upstream response and concurrency-cap regressions. npm run test:telemetry verifies persistence, retention, metric reconciliation and absence of raw client/tool data. Set SKIP_HEALTH=1 only when testing through a public proxy that intentionally keeps /healthz private. The production ModSecurity edge can reject an unsupported request content type before the MCP backend. On Debian 12, the packaged ModSecurity 2.x JSON processor is also affected by upstream issue #2807: truncated JSON can be rejected with a generic HTTP 500 before REQBODY_ERROR becomes available to a phase-2 rule. Set EXPECT_WAF_REJECTIONS=1 to accept only these bounded, fail-closed edge differences (403 or 415 for unsupported content type; 400 or 500 for truncated JSON). Direct backend tests remain strict and require 415 and 400 respectively. Do not disable SecRequestBodyAccess or the JSON processor to normalize these statuses: that would reduce request-body inspection.

URL=https://13flow.eu/api/mcp \

STATS_URL=https://13flow.eu/api/agent-stats \ SKIP_HEALTH=1 EXPECT_WAF_REJECTIONS=1 npm test

Official MCP Registry

The root server.json declares the public Streamable HTTP endpoint as io.github.bluetouff/13flow. Validate the manifest before publication:

cd /opt/13flow

mcp-publisher validate

After the matching server version is deployed and the public smoke passes, authenticate as late as possible, publish once, then verify the exact version and remote URL:

mcp-publisher login github

mcp-publisher publish cd mcp-server npm run registry:verify -- --version 1.0.0

Registry publication is metadata publication. It does not deploy the MCP daemon, so the live endpoint and Registry entry must be verified independently.

Prove that the default Registry profile does not execute a private tool:

curl -i http://127.0.0.1:8849/mcp \

-H 'Content-Type: application/json' \ -H 'Accept: application/json, text/event-stream' \ --data '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pro.list_funds","arguments":{}}}'

Expected result: a JSON-RPC unknown-tool error. pro.list_funds must also be absent from tools/list.

An isolated, explicitly enabled Pro profile accepts only the dedicated key header:

printf "API token: "

read -r -s TOKEN printf "\n"

curl -fsS http://127.0.0.1:8849/mcp \ -H 'Content-Type: application/json' \ -H 'Accept: application/json, text/event-stream' \ -H "X-13FLOW-Key: $TOKEN" \ --data '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pro.list_funds","arguments":{}}}'

unset TOKEN

Production deployment

Install dependencies once:

sudo useradd --system --no-create-home --shell /usr/sbin/nologin flowmcp

cd /opt/13flow/mcp-server sudo npm ci --omit=dev sudo chown -R root:flowmcp /opt/13flow/mcp-server sudo chmod o+x /opt/13flow

Install the systemd unit from deploy/13flow-mcp.service, set environment variables in /etc/13flow/13flow-mcp.env, then:

sudo systemctl daemon-reload

sudo systemctl enable --now 13flow-mcp curl -fsS http://127.0.0.1:8849/healthz | python3 -m json.tool curl -fsS http://127.0.0.1:8849/stats | python3 -m json.tool

The unit creates /var/lib/13flow-mcp as a mode 0700 systemd StateDirectory and grants the daemon no other persistent write path. agent-stats.json is written mode 0600 through a bounded temporary file and rename; production refuses an alternate telemetry path.

Apache must allow POST only on /api/mcp and proxy that path to the Node service. Keep the main site method allow-list in place so other public endpoints remain read-only. The supplied vhost caps the request at 1 MiB and removes client-supplied forwarding headers before proxying. The supplied systemd unit denies non-loopback networking; enabling an external x402 facilitator therefore requires a deliberate network-policy override and a new review. It also removes every Pro/x402 activation and secret variable after reading the environment file, so this public unit cannot be converted into the private profile by an accidental env edit.

Methodology contract

The MCP server is only a delivery protocol. It does not redefine the investment signal.

Confluence v1 remains the frozen public research contract:

  • score is an ordinal heuristic rank, not a probability or expected return;
  • default weights are heuristic until live historical validation is published;
  • live status, data quality, accession counts and coverage stay public;
  • the append-only signal history is the audit trail for signal revisions;
  • Pro output must keep enough metadata to reproduce the selected filing, basis date, positions, moves and data-quality caveats.

No MCP tool calls EDGAR directly. Freshness and 13F coverage come from the already published market database and cache files.