doc2json

com.manoonlabs由 manoonlabs.com 發布官方發布者v1.0.0更新於 Oct 30, 2026

Turn PDFs and photos into typed JSON with your own schema. Missing values come back null.

已驗證Streamable HTTP可網頁執行檔案與儲存資料與分析

概覽

AI 產生的概覽

遠端 MCP 伺服器,依照你定義並儲存在工作區的擷取結構,把 PDF 與圖片轉成具型別的 JSON。

可以做什麼
  • 解析文件:以 base64 送出 PDF、PNG 或 JPEG,取回具型別的欄位值與狀態,缺少的值以 null 回傳。
  • 管理結構:列出、讀取、建立與更新具名的擷取結構,用來定義要抽取的欄位。
  • 查看帳戶:顯示工作區、權杖以及本月剩餘額度。
適用情境
適合需要把發票或掃描文件依固定欄位集轉成結構化 JSON 的情境,並希望結構保存在伺服器端,讓多次擷取保持一致。
執行需求
透過 streamable HTTP 存取的遠端端點,無需本機安裝。需在 Authorization 標頭提供 bearer 權杖,即從 doc2json 主控台 API Keys 取得的 bk_live_ 金鑰。依頁數消耗額度。
安裝前請注意
文件會上傳到第三方服務,雖然說明檔案不會被儲存。每解析一頁消耗 1 個額度,使用會花費計量配額。bearer 權杖屬於機密,不應外流。建立或更新結構會變更工作區中的資料。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "doc2json": {
      "type": "http",
      "url": "https://doc2json.manoonlabs.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

工具

6

whoami

Return the workspace and token for the bearer credential, and the credits left this month.

無需輸入參數。

parse_document

Extract invoice fields from a PDF, PNG, or JPEG sent as base64 in file_base64 (10 MB and 10 pages on Free, 25 MB and 50 pages on paid). 1 credit per page; an image is 1 page. The file is not stored. file_base64 is required. The result has status and values.

輸入參數schemafile_base64

list_schemas

List the extraction schemas saved in this workspace.

無需輸入參數。

get_schema

Read one saved extraction schema by name.

輸入參數name必填

create_schema

Save a named extraction schema in this workspace. A schema is {"type":"object","properties":{...}}. Each property is {"type":T} where T is one of any, null, boolean, string, number, date, array, object. An optional description, at most 400 characters, tells the model how to read that field. An optional required array lists the keys that must be present. A date is a string yyyy-mm-dd. An array adds "items" (one node). An object adds "properties" and may add "required". At most 4 levels below the root, 100 keys, and 16384 bytes.

輸入參數name必填schema必填

update_schema

Rename a saved schema, replace its definition, or both. A schema is {"type":"object","properties":{...}}. Each property is {"type":T} where T is one of any, null, boolean, string, number, date, array, object. An optional description, at most 400 characters, tells the model how to read that field. An optional required array lists the keys that must be present. A date is a string yyyy-mm-dd. An array adds "items" (one node). An object adds "properties" and may add "required". At most 4 levels below the root, 100 keys, and 16384 bytes.

輸入參數name必填schemanewName

版本歷史

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

評分

已滿足適用檢查項的 72%

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

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

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

  • 文件15 分

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

  • 授權條款不適用

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