Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Implementation:AI4Finance Foundation FinGPT Finogrid MCP Servers

From Leeroopedia
Knowledge Sources
Domains MCP_Server, Fintech_Infrastructure, Payments
Last Updated 2026-10-18 00:00 GMT

Overview

Concrete tools for five Model Context Protocol (MCP) servers that abstract external providers (Bridge API, KYB, KYT/AML, KYA validation, wallet factory) behind a standard tool interface for the Finogrid platform.

Description

The Finogrid MCP servers provide a uniform interface for agents and services to call external APIs without hardcoding HTTP logic. Each server defines `MCP_TOOLS` and exposes them as HTTP endpoints:

  • Bridge MCP — stablecoin transfers via Bridge API (create, get, cancel)
  • Identity/KYB MCP — business onboarding verification (submit, status)
  • KYT/AML MCP — wallet address screening + sanctions checks (Chainalysis-compatible)
  • KYA Validator MCP (port 9005) — Know Your Agent validation with internal/Sardine/Persona/Chainalysis backends; JWT token stamps
  • Wallet Factory MCP (port 9004) — on-chain wallet registration, EIP-191 ownership verification, USDC balance + tx confirmation on Base L2

Usage

Run these servers when integrating Finogrid with external payment, identity, compliance, or wallet providers. Swap providers by swapping the MCP server implementation.

Code Reference

Source Location

Signature

# Bridge MCP
async def call_bridge(tool: str, params: dict) -> dict: ...
# Tools: create_transfer, get_transfer, cancel_transfer

# Identity/KYB MCP
async def call_identity(tool: str, params: dict) -> dict: ...
# Tools: submit_kyb, get_kyb_status

# KYT/AML MCP
async def call_kyt(tool: str, params: dict) -> dict: ...
# Tools: screen_address, screen_sanctions

# KYA Validator MCP (FastAPI)
class KYAValidatorSettings(BaseSettings):
    kya_validator_backend: str = "internal"  # internal | sardine | persona | chainalysis
    kya_token_ttl_days: int = 365
    app_port: int = 9005
# Endpoints: POST /tools/submit_kya, /tools/get_kya_status, /tools/verify_kya_token, /tools/renew_kya

# Wallet Factory MCP (FastAPI)
class WalletFactorySettings(BaseSettings):
    base_rpc_url: str = "https://mainnet.base.org"
    usdc_contract_address_base: str = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
    app_port: int = 9004
# Endpoints: POST /tools/register_wallet, /tools/verify_ownership, /tools/get_wallet_balance, /tools/check_tx_confirmed

Import

# Bridge/KYB/KYT: import call functions
from finogrid.mcp.bridge.server import call_bridge
from finogrid.mcp.identity.server import call_identity
from finogrid.mcp.kyt_aml.server import call_kyt

# KYA/Wallet: FastAPI apps
from finogrid.mcp.kya_validator.server import app as kya_app
from finogrid.mcp.wallet_factory.server import app as wallet_app

I/O Contract

Inputs

Name Type Required Description
tool str Yes MCP tool name
params dict Yes Tool parameters

Outputs

Name Type Description
result dict Provider-specific response (transfer, risk score, KYB status, etc.)

Usage Examples

Screen a Wallet Address

from finogrid.mcp.kyt_aml.server import call_kyt

result = await call_kyt("screen_address", {
    "address": "0x1234...",
    "asset": "USDT",
    "amount_usd": 5000,
})
print(f"Risk score: {result['risk_score']}")

Create a Bridge Transfer

from finogrid.mcp.bridge.server import call_bridge

result = await call_bridge("create_transfer", {
    "amount": "100",
    "asset": "usdc",
    "delivery_mode": "wallet",
    "recipient_address": "0x1234...",
    "corridor": "BR",
    "idempotency_key": "unique-001",
})
print(f"Transfer ID: {result.get('id')}")

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment