base-lp-locker-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@base-lp-locker-mcp lock 1000 LP tokens for 90 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-mcpRelated MCP server: baselings-mcp
Tools
Tool | Description |
| Lock LP tokens for a specified duration (handles approval automatically) |
| Get lock details by lock ID |
| Get all locks for a wallet address |
| Get contract info, fees, and total locks |
| Withdraw LP tokens after lock expires |
| 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
Available Tools
6 toolsextend_lockA
Extend the duration of an existing LP lock. Only the lock owner can extend. Requires DEPLOYER_PRIVATE_KEY env var.
Inputs: lock_id (required), additional_days (required).
get_lockA
Get details of a specific LP lock by its lock ID. Returns owner, token, amount, unlock time, and status.
Inputs: lock_id (required).
get_locker_infoA
Get LPLocker contract info — current fee, total locks, treasury address. Use to verify the contract is live and check fees before locking.
Inputs: no named parameters.
get_user_locksA
Get all lock IDs for a given wallet address. Returns an array of lock IDs that can be queried individually with get_lock.
Inputs: address (required).
lock_lpA
Lock LP tokens in the LPLocker contract on Base. Handles ERC-20 approval automatically. Requires DEPLOYER_PRIVATE_KEY env var. Fee: 0.001 ETH per lock.
Inputs: token (required), amount (required), duration_days (required).
withdraw_lpA
Withdraw LP tokens from an expired lock. Only the lock owner can withdraw. Requires DEPLOYER_PRIVATE_KEY env var.
Inputs: lock_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a distinct purpose: locking, querying specific locks, listing user locks, checking contract info, withdrawing, and extending. No overlap or ambiguity.
All tool names follow a consistent verb_noun pattern in snake_case (lock_lp, get_lock, get_user_locks, get_locker_info, withdraw_lp, extend_lock).
Six tools is well-scoped for an LP locker management server, covering core actions without unnecessary bloat.
The surface covers the full LP lock lifecycle: create (lock), read (get_lock, get_user_locks, get_locker_info), update (extend_lock), and delete/terminal action (withdraw_lp). No significant gaps.
Related MCP Connectors
Non-custodial USDC yield vaults on Base mainnet with 9 MCP tools for AI agent treasury.
MCP server for AI agents to discover campaigns by humans and donate USDC directly on Base.
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
HiveCapital MCP Server — autonomous investment layer for AI agents
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server for AI agents to automate token swaps on Uniswap DEX across multiple blockchains.9 npm40MIT
- AlicenseBqualityDmaintenanceMCP server for AI agents to play Baselings, a yield-generating pet game on Base chain. Enables agents to manage workers, claim yields, and execute strategies to earn USDC, ETH, or BTC.4918 npmMIT
- AlicenseAqualityDmaintenanceAn MCP server that provides AI agents with real-time access to DEX liquidity pool data, enabling smarter trading, analytics, and automated strategies.101MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents real-time access to DeFi across multiple chains, enabling non-custodial crypto trading, portfolio queries, and transaction execution.7MIT