get_morpho_positions
Fetch Morpho Blue positions for a wallet. If marketIds is omitted, the server auto-discovers the wallet's markets by scanning Morpho Blue event logs (may take several seconds on a cold call). Pass explicit marketIds (bytes32 each, keccak256 of MarketParams) as a fast path. Returns per-market supp...
This record as markdown: /tools/io-github-szhygulin-vaultpilot-mcp/get-morpho-positions.md
What get_morpho_positions does on VaultPilot MCP
AI agents call get_morpho_positions to retrieve information from VaultPilot MCP without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
chain | string | — | EVM chain Morpho Blue is deployed on. Currently only ethereum is enabled. |
wallet | string | Yes | 0x-prefixed EVM wallet address (40 hex chars) that will execute this action. |
marketIds | array | — | Morpho Blue market ids (bytes32 each) to check. If omitted, the server auto-discovers the wallet's markets by scanning Morpho Blue event logs (Supply / Borrow / |
Parameters from the server's own tool schema.
Why get_morpho_positions is rated Low
This tool queries blockchain state to retrieve position data. It retrieves information about supplied assets, borrowed assets, and collateral across Morpho Blue markets without creating, modifying, or deleting any data. The optional auto-discovery scanning of event logs is still read-only introspection. No side effects, no financial transactions, no code execution — this is a straightforward Read operation.
From the tool's definition Tool performs 'Fetch Morpho Blue positions for a wallet' and 'Returns per-market supplied/borrowed assets and collateral' — pure data retrieval with no modification or execution of transactions.
Attacks that exploit this kind of access
The rule that runs get_morpho_positions safely
PolicyLayer is an MCP gateway: it sits between your AI agents and VaultPilot MCP, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get_morpho_positions, this is the rule to start with:
get_morpho_positions is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect VaultPilot MCP, apply this rule, and every get_morpho_positions call is checked against it from then on.
Questions about get_morpho_positions
Fetch Morpho Blue positions for a wallet. If marketIds is omitted, the server auto-discovers the wallet's markets by scanning Morpho Blue event logs (may take several seconds on a cold call). Pass explicit marketIds (bytes32 each, keccak256 of MarketParams) as a fast path. Returns per-market supplied/borrowed assets and collateral. It is categorised as a Read tool in the VaultPilot MCP MCP Server, which means it retrieves data without modifying state.
get_morpho_positions accepts 3 parameters: chain, wallet, marketIds. Required: wallet. The full parameter table on this page comes from the server's own tool schema.
Register the VaultPilot MCP server in PolicyLayer and add a rule for get_morpho_positions: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches VaultPilot MCP. Nothing to install.
get_morpho_positions is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_morpho_positions rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for get_morpho_positions. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
get_morpho_positions is provided by the VaultPilot MCP server (vaultpilot-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on VaultPilot, and thousands of servers like it.
This server
Across the catalogue