base-lp-locker-mcp
v1.0.1
Published
MCP server for AI agents to lock, manage, and withdraw LP tokens on Base. Trustless liquidity locking with time-based unlock.
Maintainers
Readme
base-lp-locker-mcp
An MCP server for AI agents to lock, manage, and withdraw LP tokens on Base. Trustless liquidity locking with time-based unlock.
Install
npx -y base-lp-locker-mcpTools
| Tool | Description |
|------|-------------|
| lock_lp | Lock LP tokens for a specified duration (handles approval automatically) |
| get_lock | Get lock details by lock ID |
| get_user_locks | Get all locks for a wallet address |
| get_locker_info | Get contract info, fees, and total locks |
| withdraw_lp | Withdraw LP tokens after lock expires |
| extend_lock | Extend a lock's duration |
Setup
{
"mcpServers": {
"base-lp-locker": {
"command": "npx",
"args": ["-y", "base-lp-locker-mcp"],
"env": {
"DEPLOYER_PRIVATE_KEY": "your-private-key"
}
}
}
}Use Cases
- Rug-proof launches: Lock LP tokens to prove liquidity is safe
- Vesting: Time-lock LP positions for team or investor allocations
- Trust: Show holders that liquidity cannot be pulled
- Extend: Add more time to existing locks without withdrawing
Fees
- Lock fee: 0.001 ETH per lock — goes to platform treasury
- Gas: ~150k gas per lock, ~80k per withdraw/extend
Contract
- LPLocker:
0x32049c5B3E107737B8D00346C2241f9F21e9a154(Base mainnet) - Verified on Basescan: View contract
License
MIT
