Skip to main content
Glama
xappsoftpreeti

mcp-connector

mcp-connector

Read-only TallyPrime MCP. Cursor asks accounting questions; this server fetches live company data over Tally XML Export. Nothing is created, altered, or deleted in Tally.

Flow:

Cursor → Streamable HTTP MCP → Node → TallyPrime

Setup

Copy .env.example to .env next to tally.js and server.js:

TALLY_URL=http://192.168.29.149:9000
HOST=0.0.0.0
PORT=3000

TALLY_URL is the TallyPrime HTTP port on the Tally PC (9000). Do not expose that port to the internet.

npm install
node server.js

Health: GET http://127.0.0.1:3000/health
MCP: POST http://127.0.0.1:3000/mcp

STDIO (optional): node server.js --stdio

Tally connectivity check: node test-tally.js

Related MCP server: Tally Prime MCP Server

Remote Cursor

On another PC on the LAN, add this MCP server (this machine’s LAN IP is 192.168.29.47):

{
  "mcpServers": {
    "tally": {
      "url": "http://192.168.29.47:3000/mcp"
    }
  }
}

Allow inbound TCP 3000 on this PC. Keep Tally port 9000 local.

Tools

Four tools, not one per report:

Tool

Purpose

query_tally

Companies, ledgers, groups, customers, suppliers, cash, bank, stock, GST, vouchers, outstanding

tally_report

Profit & loss, balance sheet, trial balance, registers, GST and stock reports

tally_describe

Catalog of resources, filters, and example questions

get_ledgers

Original smoke test: Tally Collection List of Ledgers, raw XML

Dates should match the loaded Tally financial year. Pass financialYear such as 26-27, or explicit fromDate / toDate as YYYY-MM-DD.

Layout

mcp-connector/
  .env
  tally.js          Tally HTTP client (Export POST)
  server.js         Streamable HTTP MCP
  test-tally.js     Connectivity check
  lib/
    mcp-server.js   Tool registration
    query.js        Read-only query layer
    catalog.js      Resources and reports
    dates.js        Dates and Indian FY
    parse.js        Tally XML → JSON
    xml-build.js    Read-only Export XML

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables natural language interaction with TallyPrime accounting software via Claude AI, allowing querying reports, creating vouchers, and managing ledgers without manual navigation.
    17
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Bridges Tally Prime ERP with AI assistants, enabling querying financial reports, managing masters, creating vouchers, and analyzing GST data through natural language.
    AGPL 3.0
  • A
    license
    A
    quality
    A
    maintenance
    A read-only MCP server that connects Claude Desktop to TallyPrime, enabling natural-language auditing and analysis of accounting data directly from the local Tally installation.
    23
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Provides read-only access to Kledo accounting data, enabling listing and searching of invoices, contacts, products, and running financial reports through natural language.
    168 npm
    Apache 2.0