Fix 'cannot connect' between AI and TallyPrime
tally_diagnose_connection checks why an AI assistant cannot reach TallyPrime: Tally not running, the HTTP/XML server switched off, the wrong port, a firewall block, no company open, or an unsupported version. Each failure comes with a numbered fix.
Example Prompt for AI Agents (Claude, ChatGPT, Cursor)
TallyMCP cannot connect to Tally. Diagnose it and tell me the first fix to try.How to Use tally_diagnose_connection with AI
Open TallyPrime with your company loaded. Ensure the HTTP/XML connector is enabled on port 9000 (F1 > Settings > Connectivity).
In Claude Desktop, Cursor, or ChatGPT, paste the prompt above or type your request in natural language. The AI agent calls tally_diagnose_connection automatically.
The assistant returns deterministically structured data directly in chat. All processing runs locally over loopback; zero telemetry.
tallymcp.proComplete AI client setup instructions →Input Parameters
{
"port": 9000
}Expected Output Format
{
"checks": "list",
"first_failure": "str|null"
}Specification & Description
Diagnose TallyPrime connection problems: Tally not running, XML/HTTP server off, wrong port, firewall, no company open, version mismatch. Use when: cannot connect to Tally, timeouts, company not found. READ-ONLY.
Frequently Asked Questions
Does it fix licence errors?
No. It detects them and points you to Tally support.
What port does Tally use?
Default is 9000, configurable in F1: Help > Settings > Connectivity.