longportapp/longport-mcp
by Various
OpenSource MCP Server for LongPort Developers.
MCP
longportapp/longport-mcp
Added 27 Sept 2026
Overview
An open-source Model Context Protocol server that connects AI assistants to LongPort's developer platform. Written in Rust, it exposes LongPort APIs through the MCP standard so MCP-compatible clients can access trading data and actions.
Best for
Best for
Developers building AI assistants on LongPort's trading platform.
Use cases
- Connect MCP-compatible AI assistants to LongPort services
- Build custom tools that query LongPort account or market data
- Integrate LongPort developer APIs into agent workflows
How to use
Tools exposed
LONGPORT_MCP_CONFIG_DIRLONGPORT_HTTP_URLLONGPORT_QUOTE_WS_URLLONGPORT_TRADE_WS_URLLONGPORT_MCP_LOG_PAYLOADSLONGPORT_LOG_PATHmcp_tool_calls_totalmcp_tool_call_duration_secondsmcp_tool_call_errors_total
Tested with
Claude Desktop, Claude Code, Cursor, Windsurf, Cline
Example client config
{\n "mcpServers": {\n "longport": {\n "url": "https://mcp.longportapp.com"\n }\n }\n} Notes
An open-source Model Context Protocol server that connects AI assistants to LongPort’s developer platform. Written in Rust, it exposes LongPort APIs through the MCP standard so MCP-compatible clients can access trading data and actions.
4 stars on GitHub. Last updated 2026-07-29. Licensed Apache-2.0.
Use cases
- Connect MCP-compatible AI assistants to LongPort services
- Build custom tools that query LongPort account or market data
- Integrate LongPort developer APIs into agent workflows
Pros
- Open source and auditable
- Rust provides strong performance and memory safety
- Follows the MCP standard for interoperability
Cons
- Very few GitHub stars suggest limited adoption
- No clear evidence of active maintenance or documentation
- Requires familiarity with LongPort’s API and MCP setup
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Open source and auditable
- Rust provides strong performance and memory safety
- Follows the MCP standard for interoperability
Cons
- Very few GitHub stars suggest limited adoption
- No clear evidence of active maintenance or documentation
- Requires familiarity with LongPort's API and MCP setup
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.
