flowtrace
Provides tools for inspecting NEAR mainnet onchain state via NEAR RPC: network status and final block anchors, account overviews (NEAR, USDC, USDT, wNEAR balances), account access keys and permissions, and comparisons of balance, key and code-hash changes across two blocks. Also verifies net FT events in finalized transactions and runs read-only transfer preflights (recipient existence, token storage, fee reserves, amount limits) that return an unsigned wallet template for review.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
New · Wallet Agent — Balance → transfer preflight → Meteor wallet confirmation → FINAL verification. Open app · How it works. Swaps and cross-chain execution are planned.

Production capture, November 4, 2026. Public-account task and conversation restored after refresh; no funds were moved.
v0.8 · Persistent sessions & background checks — Resume the conversation after refresh, keep checking a submitted transfer while the page is closed, and connect another agent with a scoped one-hour MCP token. Guide.
🧾 Follow a payment from claim to evidence
Save an order, associate a real NEAR transaction and compare the receipt with the declared amount. The workspace keeps check history and flags receipt reuse across your saved orders. Channel reports and missing source-chain evidence remain separate.

Production capture, November 3, 2026. Two constructed orders reference the same public historical receipt; no funds were moved.
Open the payment workspace → · Scope and API
Related MCP server: ryntra-solana-evidence
👁️ Close the tab. Come back to the changes.
Add an account to your watchlist. The server checks balances, keys and code approximately every three minutes and records changes that meet your rules. Collection continues while the browser is closed, for a renewable 24-hour observation lease. Pause, resume and export reports from the console.
Up to three accounts per browser session. Incomplete observations preserve the last complete baseline. These are snapshot differences, not full transaction histories or theft detection.

Production capture, November 3, 2026. Two public accounts and a real background change event; values are historical.
Start account observation → · Rules, data and deployment
🔎 What just changed in this account?
Did the balance move? Was a key added? Did the contract code change?
Give FlowTrace an account ID. Get net balance changes, access-key changes and code-hash differences in one report, with both finalized block anchors ready for review.

Real mainnet capture, November 3, 2026. Waiting time is compressed. Two snapshots show net differences, not a full transaction history.
🗣️ Ask a question. Let the agent check.
Drop this into chat:
Compare the balance and permission changes of wrap.near over the last 100 block heights.The agent calls real tools and returns results, block heights and an expandable tool trace. Open the same result in the manual panel when you want a closer look.
Actual tool call captured on November 3, 2026. Values are historical; the web UI is currently in Chinese.
Open chat and ask your question →
🛑 Sending 0.01 with a 0.001 request limit?
Flag the mismatch before wallet review.
FlowTrace checks FT balances, recipient existence, token storage, fee reserves and a per-request amount limit. This public example actually returns a blocked preflight:

