About
Edwin is a TypeScript SDK that connects AI agents to DeFi protocols, offering a unified, type‑safe interface for lending, borrowing, liquidity provision, and cross‑chain operations. It simplifies blockchain complexity for advanced DeFAI agents.
Capabilities

Edwin is a TypeScript‑based Model Context Protocol (MCP) server that acts as a DeFAI (decentralized finance for AI) middleware layer. Its core mission is to simplify the interaction between AI agents—such as Claude or other conversational assistants—and a wide range of blockchain‑based DeFi protocols. By exposing a unified, type‑safe API, Edwin removes the need for agents to wrestle with low‑level smart contract calls, network fees, or protocol nuances. This abstraction lets developers focus on building business logic and user experiences instead of plumbing the intricacies of each DeFi platform.
At its heart, Edwin offers a collection of resource and tool endpoints that wrap common DeFi operations: lending, borrowing, liquidity provision, and cross‑chain transfers. Each operation is implemented as a dedicated service (e.g., , ) that internally handles wallet management, gas estimation, and transaction signing through the . The server’s prompt templates are AI‑friendly, providing ready‑made conversational flows that can be invoked directly from an assistant’s context. Because all interactions are type‑checked at compile time, developers gain confidence that the data passed between the agent and the blockchain is valid, reducing runtime errors.
The value proposition for developers lies in speed to market and security assurance. Edwin’s SDK eliminates boilerplate code required for wallet creation, network selection, and protocol‑specific adapters. The cross‑chain support means a single agent can seamlessly operate on Ethereum, Base, Polygon, or any EVM‑compatible chain without redefining logic. Moreover, the library’s modular design allows teams to extend or replace individual protocol adapters without affecting the overall contract. This plug‑in architecture is highlighted in the dedicated integration guide, encouraging community contributions that can bring new protocols into the ecosystem.
Typical use cases include building autonomous yield‑optimizing agents, creating multi‑chain arbitrage bots, or enabling conversational finance assistants that can quote real‑time collateral requirements and execute trades on behalf of users. In a workflow, an AI assistant receives a user’s request (“lend 0.05 USDC on Base”), translates it into an MCP prompt, and the Edwin server executes the corresponding tool. The response is then formatted back into natural language, closing the loop with minimal friction.
Edwin’s standout features are its type safety, cross‑chain uniformity, and AI‑ready templates. By exposing DeFi operations as discrete, well‑typed tools, the server ensures that agents can reliably orchestrate complex financial workflows while maintaining compliance with blockchain best practices. This makes Edwin a compelling choice for any developer looking to embed sophisticated DeFi capabilities into AI‑driven applications.
Related Servers
n8n
Self‑hosted, code‑first workflow automation platform
FastMCP
TypeScript framework for rapid MCP server development
Activepieces
Open-source AI automation platform for building and deploying extensible workflows
MaxKB
Enterprise‑grade AI agent platform with RAG and workflow orchestration.
Filestash
Web‑based file manager for any storage backend
MCP for Beginners
Learn Model Context Protocol with hands‑on examples
Weekly Views
Server Health
Information
Tags
Explore More Servers
Medical MCP Server
Secure local hub for drug, stats, and literature queries
Grafana MCP Server
Powerful Grafana integration for AI-driven monitoring and incident management
Calorie Tracker MCP Server
Track calories, calculate BMR/TDEE with secure OAuth
ChessPal MCP Chess Engine
Stockfish-powered chess engine as an MCP server
Prometeo MCP Server
Connect your LLMs to Mexican banking and identity data
Optimade MCP Server
Query multiple Optimade databases via MCP