Back to Home
WisdomShun icon

longbridge-mcp-docker

Verified Safe

by WisdomShun

Overview

Provides a Dockerized Longport MCP (Model Context Protocol) server for easy deployment and management of Longport API services.

Installation

Run Command
docker run -d --name longport-mcp-server -e LONGPORT_APP_KEY=your_app_key -e LONGPORT_APP_SECRET=your_app_secret -e LONGPORT_ACCESS_TOKEN=your_access_token -e LONGPORT_READONLY=true -p 8000:8000 -v ./logs:/var/log/longport-mcp ghcr.io/metaif/longportmcpdocker:latest

Environment Variables

  • LONGPORT_APP_KEY
  • LONGPORT_APP_SECRET
  • LONGPORT_ACCESS_TOKEN

Security Notes

The project uses Docker Compose and environment variables for configuration, which is good practice for managing sensitive data. The `entrypoint.sh` script is well-structured, avoids 'eval' or other dangerous shell patterns, and correctly handles arguments and logging. The README explicitly highlights security best practices such as not committing `.env` files and protecting API credentials. The default `LONGPORT_READONLY` mode adds an extra layer of safety. The service binds to `0.0.0.0` internally, which is standard for Dockerized applications, and the README advises firewall configuration for public exposure, indicating awareness of network security.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Stars0
Forks0
Last Update2025-11-20

Tags

DockerFinancial TradingAPI ProxyModel Context ProtocolLongport