A read-only rules check. The amount limit applies to this preflight input; it is not an on-chain authorization or spending cap.
Checks can produce an unsigned template for wallet review. Funds and signing stay with your wallet.
Open the amount-limit example →
💸 “Does this receipt match what we agreed?”
Provide the expected amount, asset, recipient and target transaction. FlowTrace checks the transaction's net FT events, lists mismatches and missing evidence, and can also read 1Click channel status.
Useful for payment troubleshooting, merchant-reconciliation prototypes and agents that need payment evidence. Order association is declared by the caller; channel status and merchant receipt are checked separately.
Try the historical payment example →
🧩 Give your own agent the tools
The same checks work in the browser and in clients that support HTTP MCP:
{
"mcpServers": {
"flowtrace": {
"url": "https://www.darkchunk.win/collect/mcp"
}
}
}Inspect → compare → investigate → preflight. Structured results help your agent continue the task and help you download the evidence for review.
Tool | What it does |
| Mainnet status and final block anchor |
| NEAR, USDC, USDT and wNEAR balances |
| Direct account access keys and permissions |
| Balance, key and code changes across two blocks |
| Net FT events in a finalized transaction |
| 1Click channel-status report |
| Payment claim, receipt evidence and optional channel status |
| FT transfer checks and an unsigned wallet template |
Local setup / stdio / REST → · Full parameters → · Companion Skill →
🚀 Take it for a spin
Open the live demo. No wallet connection needed.
Click 填入公开示例 (Fill public example), then 查询两个区块并核对 (Compare).
Review the changes and blocks. Download your first JSON report.
Want your own instance? Node.js 22.16+, then:
git clone https://github.com/yinbowen-dc/FlowTrace.git
cd FlowTrace
npm ci
WATCH_DB_PATH=./runtime/watch.sqlite npm startOpen the local console. Manual forms, MCP and REST need no model key. AI chat uses server-side configuration; see the integration guide.
🛠️ Working today. More to build.
This is v0.6.0 MVP: web chat, manual checks, 8 MCP tools and 4 workflows are implemented. The v0.6.0 release passed 110 tests; mainnet, MCP-client and real model-tool checks were performed separately.
Server-side watchlists, periodic snapshots and in-app events are now available. Transaction-history indexing and merchant order integration are next; those extensions are not implemented.
Plan → · v0.6.0 release → · Ideas and bugs → · Contribute → · Mainnet verification → · Offline payment evidence →
MCP and manual tasks query on demand. Browser watches opt into leased server-side collection and in-app events; external notifications and arbitrage execution are not implemented.
Account reports cover native NEAR plus USDC, USDT and wNEAR, not other tokens, NFTs, staking-pool shares or Intents internal balances.
Comparisons show net snapshot differences. Zero net movement does not establish inactivity; a key change does not establish theft. Historical-data failures remain unknown.
A payment check does not prove invoice ownership, full cross-chain settlement or source-chain refunds. Channel success alone is not merchant-receipt proof.
Preflight is not simulation or an execution guarantee. FlowTrace does not hold keys, sign, broadcast, swap or refund. FunctionCall key allowance is a gas budget.
Chat messages and needed tool results go to OpenAI; the wallet assistant persists the last six turns and tasks in a seven-day workspace; optional Google login associates this workspace with an account. See account and privacy. Other chat endpoints do not persist chat bodies. Opt-in watches store selected accounts, baselines and events in browser-session isolation; see watch data handling. The payment workspace stores orders, associations and check history server-side; see payment data handling. The earlier receipt-replay page keeps imported orders in the browser's unencrypted localStorage. Never enter wallet secrets or API keys.
Public endpoints have rate and concurrency limits and no production SLA. RPC data is an upstream observation, not an independent light-client proof. The web UI is currently in Chinese.
See the full data and integration guide (Chinese) and visual asset notes.
Built for NEAR HACKATHON 2026 with AI coding assistance. Submission is pending; see preparation. The existing domain is hosting infrastructure; the earlier market dashboard is not a source or runtime dependency.
Uses the official MCP SDK, OpenAI Agents SDK, Zod, NEAR RPC, NearBlocks sample discovery and optional 1Click status, each under its own license. MIT · FlowTrace contributors
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Read-only gateway for durable agent identity, consent, recognized work, and signed receipts.
Read-only smart-contract security intelligence for autonomous agents.
Provide AI agents and automation tools with contextual access to blockchain data including balance…
Read-only Proof of Agent explorer: epochs, rewards, holders, swaps and agent census. No auth.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop and MCP clients to interact with NEAR blockchain accounts for balance checks, account info, access keys, transaction status, and sending signed transactions.MIT
- AlicenseNot gradedqualityBmaintenanceEnables users to inspect Solana token mint accounts, preflight transfer actions, and verify outcome receipts without holding any keys or signing transactions.1Apache 2.0
- AlicenseAqualityDmaintenanceEnables NEAR wallet operations including wallet creation, balance checking, and transaction signing for agent workflows.364 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to propose policy-gated treasury payments and swaps, check pending human approvals, read transaction receipts, and locally verify their integrity through MCP tools.MIT