defi-guard-mcp
A read-only MCP server providing real-time DeFi risk analysis on the Base network. It allows AI agents to scan token bytecode for dangerous owner powers, check approval risks, evaluate Aave V3 position health, and obtain executable swap quotes with gas estimates. It uses live on-chain state to assess liquidity and safety without requiring API keys or holding private keys.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Scan token bytecode for owner-only powers like minting or pausing
- Check Aave V3 position health factor and liquidation risk
- Get executable swap quotes via Uniswap V3 QuoterV2
- Assess token liquidity via round-trip quotes to detect trapped assets
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@iniit/defi-guard-mcp 0.2.0
{
"version": "0.2.0",
"transport": "stdio",
"identifier": "@iniit/defi-guard-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "BASE_RPC_URL",
"description": "Optional Base RPC endpoint; defaults to public fallback pool"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"defi-guard-mcp": {
"command": "npx",
"args": [
"-y",
"@iniit/defi-guard-mcp@0.2.0"
],
"env": {
"BASE_RPC_URL": "<YOUR_BASE_RPC_URL>"
}
}
}
}Cline
{
"mcpServers": {
"defi-guard-mcp": {
"command": "npx",
"args": [
"-y",
"@iniit/defi-guard-mcp@0.2.0"
],
"env": {
"BASE_RPC_URL": "<YOUR_BASE_RPC_URL>"
}
}
}
}VS Code
{
"servers": {
"defi-guard-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@iniit/defi-guard-mcp@0.2.0"
],
"env": {
"BASE_RPC_URL": "<YOUR_BASE_RPC_URL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"defi-guard-mcp": {
"command": "npx",
"args": [
"-y",
"@iniit/defi-guard-mcp@0.2.0"
],
"env": {
"BASE_RPC_URL": "<YOUR_BASE_RPC_URL>"
}
}
}
}Let your agent find its tools
Find servers like defi-guard-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.