Based Loans
io.github.0xVarius/basedloans
Borrow USDC against Base tokens with no liquidations, or lend USDC. Quotes, risk data, unsigned txs.
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
- Dépôt
- github.com/0xVarius/basedloans-agents
- Site
- based.loans/
- Adresse du serveur
https://mcp.based.loans/mcp(streamable-http)- Version
- 0.1.4
- Auteur
- 0xVarius (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 18 nov. 2026)
Comment l’installer
Variables à renseigner : BASE_RPC_URL, BASEDLOANS_READ_ONLY.
Serveur distant (rien à installer)
Claude Code
Dans un terminal :
claude mcp add --transport http basedloans https://mcp.based.loans/mcpClaude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://mcp.based.loans/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://mcp.based.loans/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"basedloans": {
"url": "https://mcp.based.loans/mcp"
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"basedloans": {
"type": "http",
"url": "https://mcp.based.loans/mcp"
}
}
}Sur votre machine
Claude Code
Le serveur tourne sur votre machine (paquet npm). Dans un terminal :
claude mcp add basedloans -e BASE_RPC_URL=VOTRE_BASE_RPC_URL -e BASEDLOANS_READ_ONLY=VOTRE_BASEDLOANS_READ_ONLY -- npx -y @basedloans/[email protected]Claude Desktop claude_desktop_config.json
Réglages, Développeur, Modifier la configuration, puis ajoutez :
{
"mcpServers": {
"basedloans": {
"command": "npx",
"args": [
"-y",
"@basedloans/[email protected]"
],
"env": {
"BASE_RPC_URL": "VOTRE_BASE_RPC_URL",
"BASEDLOANS_READ_ONLY": "VOTRE_BASEDLOANS_READ_ONLY"
}
}
}
}Cursor ~/.cursor/mcp.json
Dans ~/.cursor/mcp.json :
{
"mcpServers": {
"basedloans": {
"command": "npx",
"args": [
"-y",
"@basedloans/[email protected]"
],
"env": {
"BASE_RPC_URL": "VOTRE_BASE_RPC_URL",
"BASEDLOANS_READ_ONLY": "VOTRE_BASEDLOANS_READ_ONLY"
}
}
}
}VS Code .vscode/mcp.json
Dans .vscode/mcp.json :
{
"servers": {
"basedloans": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@basedloans/[email protected]"
],
"env": {
"BASE_RPC_URL": "VOTRE_BASE_RPC_URL",
"BASEDLOANS_READ_ONLY": "VOTRE_BASEDLOANS_READ_ONLY"
}
}
}
}ChatGPT
ChatGPT se connecte seulement à des serveurs distants (une adresse https). Ce paquet tourne en local : utilisez l’une des applications ci-dessus.
Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 28 nov. 2026, 11:10 (test fait par L’Atlas)
- Temps de réponse
- 463 ms (test complet)
- Outils trouvés
- 19
- Nom annoncé
- basedloans 0.1.2
- Protocole
- MCP 2025-11-25
- Prochain test
- 5 déc. 2026
Voir les outils (19)
get_protocol_info
Live protocol parameters: loan fee, the three loan terms with their durations and buyback costs, minimum loan and deposit sizes, per-token lending limit bounds, and whether the protocol is paused.list_markets
Every token currently accepted as collateral, with price, max loan-to-value, USDC available to borrow against it, active loans, and how it is priced. Set only_with_funds to see only tokens lenders are currently backing.get_market
Price, max loan-to-value, USDC available to borrow, active loans and pricing type for one token.get_risk_report
Live risk data for lending against (or borrowing with) a token: how many price sources it has and whether they cross-check each other, how far back its pool price history goes, how much trading it would take to move its pool price 2x and 10quote_borrow
Exact loan quote using the same math the contract runs: USDC you receive after the fee, buyback cost, due date, and how much collateral is used. It replays the lender queue, so the funded amount matches what the loan would really get, and wget_loan
Status, collateral, buyback cost and remaining amount, due date and lenders for one loan.get_borrower_loans
Every loan a wallet has opened, with status (active, partially_repaid, repaid, defaulted), buyback remaining and time until due.get_lender_position
A lender's deposit, USDC in active loans, USDC available to withdraw, per-token limits, and every loan they funded with any repaid USDC or defaulted collateral they can claim.request_token_listing
Check whether a token is accepted as collateral. If it is not, returns a pre-filled link to the Based Loans request form for the user to open and submit. Nothing is submitted automatically.explain_collateral_types
How Based Loans prices different kinds of collateral (regular tokens, two-hop priced tokens, staked and share tokens, escrowed tokens), with examples, and what each means for borrowers and lenders.build_borrow
Returns the unsigned transactions to open a loan: an approval (only if needed) then openLoan. Includes the quote and warnings. The user's wallet must sign and send each step in order.build_buyback
Returns the unsigned transactions to pay back a loan and get collateral back: a USDC approval (only if needed) then buyback. Omit payment_usdc to pay the full remaining amount.build_deposit
Returns the unsigned transactions to deposit USDC for lending, optionally setting per-token lending limits in the same transaction (needed before a first deposit can be lent). Check get_risk_report for each token first.build_set_limits
Returns the unsigned transaction to add, change or remove per-token lending limits. A limit cannot be set below what is already in active loans for that token.build_withdraw
Returns the unsigned transaction to withdraw USDC that is not in active loans. Use "max" for everything available. as_musdc receives vault shares and skips the 0.25% withdrawal fee.build_claim_proceeds
Returns the unsigned transaction to claim repaid USDC from loans you funded (mode withdraw) or put it straight back into lending (mode redeploy). Get loan IDs from get_lender_position.build_claim_collateral
Returns the unsigned transaction for a lender to claim their share of collateral from loans that passed their due date without a full buyback.build_set_auto_redeploy
Returns the unsigned transaction to turn automatic re-lending of repaid principal on or off.simulate_transaction
Dry-runs one prepared transaction from a wallet against the latest block and explains the failure in plain language if it would revert. Steps that depend on an earlier approval only pass after that approval is mined.
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/io.github.0xvarius/basedloans)HTML
<a href="https://lagora.dev/fiche/io.github.0xvarius/basedloans"><img src="https://lagora.dev/badge/io.github.0xvarius/basedloans.svg" alt="io.github.0xVarius/basedloans sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.