Flow — Base quotes & contract safety for agents
Best-execution quotes and contract safety checks on Base for AI agents, paid per call via x402.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"flow": {
"url": "https://flow-kg4x.vercel.app/api/mcp"
}
}
}원격 엔드포인트
https://flow-kg4x.vercel.app/api/mcpstreamable-http할 수 있는 일
도구 목록
도구 (4)
🟢flow_quote(tokenIn, tokenOut, amountIn, chainId)
Get a best-execution swap quote on Base. Compares Uniswap V3, PancakeSwap V3 and Aerodrome (plus two-hop routes via WETH), returns the winning venue, expected output, edge in bps vs the baseline, a liquidity flag (deep/watch/thin), the exact block number and timestamp, and build latency. Read-only: no funds move.
입력 스키마
{
"type": "object",
"properties": {
"tokenIn": {
"type": "string",
"description": "Input token contract address on Base (e.g. USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA4E46E)"
},
"tokenOut": {
"type": "string",
"description": "Output token contract address on Base (e.g. WETH 0x4200000000000000000000000000000000000006)"
},
"amountIn": {
"type": "string",
"description": "Human-readable input amount, e.g. \"10\" for 10 USDC"
},
"chainId": {
"type": "number",
"description": "Chain id, defaults to 8453 (Base)"
}
},
"required": [
"tokenIn",
"tokenOut",
"amountIn"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪flow_paycheck(payee)
Before you pay this agent, check. PayCheck ($0.50 USDC via x402 on Base) runs Flow's whole checker stack on a payee in ONE call — the payee verdict (kind, on-chain activity, the full contract-safety engine when the payee is a contract), the wallet approval-exposure audit, contract safety, and the payee's recent USDC settlement history — and returns one finished grade (ALLOW / REVIEW / BLOCK with a 0-100 score), a verify_status (verified / failed / unverified_verifier_down), every check, the evidence under it, and a receipt. The guarantee: the report is produced before settlement; if it cannot be produced, the payment is never settled — no report, no charge. This hosted endpoint does not hold a wallet: an unpaid call returns the endpoint's x402 payment challenge itself, never an invented result. Pay it with any x402 client, or use the @flowexecutor/flow-mcp stdio package with an Early Builder Key.
입력 스키마
{
"type": "object",
"properties": {
"payee": {
"type": "string",
"description": "The payee address to grade before paying (0x…), Base"
}
},
"required": [
"payee"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢flow_search(query, maxResults)
Verified Search ($0.01 USDC via x402 on Base): web search where every result is independently checked by Flow before it reaches you — the result URL is fetched live (liveness, final HTTP status recorded) and the fetched page text is matched against the result's own title/snippet terms (content-match score). Each result carries a verify_status (verified / failed / unverified_verifier_down), its httpStatus and contentMatch, and the response carries a receipt counting checked / verified / failed. Bad results are flagged, never silently dropped. The guarantee: the search is produced before settlement; if it cannot be produced, the payment is never settled. This hosted endpoint does not hold a wallet: an unpaid call returns the endpoint's x402 payment challenge itself, never an invented result. Pay it with any x402 client, or use the @flowexecutor/flow-mcp stdio package with an Early Builder Key.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query"
},
"maxResults": {
"type": "number",
"description": "Max results to return and verify (default 5, cap 10)"
}
},
"required": [
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢flow_health
Check the Flow quote API health: status, chain, and latest synced block number.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}커뮤니티
증거