← Back to Plugins
MCP Server MCP

com.longbridge/mcp

github By github 👁 1 views ▲ 0 votes

US/HK markets — 163 tools: quotes, options, orders, fundamentals, screener, IPO, alerts, DCA & grid

Homepage Verified source GitHub

Install

oci:ghcr.io/longbridge/longbridge-mcp:0.9.0

Configuration Example

{
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://mcp.longbridge.com",
      "headers": [
        {
          "description": "Longbridge OAuth 2.1 bearer token in the form `Bearer <access_token>`. Clients should follow the authorization server URL returned by GET /.well-known/oauth-protected-resource (RFC 9728).",
          "isRequired": true,
          "isSecret": true,
          "name": "Authorization"
        }
      ]
    }
  ],
  "packages": [
    {
      "registryType": "oci",
      "identifier": "ghcr.io/longbridge/longbridge-mcp:0.9.0",
      "transport": {
        "type": "streamable-http",
        "url": "http://localhost:8000/mcp",
        "headers": [
          {
            "description": "Longbridge OAuth 2.1 bearer token in the form `Bearer <access_token>`.",
            "isRequired": true,
            "isSecret": true,
            "name": "Authorization"
          }
        ]
      },
      "runtimeArguments": [
        {
          "description": "HTTP bind address inside the container.",
          "default": "0.0.0.0:8000",
          "type": "named",
          "name": "--bind"
        },
        {
          "description": "Externally reachable URL of the server. Required for public deployments; returned via OAuth protected resource metadata.",
          "default": "http://localhost:8000",
          "type": "named",
          "name": "--base-url"
        }
      ],
      "environmentVariables": [
        {
          "description": "Longbridge OpenAPI base URL. Used for OAuth metadata discovery.",
          "default": "https://openapi.longbridge.com",
          "name": "LONGBRIDGE_HTTP_URL"
        },
        {
          "description": "Quote WebSocket endpoint used by the embedded Longbridge SDK.",
          "default": "wss://openapi-quote.longbridge.com/v2",
          "name": "LONGBRIDGE_QUOTE_WS_URL"
        },
        {
          "description": "Trade WebSocket endpoint used by the embedded Longbridge SDK.",
          "default": "wss://openapi-trade.longbridge.com/v2",
          "name": "LONGBRIDGE_TRADE_WS_URL"
        }
      ]
    }
  ]
}
mcp model-context-protocol streamable-http oci

Comments

Sign in to leave a comment

Loading comments...