
Mcp Afip
io.github.codespar由 GitHub 帳號 codespar 發布v0.2.0-alpha.3更新於 Oct 24, 2026
AFIP — Argentine tax authority, electronic invoicing (Factura Electrónica)
概覽
面向阿根廷稅務機關 AFIP 的本機 MCP 伺服器,讓助理開立與管理具 CAE 授權的電子發票(Factura Electrónica)。
- 可以做什麼
- 建立、批次建立、查詢與作廢電子發票、貸項通知單與借項通知單,並檢查 CAE 授權狀態及各銷售點與類型的最後發票號碼。查詢參考資料:發票類型、稅別、概念類型、證件類型、IVA 稅率、貨幣與匯率。檢查 AFIP 網路服務可用性,並列出該 CUIT 授權的銷售點。依 CUIT 在 padrón 查詢納稅人並取得登記證明。
- 適用情境
- 適用於助理需要處理阿根廷電子發票或納稅人資料的情境:開立發票、通知單或作廢,或查詢稅務參考資料與納稅人資訊。在接觸正式環境前應先在 homologation 測試環境驗證。
- 執行需求
- 透過 npm 套件 @codespar/mcp-afip 在本機執行(需 Node.js),以 alpha 標籤安裝。需要 AFIP 核發的憑證與私密金鑰,以檔案路徑形式透過 AFIP_CERT_PATH 與 AFIP_KEY_PATH 提供,並透過 AFIP_CUIT 提供納稅人 CUIT。AFIP_ENV 選擇正式或 homologation(預設 homologation);選用的 MCP_HTTP 與 MCP_PORT 可啟用 HTTP 傳輸。需要連線至 AFIP 的 SOAP 服務。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Afip,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@codespar/mcp-afip
MCP server for AFIP, the Argentine tax authority (Administracion Federal de Ingresos Publicos), for electronic invoicing (Factura Electronica) with CAE authorization
Alpha release — published under the
alphanpm dist-tag. Endpoint paths follow public docs and BACEN/provider conventions but have not been fully live-validated. Pin exact versions during0.x.x-alpha. Install withnpm install @codespar/mcp-afip@alpha.
Quick Start
Environment Variables
Tools (20)
Auth
Uses certificate-based WSAA authentication (SOAP). The MCP server wraps AFIP's SOAP services (WSFE) internally using a REST approach. You need a valid certificate issued by AFIP. For testing, use the homologation environment.
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:
AFIP_CERT_PATH(required) — Path to AFIP certificate (.crt)AFIP_KEY_PATH(required, secret) — Path to AFIP private key (.key)AFIP_CUIT(required) — CUIT number
Issue credentials at the provider's developer portal: https://www.afip.gob.ar/ws.
License
MIT
來源:packages/argentina/afip/README.md,提交 d0a519a
工具
0版本歷史
1- v0.2.0-alpha.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分