Nyria

io.github.Nyria-LLC由 GitHub 帳號 Nyria-LLC 發布v1.0.0更新於 Oct 30, 2026

Send trade alerts from Claude, Cursor or any MCP client to Nyria Paper or your broker.

已驗證Streamable HTTP可網頁執行金融商業與電商

概覽

AI 產生的概覽

Nyria 的託管 MCP 伺服器讓助理把交易提醒送到 Nyria Paper 或已連結的券商,並查詢訂單、持倉與機器人狀態。

可以做什麼
  • 預覽 Nyria 會如何解讀一則提醒,不會實際下單
  • 把提醒送給策略下的機器人,並為每筆訂單回傳訂單編號
  • 依訂單編號查詢狀態、成交數量與成交價
  • 查看各帳戶的持倉、近期訂單、機器人清單與策略資訊
適用情境
適合想讓 Claude、Cursor 等 AI 用戶端把交易想法變成 Nyria 策略上的提醒,或查看某個策略的機器人、訂單與持倉時使用。建議先在模擬盤操作,並在送出前先預覽。
執行需求
由 Nyria 託管的遠端 Streamable HTTP 端點,無需安裝。需要免費的 Nyria 帳號,並建立策略與機器人;還需在 Authorization 標頭提供該策略專屬的 bearer 權杖(Claude.ai 與 Claude Desktop 則把權杖放在連接器網址中)。
安裝前請注意
權杖等同單一策略的密碼,應放在環境變數中,避免出現在對話與程式碼提交裡,外洩後立即輪替。實盤機器人會把送出的提醒變成真實訂單,因此應先預覽並從模擬盤開始。實盤交易為付費方案;Nyria 聲明本身是軟體而非券商或顧問,交易有虧損風險。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Nyria,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Nyria-LLC%2Fnyria/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "nyria": {
      "type": "http",
      "url": "https://api.nyria.io/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Nyria MCP server

Send trade alerts from Claude, Cursor or any MCP client to Nyria Paper or your broker. Alert to order, sub-second.

Endpoint: https://api.nyria.io/mcp (Streamable HTTP, hosted by Nyria, nothing to install)

Quickstart

  1. Create a free Nyria account, a strategy and a bot on Nyria Paper.
  2. Open the strategy, go to the Integration tab and select Show URL. The token is the last part of the MCP server URL.
  3. Add the server to your client.

Claude Code:

sh
export NYRIA_MCP_TOKEN="paste-your-token-here"claude mcp add --transport http nyria https://api.nyria.io/mcp --header "Authorization: Bearer $NYRIA_MCP_TOKEN"

Cursor, in ~/.cursor/mcp.json or .cursor/mcp.json. Set NYRIA_MCP_TOKEN in the environment Cursor starts from:

json
{  "mcpServers": {    "nyria": {      "url": "https://api.nyria.io/mcp",      "headers": {        "Authorization": "Bearer ${env:NYRIA_MCP_TOKEN}"      }    }  }}
  1. Ask your agent: "Run nyria_list_bots, then preview an alert to buy SPY. Send nothing."

Claude.ai and Claude Desktop take a custom connector with the URL https://api.nyria.io/mcp/YOUR_TOKEN. Step-by-step guides: Claude, Cursor and ChatGPT.

Auth

Each strategy has its own token. Send it as a header:

Authorization: Bearer <token>

The token works like a password and only reaches that one strategy. Rotate it on the Integration tab any time, which stops the old one at once. Keep it in an environment variable, out of chats and commits.

Tools

ToolWhat it does
nyria_preview_alertShows how Nyria reads an alert. Places nothing.
nyria_send_alertSends an alert to the bots on the strategy. Returns an order_id for each order.
nyria_order_statusLooks up one order by order_id, with status, filled quantity and fill price.
nyria_positionsOpen positions on each account with a bot on the strategy.
nyria_recent_ordersRecent orders on the strategy.
nyria_list_botsYour bots with broker, paper or live, and status.
nyria_strategy_infoThe strategy's name, status, equity type and active bot count.

A live bot turns a sent alert into a real order. Start with a paper bot, and preview before you send.

Alerts

An alert needs a ticker and an action. Plain text works, and so does JSON:

json
{ "ticker": "SPY", "action": "OPEN", "direction": "LONG" }

The bot sets the order size. Nyria places market and limit orders, and exits are alerts of their own. Field reference: webhook payload reference.

Building a bot with an AI assistant

Nyria-LLC/ai-trading-bot-starter has CLAUDE.md, AGENTS.md, Cursor rules and prompts for writing a Pine Script v6 strategy and testing it on paper through this server. Nyria-LLC/trading-alert-examples has alert messages checked against Nyria's alert tester.

Links

Paper is free. Live trading from $15 a month. Nyria is software, not a broker-dealer or an adviser, and trading involves risk of loss. See the risk disclosure.

來源:README.md,提交 1ce37a1

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

1
  1. v1.0.0最新Oct 30, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。