Back to Home
metaif icon

longbridge-mcp-docker

Verified Safe

by metaif

Overview

Provides a Dockerized wrapper for the Longport Model Context Protocol (MCP) 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
  • LONGPORT_READONLY
  • SERVER_PORT

Security Notes

The Docker wrapper itself follows good security practices: credentials are handled via environment variables with a clear warning not to commit the .env file, the service defaults to a 'read-only' mode, and there are no apparent 'eval' or malicious patterns in the provided scripts. Network binding is to all interfaces (0.0.0.0:8000), but the README correctly advises on firewall configuration for public exposure. The core 'longport-mcp' binary's source is not provided in this repo, so its internal security cannot be fully audited here.

Similar Servers

Stats

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

Tags

DockerLongport APIMCPFinancial TradingAPI Proxy