Fugle MCP Server

![Docker Pulls](https://img.shields.io/docker/pulls/kevinypfan/fugle-mcp-server) ![Docker Image

Local serverstdio

What is the Fugle MCP server?

Fugle MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Docker Pulls Docker Image Size NPM Version ![NPM.

What you get

富果 MCP (Model Context Protocol) 伺服器,用於與富果交易系統進行互動。此伺服器支援股票行情查詢和交易功能。 ## 功能特點 - 支援股票即時行情查詢 - 支援歷史數據查詢 - 支援交易功能(可選) - 支援 Docker 和 NPM 兩種部署方式 - 完全兼容 MCP 協議

What the assistant can call

Once Fugle is connected, these are the calls the assistant has available:

  • SDK_TYPE — MCP Server 使用 SDK 類型(可選:「台新(taishin)」或「富邦(fubon)」,預設為「台新(taishin)」)
  • NATIONAL_ID — 身分證字號
  • ACCOUNT_PASS — 帳戶密碼
  • CERT_PASS — 憑證密碼
  • CERT_PATH — 憑證檔案路徑
  • ENABLE_ORDER — 是否開啟下單功能(可選,預設為 false)
  • ACCOUNT — 如有多帳戶,可以使用此參數指定登入帳戶(可選,預設為第一個帳戶)
  • FUBON_URL — 富邦 SDK 連線 URL(可選,僅適用於 fubon,用於連線測試伺服器)

Configuration and credentials

You will need 8 environment variables: SDK_TYPE, NATIONAL_ID, ACCOUNT_PASS, CERT_PASS, ENABLE_ORDER, ACCOUNT, CERT_PATH, FUBON_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

@fugle/mcp-server on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Choosing this one

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Fugle's toolset — SDK_TYPE, NATIONAL_ID, ACCOUNT_PASS and 5 more — is a fair guide to whether it matches your workflow. It is maintained by kevinypfan; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the fugle mcp server does with a few real requests.

Available tools

ToolWhat it does
SDK_TYPEMCP Server 使用 SDK 類型(可選:「台新(taishin)」或「富邦(fubon)」,預設為「台新(taishin)」)
NATIONAL_ID身分證字號
ACCOUNT_PASS帳戶密碼
CERT_PASS憑證密碼
CERT_PATH憑證檔案路徑
ENABLE_ORDER是否開啟下單功能(可選,預設為 false)
ACCOUNT如有多帳戶,可以使用此參數指定登入帳戶(可選,預設為第一個帳戶)
FUBON_URL富邦 SDK 連線 URL(可選,僅適用於 fubon,用於連線測試伺服器)

How to install the Fugle MCP server

{
  "mcpServers": {
    "@fugle/mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "--platform=linux/amd64",
        "-i",
        "--rm",
        "-e",
        "SDK_TYPE",
        "-e",
        "NATIONAL_ID",
        "-e",
        "ACCOUNT_PASS",
        "-e",
        "CERT_PASS",
        "-e",
        "ENABLE_ORDER",
        "-e",
        "ACCOUNT",
        "-e",
        "FUBON_URL",
        "--mount", "type=bind,src=</path/to/cert.p12>,dst=/app/cert.p12",
        "fugle/mcp-server"
      ],
      "env": {
        "SDK_TYPE": "taishin|fubon",
        "NATIONAL_ID": "您的身分證字號",
        "ACCOUNT_PASS": "您的帳戶密碼",
        "CERT_PASS": "您的憑證密碼",
        "ENABLE_ORDER": "false",
        "ACCOUNT": "指定使用帳戶號碼"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
SDK_TYPEConfiguration value read at startup.Optional
NATIONAL_IDConfiguration value read at startup.Optional
ACCOUNT_PASSConfiguration value read at startup.Optional
CERT_PASSConfiguration value read at startup.Optional
ENABLE_ORDERConfiguration value read at startup.Optional
ACCOUNTConfiguration value read at startup.Optional
CERT_PATHFilesystem location the server is allowed to use.Optional
FUBON_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Fugle to SDK TYPE.
  • Use Fugle to NATIONAL ID.
  • Use Fugle to ACCOUNT PASS.

Frequently asked questions

It connects Fugle to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (SDK_TYPE, NATIONAL_ID, ACCOUNT_PASS, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Fugle directly.