by edwin-finance
Provides a TypeScript SDK that bridges AI agents with DeFi protocols, offering a unified, secure interface for lending, borrowing, liquidity provision, and cross‑chain operations.
Enables AI agents to interact directly with multiple DeFi protocols through a type‑safe, unified API, abstracting blockchain intricacies and protocol‑specific logic.
pnpm install edwin-sdk
import { EdwinEVMWallet, AaveService } from 'edwin-sdk';
const wallet = new EdwinEVMWallet(evmPrivateKey as `0x${string}`);
const aave = new AaveService(wallet);
const result = await aave.supply({
chain: 'base',
amount: 0.05,
asset: 'usdc',
});
The SDK can be imported in any TypeScript project, configured with a wallet, and then used to call service methods such as supply, borrow, or provide liquidity.
Q: Which blockchains are supported? A: Any EVM‑compatible chain; the SDK includes built‑in support for popular networks (Ethereum, Base, etc.) and can be extended.
Q: Do I need to run a node? A: No, the SDK uses standard RPC endpoints; you just provide the RPC URL in the wallet configuration.
Q: Is the SDK open source? A: Yes, it is released under the GPL license.
Q: How can I contribute? A: Follow the Contributing Guide on the documentation site to submit plugins or core improvements.
Q: Where can I find detailed docs? A: Visit https://docs.edwin.finance for full API reference and integration guides.
Edwin is a TypeScript library that serves as the bridge between AI agents and DeFi protocols. It provides a unified, secure interface for AI agents to interact with various DeFi protocols while abstracting away the complexity of blockchain operations and protocol-specific implementations. This enables the creation of sophisticated DeFAI agents.
pnpm install edwin-sdk
// Import the required wallet and services
import { EdwinEVMWallet, AaveService } from 'edwin-sdk';
// Configure Edwin wallets and services
const wallet = new EdwinEVMWallet(evmPrivateKey as `0x${string}`);
const aave = new AaveService(wallet);
// Supply tokens to a lending protocol
const result = await aave.supply({
chain: 'base',
amount: 0.05,
asset: 'usdc',
});
For detailed documentation, visit docs.edwin.finance
For developers interested in creating plugins, check out our Plugin Integration Guide.
Contributions are welcome! Please visit our Contributing Guide for details.
GPL
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by goat-sdk
Enables AI agents to send and receive payments, purchase goods and services, execute investment strategies, tokenize assets, and obtain financial insights by leveraging blockchains, stablecoins, and wallets.
by financial-datasets
Provides access to income statements, balance sheets, cash flow statements, stock prices, market news, and cryptocurrency data through MCP tools for AI assistants.
by alpacahq
Enables large language models to trade stocks and options, retrieve real‑time and historical market data, and manage portfolios using plain English commands through a local or remote MCP server.
by XeroAPI
Provides a bridge between the Model Context Protocol and Xero's API, enabling standardized access to Xero accounting and business features.
by stefanoamorelli
Provides an MCP server that connects AI models to SEC EDGAR filings, enabling real‑time retrieval of company filings, financial statements, and insider‑trading data with exact XBRL precision and verifiable filing references.
by ariadng
Enables AI LLMs to execute trades on the MetaTrader 5 platform through the Model Context Protocol.
by calvernaz
Provides access to Alpha Vantage stock market data via an MCP server, supporting stdio and HTTP streaming modes with optional OAuth 2.1 authentication.
by kukapay
Integrates the Freqtrade cryptocurrency trading bot with MCP, exposing its REST API as tools for AI agents to perform automated trading operations.
by kukapay
Provides a comprehensive set of cryptocurrency technical analysis indicators and ready‑to‑use trading strategies through an MCP interface, enabling AI agents and applications to generate buy, hold, or sell signals.