Releases: qvkare/linea-mcp
Releases · qvkare/linea-mcp
0.4.2
[0.4.2]
Fixed
- Critical Bridge Module Bug: Fixed schema-handler mismatch that prevented bridge operations when using user-friendly chain names
- Resolved validation errors when using
"linea"as sourceChain or destinationChain - Fixed type casting errors in bridge handlers caused by NetworkName type conflicts
- Corrected bridge status and claim functions to properly handle user-friendly chain names
Added
- Added support for
"linea-testnet"chain name for Linea Sepolia testnet operations - Implemented
mapUserChainToNetwork()function for seamless chain name translation - Enhanced bridge tool metadata with supported chain names documentation
Changed
- Updated bridge schemas to accept
['ethereum', 'linea', 'linea-testnet']instead of['ethereum', 'linea'] - Improved error messages with clear supported chain name information
- Updated documentation and examples to include linea-testnet usage
v0.4.1
[0.4.1]
Added
- Added Linea Native Bridge configuration for mainnet and testnet.
- Introduced CCTP token messenger for USDC bridging.
- Implemented claimFunds function for claiming bridged assets.
- Updated schemas to include ClaimFundsSchema for validation.
- Enhanced bridge status checking with message status retrieval.
- Improved error handling and logging for better debugging.
Fixed
- Fixed type conversion issues in bridge handlers for fee and value parameters.
- Resolved TypeScript errors related to number vs bigint type conversions.
v0.4.0
[0.4.0]
Added
- Integrated Linea Token API to provide new token discovery and information tools:
tokens_listAvailableTokens: List tokens on Linea with search and pagination.tokens_getTokenInfo: Get detailed token info including name, symbol, decimals, logo, and price.tokens_getTokenPriceHistory: Get historical hourly price data for a token.
- Used
axiosfor reliable HTTP requests to the Linea Token API. - Added Zod schemas for validating Linea Token API responses.
Changed
- Updated
README.mdto reflect new token capabilities. - Refined error handling for API requests and token operations.
Fixed
- Resolved various TypeScript linter errors related to module resolution, typings, and unused imports.
- Corrected type mismatches in function signatures for token handlers.
- Ensured
consoleandURLSearchParamsare recognized by adding "dom" totsconfig.jsonlibs.
v0.3.0
[0.3.0] - 2025-04-11
Added
- SyncSwap staking/yield tools for DeFi interactions
- Transaction status tool (
transactions_getStatus) - Gas estimation and confirmation step for transactions
Changed
- Migrated from ethers.js v5 to viem for all blockchain interactions
- Fixed build and lint errors related to the viem migration
Documentation
- Added .env wallet private key documentation
v0.2.0
What's New
- Integrated Linea ENS support with viem library
- Added comprehensive ENS documentation
- Implemented ENS name resolution, address lookup, name availability check and record retrieval
- Support for both Linea Mainnet and Sepolia testnet
Breaking Changes
- Removed the old lineaens implementation
Documentation
- Added detailed documentation for ENS usage in docs/ens-usage.md"
v0.1.3
First Release: Linea MCP v0.1.3
A Model Context Protocol (MCP) server that provides on-chain tools for AI applications to interact with the Linea blockchain.
Features
- ✅ Core MCP server infrastructure
- ✅ Wallet management tools
- ✅ Token operations
- ✅ Contract interactions
- ✅ NFT management
- ✅ Bridge operations
- ✅ DeFi integrations
Key Components
- Wallet Management: Retrieve addresses and check balances
- Token Operations: Transfer ERC20 tokens and check balances
- Smart Contract Interactions: Deploy and interact with contracts
- NFT Management: List and transfer NFTs
- Bridge Operations: Bridge assets between Ethereum and Linea
- DeFi Integrations: Interact with DeFi protocols on Linea
Installation
npm install -g linea-mcpDocumentation
See the README.md for full documentation and setup instructions.