mcpField
L
LeanTrading MCP

LeanTrading MCP

Remote
leantrading.ioFinance0Updated 6w ago

About LeanTrading MCP

LeanTrading MCP connects eligible LeanTrading accounts to Cursor, Claude, and other MCP clients through OAuth. Its hosted tools cover trading-system context and charting, with write and execution capabilities gated by scopes and confirmation.

Key features

  1. 01OAuth 2.1 with PKCE connection
  2. 02Trading context and advisory access
  3. 03Charting capabilities
  4. 04Scoped write and execute tools
  5. 05Confirmation for chart and alert changes

Use cases

  1. 01Connect an eligible account to an MCP client
  2. 02Review LeanTrading system context
  3. 03Use charting capabilities with approved scopes
  4. 04Make chart or alert changes through confirmation

MCP support

The hosted LeanTrading MCP server at `https://www.leantrading.io/api/mcp` exposes LeanTrading assistant capabilities to MCP clients. Access requires OAuth and an eligible account; write and execute scopes are opt-in and subject to checks.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://www.leantrading.io/api/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README

LeanTrading MCP

Connect Cursor, Claude, and other MCP clients to the hosted LeanTrading assistant surface through OAuth 2.1/PKCE.

Hosted server

https://www.leantrading.io/api/mcp

The server requires a LeanTrading OAuth connection and an eligible account: paid Pro/Elite/Blueprint/Admin, or Product Tester during the first 14 days of the tester grant. After that window, Product Tester must upgrade to Pro. Explorer and free accounts are not granted hosted MCP access.

Installation

This repository contains the marketplace metadata and Cursor plugin wrapper. It does not contain credentials and does not require a manually copied Supabase session JWT.

The default OAuth request is read-only. Chart, write, and execute capabilities must be explicitly requested by the client and remain subject to LeanTrading scope checks and confirmation boundaries.

Safety boundaries

  • OAuth authorization uses PKCE with the S256 method.
  • Access and refresh tokens are not stored in plaintext by the server.
  • Entitlements are checked again on every hosted MCP call.
  • Webhook secrets are redacted and are not returned by the MCP tools.
  • Silent broker order placement is not exposed as an MCP operation.
  • Chart and alert mutations require stronger scopes and confirmation flows.

Marketplace listing is not a security certification. Review the source, requested scopes, and the LeanTrading privacy/security notices before connecting an account.

Repository packaging

This directory is the export bundle for the public LeanTrading/leantrading-mcp repository. It contains metadata and a thin wrapper for the hosted service; it does not contain the private server source.

Before submitting it to a marketplace:

  1. Keep the repository public and limited to this bundle.
  2. Keep the repository URL in server.json and plugin.json synchronized.
  3. Keep the hosted endpoint and version in all metadata synchronized with the deployed server.
  4. Publish the approved data-retention and deletion policy before final marketplace submission.

Privacy note

MCP requests can expose the user's requested LeanTrading system context, intelligence, risk-preview, advisory, and charting data to the connected client. Hosted MCP calls are audited using server-side metadata such as user, client, event, tool, status, and structured metadata; raw tool arguments are not stored. This metadata is retained only as long as necessary to provide the service, protect it, and comply with legal obligations, then deleted or anonymized when no longer needed. Account deletion remains subject to short backup cycles and statutory retention duties.

MCP hosting and database/authentication subprocessors include Vercel and Supabase. Data-protection requests can be sent to [email protected].

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.