Skip to content

This release includes 3 breaking changes for platform teams planning a safe upgrade.

Published 1mo MCP Developer Tools
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Summary

AI summary

Renamed get_pnl tool and SDK method to get_position_status, deprecating the old names.

Full changelog

Changed

  • Renamed get_pnl MCP tool to get_position_status — accurately reflects that the tool returns current IL and token amounts, not cost-basis PnL
  • Renamed getUnrealizedPnL SDK method to getPositionStatus (old name kept as @deprecated alias)
  • Added PositionStatus type (replaces UnrealizedPnL, kept as deprecated alias)

Fixed

  • getPositionStatus now fetches impermanent loss for all positions in parallel with Promise.all instead of sequentially
  • getPortfolioValue: non-WCSPR LP positions (e.g. USDT/USDC) are now returned in a separate unpricedPositions list instead of being silently excluded from portfolio totals
  • Removed misleading * 2n comment that incorrectly stated all pools are 50/50
  • Added PortfolioPosition named interface exported from SDK types

Added

  • 2 new unit tests covering WCSPR vs non-WCSPR pool separation and empty-portfolio edge case (93 tests total)

Packages

Both packages also published to npm manually prior to this release.

Breaking Changes

  • Renamed `get_pnl` MCP tool to `get_position_status`
  • Renamed `getUnrealizedPnL` SDK method to `getPositionStatus` (old name deprecated)
  • Replaced `UnrealizedPnL` type with `PositionStatus`; old type kept as deprecated alias

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track make-software/cspr-trade-mcp

Get notified when new releases ship.

Sign up free

About make-software/cspr-trade-mcp

Non-custodial DEX trading on the Casper Network via CSPR.trade

All releases →

Beta — feedback welcome: [email protected]