Back to MCP directory
publicPublicdnsLocal runtime

Longport OpenAPI

Longport-MCP是Longport OpenAPI的MCP服务器实现

article

README

🚀 Longport MCP

Longport-MCP 是一个服务于 Longport OpenAPI 的 MCP 服务器,可助力开发者更好地使用相关 API 服务。

🚀 快速开始

要运行该项目,请使用以下命令:

启动 stdio 服务器

longport stdio

启动 SSE 服务器

longport sse

默认绑定地址为 127.0.0.1:8000,你可以通过使用 --bind 标志来更改它:

longport stdio --bind 127.0.0.1:3000
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client