MCP server for Pear Protocol: markets, positions, orders, portfolio, and gated trade execution.

stdiocommunityservice

Package Details

Transportstdio

Environment Variables

PEAR_API_KEY
Secret

Pear API key for authenticated read/write tools (single-user mode). Public tools work without it.

PEAR_ADDRESS

Wallet address (0x...) bound to PEAR_API_KEY. Required alongside PEAR_API_KEY.

PEAR_JWT
Secret

Pre-minted Pear JWT for multi-tenant orchestrators (JWT pass-through mode). Used directly when set.

PEAR_REFRESH_TOKEN
Secret

Refresh token so the server refreshes an expired JWT itself instead of requiring a restart.

PEAR_TRADE_ENABLED

Set to 'true' to enable the write/trade-execution tools. Off by default.