CLRTY-1 ALE
OfficialEnables atomic swaps with settlement in USDT (Tether) on the CLRTY-1 platform via 1inch Fusion.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CLRTY-1 ALEdry run swap 500 CLRTY-1 to USDT"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CLRTY-1-ALE-Atomic-Liquidity
CLRTY-1 Atomic Liquidity Engine — Signal → 1inch Fusion → USDT settlement
CLRTY-1 (chain 1202) service · TypeScript/Node · Creator Chandler William Ferguson
Orgclarity-fintech/CLRTY-1-ALE-Atomic-Liquidity· package@clarity-fintech/clrty-ale-atomic-liquidity
This repository is self-contained and downloadable: clone it, install once, and it builds, tests, and runs against CLRTY-1 with the scripts documented below.
Contents
Related MCP server: near-intent-swaps
What this is
CLRTY-1-ALE-Atomic-Liquidity — CLRTY-1 Atomic Liquidity Engine — Signal → 1inch Fusion → USDT settlement
Language: TypeScript (ES modules), entry
dist/server.jsRuntime: Node.js ≥ 18, HTTP service via
expressSettlement context: CLRTY-1 / chain 1202
Quickstart
git clone https://github.com/clarity-fintech/CLRTY-1-ALE-Atomic-Liquidity
cd CLRTY-1-ALE-Atomic-Liquidity
npm install
npm run build # compile TypeScript -> dist/
cp .env.example .env # then edit the values (see Configuration)
npm run dev # hot-reload dev server
npm start # run the built serviceCommand reference
Command | What it does |
| Compile TypeScript to JavaScript ( |
| Run the compiled service from the build output. |
| Run the service in watch/hot-reload mode ( |
| Run the unit test suite (RPC smoke disabled). |
| Smoke-check connectivity to CLRTY-1 ( |
| Run the live integration tests against CLRTY-1 ( |
Architecture
Source lives in src/. Module-by-module:
Module | Role |
| Atomic Liquidity Engine — Signal → 1inch Fusion → USDT settle. |
| CLRTY-1 L1 RPC client — duplicated into each service repo (no private npm this pass). |
| $CLRTY liquidity pool interaction loops — duplicated per service repo. |
| 1inch Fusion quote/swap — mock unless ONEINCH_API_KEY is set. |
| exports |
| exports |
| USDT settlement log against CLRTY-1 tip. |
Configuration
Copy .env.example to .env and set:
Variable | Default / example |
|
|
| (required) |
|
|
|
|
|
|
|
|
|
|
| (required) |
|
|
|
|
HTTP surface
The service starts an HTTP server (see src/server.ts). Route handlers are defined
in the modules listed under Architecture; start it with npm start (or npm run dev)
and call it over the port configured in your .env.
Testing
npm test # unit tests (vitest)
npm run smoke # CLRTY-1 connectivity smoke test
CLRTY_LIVE=1 npm run test:live # live CLRTY-1 integrationTest files: tests/ale.test.ts, tests/clrty1_live.test.ts, tests/smoke.test.ts
CLRTY-1 integration
src/clrty1.tsholds the CLRTY-1 client (chain 1202), used by the service to read settlement context and submit/observe activity.Configure the endpoint via the
.envvalues above; thesmokescript verifies reachability.
Networks — all clusters share chain clrty-1 / 1202 and a ~400 ms confirmation/finality cap (CLRTY1_NETWORKS / CLRTY1_FINALITY_CAP_MS in src/clrty1.ts):
Cluster | RPC | API |
mainnet | ||
testnet | ||
devnet |
Security
security/CHECKLIST.md— pre-deploy security checklist.security/ebpf/— eBPF settlement-path filters (settlement_path.bpf.c,filters.yaml).
MIS kernel binding
This service is bound into the MIS substrate: see MIS_KERNEL.md and
manifests/mis_kernel.json. It settles on the same CLRTY-1 / chain 1202 network as the
MIS .mis modules, compiled by the CLRTY-MIS-Kernel misc compiler.
Backlinks
clarity-fintech/CLRTY-MIS-Kernel — MIS
misccompiler & kernelclarity-fintech/moniversive_invariant_static_ML — MIS language root
clarity-fintech/CLRTY-1-ALE-Atomic-Liquidity — this repository
CLRTY-1 (chain 1202) · Creator Chandler William Ferguson
This server cannot be deployed
Maintenance
Related MCP Connectors
Non-custodial cross-chain crypto swap MCP — 1288+ assets, no KYC. Solana/EVM/Monero, RPC, oracle.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
MCP server for Boson Protocol — on-chain agentic commerce for physical & digital goods.
Multi-aggregator swap router for AI agents on Base. 10 bps fee. MCP-native, non-custodial.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables cross-chain token swapping between different blockchains using 1inch Fusion+ API, along with portfolio management tools for tracking assets across chains.1-
- FlicenseAqualityDmaintenanceMCP server enabling AI agents to perform cross-chain token swaps through NEAR's intent-based architecture using the Defuse Protocol, with token discovery, quote retrieval, swap execution, and status tracking.57 npm1-

paean-dex-mcpofficial
AlicenseNot gradedqualityDmaintenanceDEX trading MCP server enabling autonomous token swaps on Base (Uniswap v3) and Solana (Jupiter) for AI agents, with privacy-first design and read-only mode.4 npm5MIT
@quackai/q402-mcpofficial
AlicenseAqualityCmaintenanceMCP server for gasless USDC, USDT, RLUSD, and USDG payments across 12 EVM chains via EIP-7702, enabling quote, route, and settle stablecoin payments from any MCP client.50826 npmApache 2.0