india-stack-mcp
Enables AI agents to manage Indian enterprise systems by providing tools for accounting (TallyPrime), invoicing (Zoho Books), and GST compliance (validation, e-invoice generation, and GSTR-2B reconciliation), with dry-run-first writes and an audit trail.
README
india-stack-mcp
Production-grade MCP servers for Indian enterprise systems. Agents that can do books and file taxes in India — starting with TallyPrime, the accounting system behind millions of Indian SMEs.
Why
Frontier agents can reason about GST, but they cannot touch Tally. There is no modern API, no OAuth, no SDK — just a local XML gateway that punishes the unprepared. This project is the missing connector layer: typed tools, dry-run-first writes, idempotency, human approval hooks, and a tamper-evident audit trail, packaged as standard MCP servers that work in Claude Desktop, Claude Code, Cursor, Codex, or any MCP client.
Status
| Connector | Scope | State |
|---|---|---|
tally-mcp |
Companies, ledgers, vouchers (7 types), day book, trial balance | alpha |
zoho-mcp |
Organizations, contacts, invoices, items, payments, chart of accounts | alpha |
gst-mcp |
GSTIN validation, e-invoice (IRN) payloads + NIC-style encryption, GSTR-2B reconciliation | alpha |
Quick start
npm install
npm run build
Point Claude Desktop / Cursor at the built server (see
examples/claude_desktop_config.json):
{
"mcpServers": {
"tally": {
"command": "node",
"args": ["<abs-path>/packages/connector-tally/bin/tally-mcp.js"],
"env": {
"TALLY_URL": "http://localhost:9000",
"TALLY_COMPANY": "Your Company Pvt Ltd"
}
},
"zoho": {
"command": "node",
"args": ["<abs-path>/packages/connector-zoho/bin/zoho-mcp.js"],
"env": {
"ZOHO_CLIENT_ID": "...",
"ZOHO_CLIENT_SECRET": "...",
"ZOHO_REFRESH_TOKEN": "...",
"ZOHO_DC": "in",
"ZOHO_ORGANIZATION_ID": "..."
}
}
}
}
Requirements on the Tally side: TallyPrime running locally with XML serving enabled on
port 9000 (F1 → Settings → Connectivity). See docs/tally-xml-notes.md.
Zoho Books needs a self-client OAuth refresh token with Books scopes
(ZohoBooks.fullaccess.all or narrower), created at the Zoho API Console. Credentials can
also live in a file-based vault instead of env vars (CredentialVault in core).
Tools (27)
Tally (12) — Reads: tally_list_companies, tally_get_company, tally_search_ledgers,
tally_get_ledger, tally_day_book, tally_trial_balance, tally_ledger_balances,
tally_list_voucher_types, tally_find_vouchers. Writes: tally_create_ledger,
tally_create_voucher (7 voucher types), tally_delete_voucher.
Zoho Books (11) — Reads: zoho_list_organizations, zoho_list_contacts,
zoho_get_contact, zoho_list_invoices, zoho_get_invoice, zoho_list_items,
zoho_chart_of_accounts. Writes (dry-run by default): zoho_create_contact,
zoho_create_invoice, zoho_create_item, zoho_create_customer_payment.
GST ops (4) — gst_validate_gstin (mod-36 checksum, state, PAN/entity type),
gst_einvoice_build (canonical v1.01 payload with tax splits + round-off),
gst_einvoice_generate (IRN via pluggable IRP client; NIC-style encrypted envelopes:
RSA-wrapped SEK + AES-256-CBC + HMAC-SHA256), gst_reconcile_2b
(matched/mismatch/missing classification across your purchase register vs GSTR-2B,
with ITC-at-risk quantification).
Every write returns the exact upstream request body as a preview until you pass
dry_run: false. Retries with the same idempotency_key never double-post.
Safety model
- Writes default to preview; committing requires explicit opt-in.
- Vouchers are balance-checked client-side before any network call.
- Every invocation appends a redacted, hash-chained audit record (
INDIA_STACK_AUDIT_LOG). - Destructive tools can require human approval via a pluggable
Approver.
See docs/architecture.md for the full design.
HTTP mode
npm run start -w @india-stack/demo-host # POST http://localhost:8787/mcp/tally
Development
npm run test # unit + golden-file tests (no Tally needed)
TALLY_LIVE=1 npm run test:live # hits a real local TallyPrime
npm run lint && npm run typecheck && npm test
License
Apache-2.0
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。