CLI vs API vs MCP
Every piece of work in Tallyfy goes through one of four doors. People use the web app. Software you build calls the REST API. AI assistants connect through the MCP server. Scripts, pipelines, and scheduled jobs drive the CLI. All four act on the same processes, tasks, and templates, under the same permissions, so the question is never which one is allowed - it’s which one fits the job.
The short version: a person doing the work belongs in the web app. Your own product or internal system belongs on the API. A plain-English request to an AI assistant goes through the MCP server. And anything repeatable, bulk, or unattended belongs to the CLI.
| Surface | Driven by | Best at | Watch out for |
|---|---|---|---|
| Web app | People clicking. | Daily work, tracking, building templates visually. | Manual repetition. Two hundred launches means two hundred rounds of clicking. |
| REST API | Code you write and maintain. | Custom product integrations with full control over every request. | You own the code, the credentials, and the error handling. |
| MCP server | AI assistants in conversation. | Plain-English questions, small reviewed changes, analysis. | Deliberately refuses bulk changes touching more than 5 items. |
| CLI | Scripts and pipelines. | Repeatable jobs, bulk work, CI/CD gates, multi-org routines. | Built for automators, not for visual tracking. |
The web app is Tallyfy’s home for humans: launching a process now and then, completing tasks, tracking progress across the team, and building templates with a visual editor. If the work happens occasionally and a person is present, there’s nothing to set up and nothing to script. The other three surfaces exist for the moments when clicking stops scaling.
Tallyfy is API-first, so the REST API offers the same capability that powers the web app - and the other three surfaces are all built on top of it. Choose it directly when you’re building Tallyfy into your own product or internal system and need full control over requests, responses, and data flow. The trade-off is that you write and maintain that code yourself, including authentication and retries.
The MCP server connects assistants like ChatGPT, Claude, Gemini, and Microsoft Copilot to your Tallyfy organization through MCP (Model Context Protocol), the open standard for wiring AI tools to business systems. It shines at conversation: ask which tasks are overdue, have a template analyzed, turn a flowchart into a draft process. It’s tuned for interactive use with a person reviewing each change, which is why it deliberately refuses bulk changes touching more than 5 items in one request. That’s a feature, not a gap - conversation is a great interface for judgment and a poor one for volume.
The Tallyfy CLI is the door for work that runs the same way every time, with or without a person present. It covers the jobs the other surfaces handle poorly: launching hundreds of processes from a CSV file with bulk operations, holding a deployment until someone approves with CI/CD gates, keeping templates in version control with workflows as code, and repeating one change across many organizations from a single script. Predictable exit codes and machine-readable output make it dependable inside pipelines.
- Launch 200 processes from a spreadsheet? The CLI, from a CSV file.
- Pause a release until a person signs off? The CLI’s task wait command in your pipeline.
- Keep templates in git and promote them between organizations? The CLI’s export and import.
- Build Tallyfy features into your own product? The REST API.
- Ask “which tasks are overdue for the sales team?” in plain English? The MCP server.
- Turn a flowchart or policy document into a draft template? The MCP server, through your AI assistant.
- Track work day to day and build templates visually? The web app.
Most teams end up using several doors at once, because the surfaces hand off to each other naturally. A pipeline launches processes through the CLI, people complete the resulting tasks in the web app, and an AI assistant summarizes how the week went through the MCP server. Nothing conflicts, because everything runs through the same API underneath. And if you’d rather connect apps without code at all, middleware platforms like Zapier and Power Automate are one more path built on that same foundation.
(Skip this unless you’re setting up the technical side.)
- All four surfaces execute against the same REST API and the same permission model, so an action a user can’t perform in the web app fails identically through the API, the MCP server, or the CLI.
- Credentials differ by surface: the API and the CLI authenticate with Tallyfy API tokens, while MCP clients sign users in through the MCP server’s own secure authorization flow. The CLI stores its token in the OS keychain and reads
TALLYFY_API_TOKENin pipelines, as covered in authentication. - The CLI bridges the surfaces.
tallyfy apicalls any endpoint its built-in verbs don’t wrap, with headers, authentication, and retries applied for you.tallyfy mcpmanages the MCP server entries in a project’s.tallyfy/mcp.jsonso AI clients can discover them, and prints ready-made config blocks per client. - Choosing between wrapped verbs and raw calls: prefer
tallyfy blueprint,tallyfy process, and friends for readability and safety rails, and drop totallyfy apifor endpoints the command reference doesn’t list.
Mcp Server > Using Tallyfy MCP server with Claude (text chat)
Was this helpful?
- 2026 Tallyfy, Inc.
- Privacy Policy
- Terms of Use
- Report Issue
- Trademarks