Mcp Alegra

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

Alegra — cloud accounting for LATAM (Colombian-founded)

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

概覽

AI 產生的概覽

針對拉丁美洲雲端會計平台 Alegra 的本機 MCP 伺服器,讓助理管理發票、聯絡人、商品與付款。

可以做什麼
  • 建立、列出、查詢、作廢發票,寄送發票電子郵件並取得發票 PDF 下載連結
  • 建立、更新、刪除與列出聯絡人(客戶或供應商)
  • 建立、更新與列出商品及服務項目
  • 登記、列出、查詢與作廢付款
  • 列出商品分類與銀行帳戶,讀取公司資料與設定
適用情境
適合在哥倫比亞、墨西哥、阿根廷、智利等市場使用 Alegra 記帳時,想讓助理代為草擬發票、查詢聯絡人與付款紀錄或查看公司設定,而不必切換到網頁版。
執行需求
以本機程序方式透過 npx 執行(需要 Node.js)。需要 Alegra 帳號,並設定兩個環境變數:ALEGRA_EMAIL 與密鑰 ALEGRA_API_TOKEN,後者可在 Alegra 設定的 API 區段取得。可選用 MCP_HTTP 與 MCP_PORT 啟用 HTTP 傳輸。需要能連線至 Alegra API 的網路。
安裝前請注意
伺服器持有可存取會計資料的 Alegra API 權杖。多個工具會寫入或變更資料:建立、作廢與寄送發票,建立、更新與刪除聯絡人,建立與更新商品,以及登記或作廢付款。寄送發票會將郵件寄給外部收件者。允許助理執行寫入操作前請先確認。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

MCP Alegra

MCP server for Alegra — cloud accounting platform for LATAM (Colombian-founded), supporting invoicing, contacts, inventory, and payments across CO, MX, AR, CL, and more.

Quick Start

bash
# Set your credentialsexport ALEGRA_EMAIL="[email protected]"export ALEGRA_API_TOKEN="your-api-token"
# Run via stdionpx tsx packages/colombia/alegra/src/index.ts
# Run via HTTPnpx tsx packages/colombia/alegra/src/index.ts --http

Environment Variables

VariableRequiredDescription
ALEGRA_EMAILYesAccount email address
ALEGRA_API_TOKENYesAPI token from Alegra settings
MCP_HTTPNoSet to "true" to enable HTTP transport
MCP_PORTNoHTTP port (default: 3000)

Tools (20)

ToolPurpose
create_invoiceCreate an invoice
get_invoiceGet invoice details by ID
list_invoicesList invoices
void_invoiceVoid/cancel an invoice
get_invoice_pdfGet invoice PDF download URL
send_invoiceEmail an invoice to one or more recipients
create_contactCreate a contact (customer or supplier)
update_contactUpdate an existing contact
delete_contactDelete a contact
list_contactsList contacts
create_itemCreate a product or service item
update_itemUpdate an existing item
list_itemsList products and services
list_paymentsList payments
get_paymentGet payment by ID
create_paymentRecord a payment
void_paymentVoid/annul a payment
list_categoriesList item categories (chart of accounts)
list_bank_accountsList bank accounts
get_companyGet company profile and settings

Auth

Uses Basic authentication with email and API token. Obtain your API token from the Alegra settings page under "API" section.

API Reference


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.

Authentication

Set these environment variables before launching the server:

  • ALEGRA_EMAIL (required) — Account email for Alegra
  • ALEGRA_API_TOKEN (required, secret) — API token for Alegra

Issue credentials at the provider's developer portal: https://developer.alegra.com.

License

MIT

來源:packages/colombia/alegra/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 分