MCP directory
MP

Mcp Pear

by github.com/MarvelNwachukwu · v0.2.2 · updated Jul 18, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @marvelcodes/[email protected]

Environment variables

  • PEAR_API_KEYsecret

    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_JWTsecret

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

  • PEAR_REFRESH_TOKENsecret

    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.

More MCP servers