Mcp Tiny

io.github.codespar由 GitHub 帳號 codespar 發布v0.2.2更新於 Oct 24, 2026

MCP server for Tiny ERP — products, stock, warehouses, price lists, orders, invoices, AP/AR

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

讓助理讀取和修改 Tiny ERP 的業務資料,例如產品、訂單、發票、庫存和應付帳款。

可以做什麼
透過 21 個工具把助理連接到 Tiny ERP。它可以列出並取得產品、訂單、聯絡人、發票、倉庫、價格表、分類以及應付和應收帳款。它也能修改資料:依訂單建立稅務發票(NF-e)、調整產品庫存餘額、變更銷售訂單狀態,以及用電子郵件寄送已開立的發票。也可以取得發票的 XML 內容和 DANFE PDF 連結。
適用情境
適合助理在日常業務工作中查詢或更新 Tiny ERP 記錄的情境,例如查看庫存或訂單狀態、核對發票和應付帳款,或開立並寄送發票。適合已經使用 Tiny ERP、希望以對話方式存取該系統的團隊。
執行需求
以本機 stdio 程序執行,通常透過 npx 從 npm 套件 @codespar/mcp-tiny 啟動,因此需要 Node.js 和網路存取。需要 Tiny ERP 帳號和 API 權杖,透過環境變數 TINY_API_TOKEN 提供。需要設定桌面用戶端。
安裝前請注意
TINY_API_TOKEN 密鑰可存取 Tiny ERP 帳號,必須避免寫入共用設定檔。多個工具會寫入或傳送資料:create_invoice 開立稅務發票,update_stock 變更庫存餘額,update_order_status 變更訂單狀態,send_invoice_email 寄送郵件給收件人。在允許助理執行這些操作前請先確認。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Tiny,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@codespar/mcp-tiny

MCP server for Tiny ERP — products, orders, contacts, invoices, stock, and accounts payable

[npm] [License: MIT]

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

json
{  "mcpServers": {    "tiny": {      "command": "npx",      "args": ["-y", "@codespar/mcp-tiny"],      "env": {        "TINY_API_TOKEN": "your-token"      }    }  }}

Claude Code

bash
claude mcp add tiny -- npx @codespar/mcp-tiny

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

json
{  "servers": {    "tiny": {      "command": "npx",      "args": ["-y", "@codespar/mcp-tiny"],      "env": {        "TINY_API_TOKEN": "your-token"      }    }  }}

Tools (21)

ToolPurpose
list_productsList products in Tiny ERP
get_productGet product details by ID
list_ordersList sales orders in Tiny ERP
get_orderGet order details by ID
list_contactsList contacts in Tiny ERP
get_contactGet contact details by ID
create_invoiceCreate a fiscal invoice (NF-e) from an order in Tiny
get_invoiceGet invoice details by ID
get_stockGet current stock for a product
list_accounts_payableList accounts payable in Tiny ERP
update_stockUpdate (adjust) product stock balance — credit or debit a quantity for a deposit
list_categoriesList product categories as a tree in Tiny ERP
list_warehousesList stock warehouses (depósitos) configured in Tiny ERP
list_price_listsList price lists (listas de preços) configured in Tiny ERP
update_order_statusChange a sales order's status — useful for cancelling or marking as approved/billed
list_invoicesList fiscal invoices (NF-e/NFC-e) in Tiny ERP
get_invoice_xmlGet the XML payload of an issued invoice (NF-e)
get_invoice_linkGet the DANFE PDF/link for an issued invoice
send_invoice_emailEmail an issued invoice to a recipient
list_accounts_receivableList accounts receivable in Tiny ERP
get_account_receivableGet a single accounts-receivable record by ID

Authentication

Tiny uses a token parameter passed in each request.

Sandbox / Testing

Tiny provides test access via account registration.

Get your credentials

  1. Go to Tiny ERP
  2. Create an account
  3. Navigate to API settings to generate a token
  4. Set the TINY_API_TOKEN environment variable

Environment Variables

VariableRequiredDescription
TINY_API_TOKENYesAPI token from Tiny ERP

Roadmap

v0.2 (planned)

  • create_product — Create a new product
  • update_product — Update product details
  • create_contact — Create a contact (customer/supplier)
  • update_contact — Update contact details
  • get_financial_summary — Get financial summary report

v0.3 (planned)

  • fiscal_reports — Generate fiscal reports (NF-e, NFS-e)
  • multi_company — Multi-company management

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

來源:packages/erp/tiny/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

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

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