mcp-pear
About
MCP server for Pear Protocol: markets, positions, orders, portfolio, and gated trade execution.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
PEAR_API_KEY PEAR_ADDRESS PEAR_JWT PEAR_REFRESH_TOKEN PEAR_TRADE_ENABLEDClaude Code
claude mcp add --env PEAR_API_KEY= --env PEAR_ADDRESS= --env PEAR_JWT= --env PEAR_REFRESH_TOKEN= --env PEAR_TRADE_ENABLED= mcp-pear -- npx @marvelcodes/mcp-pear
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mcp-pear","command":"npx","args":["@marvelcodes/mcp-pear"],"env":{"PEAR_API_KEY":"","PEAR_ADDRESS":"","PEAR_JWT":"","PEAR_REFRESH_TOKEN":"","PEAR_TRADE_ENABLED":""}}'
JSON
{
"mcpServers": {
"mcp-pear": {
"command": "npx",
"args": [
"@marvelcodes/mcp-pear"
],
"env": {
"PEAR_API_KEY": "",
"PEAR_ADDRESS": "",
"PEAR_JWT": "",
"PEAR_REFRESH_TOKEN": "",
"PEAR_TRADE_ENABLED": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.