lends-mcp-server
OfficialClick on "Install 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., "@lends-mcp-servershow my lending positions"
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.
LENDS MCP Server
Local Model Context Protocol server for LENDS lending/borrowing, the leUSD PSM, and sleUSD staking.
The server exposes:
on-chain protocol, market, position, token, PSM, staking, unstake, and read-only liquidation-plan tools;
unsigned transaction construction for approvals, lending, repayment, PSM conversion, and the sleUSD stake/unstake lifecycle;
deterministic protocol-math tools using raw integer units.
It contains no signer, accepts no private key, never broadcasts, and exposes no admin, liquidation-execution, reserve, harvest, loss, configuration, pause, ownership, upgrade, LENDS purchase, lock, liquidity, or vesting action.
Install and run
Publish or install @lendsprotocol/sdk first, then:
npm install -g @lendsprotocol/mcp-server
LENDS_RPC_URL=https://your-rpc.example lends-mcpLENDS_RPC_URL is read from the child process environment. It is required only for on-chain read tools; transaction builders and math tools work offline. The server uses stdio, so an MCP client starts it as a local child process—there is no HTTP API or hosted LENDS service.
Example MCP client configuration:
{
"mcpServers": {
"lends": {
"command": "lends-mcp",
"env": {
"LENDS_RPC_URL": "https://your-rpc.example"
}
}
}
}For a local checkout, use "command": "node" and "args": ["/absolute/path/to/lends-mcp-server/dist/index.js"].
Related MCP server: HyperEVM MCP
Inputs and outputs
All uint256-compatible inputs are unsigned base-10 strings, not JSON numbers. This prevents precision loss:
{
"collateral": "0xd0601CE157Db5bdC3162BbaC2a2C8aF5320D9EEC",
"amount": "1000000000000000000"
}Big integers in results are also base-10 strings. Prepared transactions contain only to, data, value, and chainId; the calling wallet must review, sign, and submit them.
Development
npm ci
npm run check
npm test
npm run buildThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LendsProtocol/lends-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server