Nanotoll MCP

dev.nanotoll由 nanotoll.dev 發布官方發布者v0.1.1更新於 Oct 29, 2026

Compress prose for LLM context windows. Per-call USDC billing, signed receipt.

已驗證Streamable HTTP可網頁執行資料與分析AI 與機器學習

概覽

AI 產生的概覽

遠端 MCP 伺服器,在文字進入 LLM 上下文視窗前壓縮散文,並回傳附簽章的回執,依次以 USDC 計費。

可以做什麼
  • 在文字進入 LLM 上下文視窗前壓縮散文,回傳壓縮後文字以及記錄壓縮比、拒答與覆蓋情況的簽章回執
  • 免費查詢帳戶餘額、USDC 儲值地址、金鑰等級與到期時間以及累計用量
  • 透過回執與餘額工具確認保留與捨棄了哪些內容,並在收到 HTTP 402 後查看差額
適用情境
適合需要把長篇散文壓縮進上下文預算,並希望取得可驗證的捨棄紀錄、而非默默截斷的情況。伺服器自述程式碼與 diff 壓縮效果不佳,因此不適合這類內容。
執行需求
遠端 streamable HTTP 端點,無需本機安裝。需要 Nanotoll API 金鑰,透過 Authorization 標頭以 Bearer 權杖傳送,可經免費試用或註冊後儲值取得。儲值使用 Base L2 上的 USDC,並需能連線至 Nanotoll API。
安裝前請注意
付費服務:compress 呼叫依次以 Base L2 上的 USDC 計費(免費決定性層級、擷取式與驗證式層級依次定價),餘額不足會回傳 HTTP 402。API 金鑰屬機密,置於 Authorization 標頭,並會以 Bearer 權杖轉送至後端。送出壓縮的文字會傳送給第三方服務。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "nanotoll": {
      "type": "http",
      "url": "https://mcp.nanotoll.dev/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

工具

2

compress

Compress Text

Compress prose before it enters an LLM context window. Returns the compressed text plus a signed receipt (ratios, refusals, coverage) so the caller can verify what was dropped. Use this instead of truncating or slicing text to fit a budget: truncation drops the tail silently, compression keeps a sentence skeleton and reports what went. Do not use it for source code, config, JSON, diffs or tables - send those verbatim. Very short input (under roughly 2,000 chars) gains little, and verified mode is slower there. To compress a web page, fetch it with the read tool first and compress the markdown it returns, never raw HTML. Prefer deterministic for bulk low-stakes text (free), extractive for ordinary prose, verified when a silently dropped fact would be expensive. Flat per-call price by mode: deterministic free, extractive $0.0008, verified $0.0015 (USDC on Base L2); insufficient credit returns HTTP 402.

輸入參數text必填squeeze_modetarget_ratio_idempotency_key

check_balance

Check Balance

Read your own account and cost nothing: credit balance left, the USDC funding address to top up, key tier and expiry, and lifetime usage totals. Takes no arguments and is not billed. Call it after an HTTP 402 from compress to see the shortfall, or before a long batch to confirm credit. It reads the account belonging to the API key in your MCP client config (Authorization: Bearer ...) - that is the balance compress bills against.

無需輸入參數。

版本歷史

2
  1. v0.1.1最新Oct 29, 2026
  2. v0.1.0Sep 16, 2026

評分

已滿足適用檢查項的 72%

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

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

    請在註冊中心條目中發布圖示。

  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。