INDIVIDUAL MCP TOOL
get_account
The account's balance: perp equity, free margin (available), margin in use, spot USDC, per extra dex.
LIVE ENDPOINT
https://app.wenlong.io/api/mcp
Connect to this endpoint to inspect the live schema for get_account and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.wenlong]
url = "https://app.wenlong.io/api/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"wenlong": {
"type": "http",
"url": "https://app.wenlong.io/api/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: wenlong
Remote MCP URL: https://app.wenlong.io/api/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"wenlong": {
"url": "https://app.wenlong.io/api/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"wenlong": {
"type": "http",
"url": "https://app.wenlong.io/api/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "wenlong",
"transport": "streamable-http",
"url": "https://app.wenlong.io/api/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
get_positions— Open perpetual positions: side, size, entry, value, unrealized PnL, leverage, liquidation price.get_open_orders— Resting orders (limits and TP/SL triggers) with their order ids.get_markets— Tradable markets with their mid price and maximum leverage.get_price— Current mid, mark and oracle price, funding and 24h volume for one market.place_order— Place a REAL order.cancel_order— Cancel one resting order by its order id (see get_open_orders).close_position— Close an open position at market (reduce-only).