Tally MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for `npm run start:http`. | 3939 |
| TALLY_URL | No | Tally's HTTP gateway address. | http://localhost:9000 |
| TALLY_MCP_TOKEN | No | Bearer token required on the HTTP server's /mcp endpoint if set. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_ledgers | Get all ledgers (accounts) from TallyPrime |
| get_stock_itemsA | Get all stock items from TallyPrime |
| get_vouchers | Get vouchers (Day Book) from TallyPrime filtered by date range |
| get_company_info | Get the currently open company info from TallyPrime |
| get_profit_and_loss | Get the Profit & Loss statement from TallyPrime for a date range |
| get_balance_sheet | Get the Balance Sheet from TallyPrime as of a given date |
| get_trial_balance | Get the Trial Balance from TallyPrime for a date range |
| get_groups | Get all account groups (e.g. Sundry Debtors, Fixed Assets) from TallyPrime |
| get_voucher_typesA | Get all voucher types configured in TallyPrime (e.g. Payment, Sales, Journal) |
| get_cost_centres | Get all cost centres from TallyPrime |
| get_stock_summary | Get the Stock Summary report from TallyPrime as of a given date |
| get_bills_receivable | Get outstanding Bills Receivable from TallyPrime as of a given date |
| get_bills_payable | Get outstanding Bills Payable from TallyPrime as of a given date |
| get_ledger_vouchers | Get all voucher entries posted to a specific ledger within a date range |
| create_ledger | Create a new ledger (account) in TallyPrime |
| create_voucher | Create a new voucher (e.g. Payment, Receipt, Sales, Purchase, Journal) in TallyPrime with two ledger entries (debit and credit) |
| create_group | Create a new account group in TallyPrime, nested under a parent group |
| create_stock_item | Create a new stock item in TallyPrime |
| update_stock_item | Update the group and/or unit of an existing stock item in TallyPrime |
| delete_stock_item | Delete a stock item from TallyPrime. Fails if it has transactions posted against it. |
| update_voucher | Update an existing voucher in TallyPrime, replacing its ledger entries and narration. The voucher is matched by type + date + voucher number, so that combination must be unique and must exactly match an existing voucher (use get_ledger_vouchers or get_vouchers first to confirm it). |
| sync_to_sql | Pull ledgers, groups, stock items, and vouchers (last 365 days) from TallyPrime into a local in-memory SQL cache, so query_sql can run fast arbitrary queries without hitting Tally each time |
| query_sql | Run a read-only SQL SELECT query against the local cache populated by sync_to_sql. Tables: ledgers(name, parent, closing_balance), groups(name, parent), stock_items(name, parent, closing_balance), vouchers(date, voucher_type, ledger, amount, narration) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vaijaaaaa/Tally-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server