Systems 4 min read

Wiring Tally Prime & Keka HR to Workspace Studio via Custom MCP

Deploying private workflowElements and Model Context Protocol servers inside client GCP tenants with zero seat tax.

Wiring Tally Prime & Keka HR to Workspace Studio via Custom MCP
IN THIS ARTICLE (4)

Google Workspace Studio allows operations and product teams to automate cross-functional processes directly within Gmail, Google Docs, and Google Sheets. However, Indian and mid-market global enterprises rely heavily on regional systems of record—most notably Tally Prime for GST accounting and Keka HR for workforce management.

Connecting these regional tools typically forces companies into expensive third-party iPaaS platforms (Zapier, Workato, Make) or exorbitant enterprise per-seat license upgrades.

In this architecture note, we break down how Ekarna engineers custom Workspace Studio Custom Steps (workflowElements) and Model Context Protocol (MCP) data bridges deployed directly into client-owned Google Cloud projects with zero recurring seat tax.


1. The Challenge with Regional Systems of Record

Tally Prime historically runs on local on-premise Windows machines or private VPS instances communicating via XML-over-HTTP on port 9000. Keka HR offers RESTful endpoints but requires strict OAuth 2.0 token refreshes and IP allowlisting.

Public iPaaS connectors struggle because:

  1. They demand opening firewall ports or exposing internal credentials to multi-tenant third-party SaaS clouds.
  2. They charge per task or per seat, creating an escalating operational bill that penalizes company growth.
  3. Proprietary financial and payroll data passes through external logging infrastructure.

2. Architecture: Dual-Surface Integration inside Client GCP VPC

To bridge regional software with Google’s workspace environment, we deploy a lightweight, containerized integration bridge onto Google Cloud Run inside an isolated VPC. This single service exposes both REST endpoints for Workspace Studio and an MCP interface for Gemini Enterprise:

TOPOLOGY // CLIENT_GCP_VPC_INTEGRATION_BRIDGE 100% INTERNAL ACCESS
Surface 01
Workspace Studio
workflowAction (REST / Webhook)
Surface 02
Gemini Enterprise Agents
Chat & Docs (MCP JSON-RPC 2.0)
Private Integration Bridge (Cloud Run · Client GCP)
VPC Internal Only
↳ Studio Handler

Executes validated variable transformations

↳ MCP Tool Registry

Exposes up to 100 typed actions to Gemini

Cloud NAT Egress Fixed Static IP
Keka HR REST API
Live Leave, PTO & Attendance Sync
Cloud VPN Tunnel Zero Open Ports
Tally Prime Windows VPS
XML-over-HTTP Port 9000 (Internal Only)
Figure 1: Dual-surface Cloud Run integration bridge connecting Tally Prime and Keka HR to Workspace Studio and Gemini Enterprise inside client GCP VPC.

Shared Operational Capabilities:

  • tally.get_ledger_balance(party_gstin): Fetches real-time closing balances directly from Tally’s XML engine for invoice verification.
  • tally.post_sales_voucher(payload): Generates verified accounting vouchers with automated GST breakups straight from approved Google Sheets.
  • keka.get_employee_leave_quota(employee_id): Reads live PTO and attendance balances to validate contractor payroll or auto-populate offer letters.

3. Exposing Custom Actions in Workspace Studio & Gemini

By bundling these capabilities into a private Workspace Studio extension (manifest.json) and registering the MCP server with Google’s Agent Gateway:

  1. Zero Context Switching: Finance and HR teams trigger accounting and payroll reconciliations from the Ask Gemini panel or drop custom action chips directly into Workspace Studio flows.
  2. Client IP Ownership: All custom code, Docker images, and Terraform configurations are committed directly to the client’s repository and run inside their GCP account.
  3. No Per-Seat SaaS Tax: Infrastructure costs are purely serverless GCP compute pennies, completely uncoupled from employee headcount.

ENTERPRISE MCP BRIDGES · ZERO PER-SEAT TAX 100% PRIVATE CLIENT GCP

Connect Tally, Keka, and Core Systems to Google Workspace.

Ekarna Interactive engineers private custom Workspace Studio steps and MCP bridges with 100% code ownership in your Google Cloud, completely eliminating per-seat SaaS middleware tax in a fixed 7–14 day sprint.

01 · SAAS TAX
Zero Per-Seat Fees
No Zapier or Workato tier upgrades
02 · SECURITY
Private VPC Isolation
Financial & payroll data stays in your cloud
03 · VELOCITY
7–14 Day Sprints
Production rollout with complete runbooks
CONTINUE READING · ARCHITECTURE FIELD NOTES

More Architecture Briefs

View all articles

AI Discovery Concierge

Scope your sprint & lock a 15-min Google Meet