# Aave V3 > On-chain contract: Aave V3. 5 functions, 1 event. MCP endpoint: https://aave.mcp.junct.dev/mcp Domain: lending Auth: none ## Tools ### admin Calls admin(). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns address. _No parameters required._ ### implementation Calls implementation(). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns address. _No parameters required._ ### initialize Calls initialize(_logic: string, _data: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value. **Parameters:** - `_logic` (string, required): address (Ethereum address, 0x-prefixed). - `_data` (string, required): bytes (hex-encoded bytes, 0x-prefixed). ### upgradeTo Calls upgradeTo(newImplementation: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value. **Parameters:** - `newImplementation` (string, required): address (Ethereum address, 0x-prefixed). ### upgradeToAndCall Calls upgradeToAndCall(newImplementation: string, data: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value. **Parameters:** - `newImplementation` (string, required): address (Ethereum address, 0x-prefixed). - `data` (string, required): bytes (hex-encoded bytes, 0x-prefixed). ### Upgraded Event emitted by the contract. Indexed fields (filterable): implementation. Subscribe via log filters. **Parameters:** - `implementation` (string, required): address (Ethereum address, 0x-prefixed) (indexed). ## Usage Connect to this MCP server at `https://aave.mcp.junct.dev/mcp`. All tools are callable via the MCP protocol. Call `Upgraded` first to query current state before any write operations. Write operations like `admin` return data or calldata for agent use.