Skip to main content
Glama
@vitrion/zentria-mcp

@vitrion/zentria-mcp

Official
by vitrionbv

@vitrion/zentria-mcp

npm version License: MIT Node.js Version MCP

Zentria MCP server — full Zentria public team API coverage for AI assistants via the Model Context Protocol.

Published as @vitrion/zentria-mcp.

This server uses the official public REST API at /api/public. Paths and request bodies match the OpenAPI docs; they are not invented.

Features

  • 309 tools covering nearly everything the Zentria app does: discovery, to-dos, sales, customers, campaigns and connections, invoices, CRM leads, submissions, calls and lead values, Speed to Lead, Google Business Profiles, webhooks, members, team settings and exports. The hosted connector only lists the tools that fit the scopes of the token

  • Team-bound Personal Access Token auth (Authorization: Bearer)

  • Automatic rate-limit retry (429 + Retry-After)

  • Stdio transport (Cursor, Claude Desktop, Claude Code)

  • Hosted Streamable HTTP mode with OAuth, used for the Claude custom connector at https://app.zentria.nl/mcp

  • Logs only to stderr (stdio-safe)

Related MCP server: Salesforce MCP

Requirements

  • Node.js >= 20

  • A Zentria team API key (Teams → API keys) with the scopes you need

Environment variables

Variable

Required

Description

ZENTRIA_API_KEY

Yes

Team Personal Access Token

ZENTRIA_BASE_URL

No

Zentria origin (default https://app.zentria.nl). Do not append /api/public.

The client also sends Accept: application/json and User-Agent: @vitrion/zentria-mcp/<version>. The API key is never written to logs.

Install

npx -y @vitrion/zentria-mcp

Cursor

Add to your user config (~/.cursor/mcp.json) or project config (.cursor/mcp.json):

{
  "mcpServers": {
    "zentria": {
      "command": "npx",
      "args": ["-y", "@vitrion/zentria-mcp"],
      "env": {
        "ZENTRIA_API_KEY": "<team-pat>",
        "ZENTRIA_BASE_URL": "https://app.zentria.nl"
      }
    }
  }
}

Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

Use the same mcpServers block as Cursor.

Claude Code

claude mcp add zentria -- npx -y @vitrion/zentria-mcp

Set ZENTRIA_API_KEY in your shell environment or MCP host config.

Claude custom connector (hosted)

Zentria hosts this server at https://app.zentria.nl/mcp. In Claude (web, Desktop, mobile) choose Settings → Connectors → Add custom connector, enter that URL and sign in with your Zentria account. On the consent screen you pick the team and the scopes. No API key is needed.

Running the HTTP mode

ZENTRIA_MCP_TRANSPORT=http node dist/index.js
# or
node dist/index.js --http

Variable

Default

Description

ZENTRIA_BASE_URL

https://app.zentria.nl

Zentria origin the tools call

ZENTRIA_MCP_RESOURCE_URL

<ZENTRIA_BASE_URL>/mcp

Public MCP URL, exactly as entered in Claude. Its path is the route served

ZENTRIA_MCP_HOST

127.0.0.1

Listen address

ZENTRIA_MCP_PORT

3333 (or PORT)

Listen port

How it works:

  • The server is a pure OAuth resource server. Zentria (Laravel Passport) is the authorization server and publishes /.well-known/oauth-protected-resource/mcp, /.well-known/oauth-authorization-server and dynamic client registration at /oauth/register.

  • Requests without a valid bearer token get 401 with WWW-Authenticate: Bearer resource_metadata="…", which starts the client's sign-in.

  • Tokens are verified with GET /api/public/me (cached for 30 seconds) and forwarded unchanged to the public API. Team API keys work as bearer tokens too.

  • Each request runs on a fresh stateless server instance. GET /healthz answers {"ok":true}.

Run it behind a TLS proxy that forwards the MCP path unchanged, for example nginx:

location = /mcp {
    proxy_pass http://127.0.0.1:3333;
    proxy_http_version 1.1;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_buffering off;
    proxy_read_timeout 300s;
}

For AI agents

  • Call get-me first to learn the bound team, enabled modules, and token scopes.

  • For "how is customer X doing?" call get-campaign-status (one campaign) or get-customer-status (all campaigns of a customer): leads and goals this month, the latest leads, Search Console and GA4 against the previous period, Business Profile results, grid scores with trend, reviews and open invoices in one call.

  • API keys are bound to one team — you cannot switch teams with headers.

  • Use the narrowest scopes when minting keys (sales:read, sales:write, etc.).

  • Public API docs: /api/public/docs

  • PAT writes can emit webhooks — avoid update loops on the same event.

Tool groups

352 tools. They cover what you can do in the Zentria app, limited by the rights of the member behind the key and by the scopes of the key. In the hosted connector (HTTP mode) only the tools that fit the scopes of the token are listed, so a read-only connection sees about 135 tools.

Group

Examples

Discovery

get-me, list-teams, get-team, list-tenants, get-tenant

To-dos

list-todos, create-todo, get-todo, update-todo, delete-todo

Sales

list-deals, create-deal, move-deal-stage, delete-deal, list-people, list-notes, create-deal-note, list-activities, complete-activity, list-pipelines, create-pipeline, create-pipeline-stage, list-forms, publish-form, get-sales-settings (scopes sales:read, sales:write, sales:delete, sales-admin:write)

Customers

list-customers, create-customer, update-customer, delete-customer, archive-customer, restore-customer, list-customer-labels, merge-customers, invite-customer-portal-user, get-customer-mollie, create-customer-mandate-checkout

Campaigns and connections

list-campaigns, create-campaign, split-campaign, set-campaign-lead-value-categories, create-elementor-connection, create-mailbox-connection, set-campaign-voys, set-campaign-phone-lines, list-crm-voys-connections, list-crm-tentelecom-connections (passwords and API keys are write-only)

Invoices

list-invoices, get-invoice, get-invoice-pdf-link (a 15-minute download link for the official Mollie PDF), mark-invoice-ready, cancel-invoice, mark-invoice-paid, collect-invoice, pause-invoice-reminders (scopes invoices:read, invoices:write)

CRM leads

list-crm-leads (filters on review status, date, customer, campaign, source, lead value category, invoiced and extra check), get-crm-lead (lead value in cents with category label, billing period, invoice and AI summary), approve-crm-lead, reject-crm-lead, set-crm-lead-value, confirm-crm-lead-rejection, delete-crm-lead, get-crm-workbench, list-crm-callbacks

CRM submissions and calls

list-crm-submissions, mark-crm-submission-as-real, mark-crm-submission-as-spam, retry-crm-submission-processing, list-crm-calls, get-crm-call

Lead values and rules

list-crm-lead-value-categories, create-crm-lead-value-category, get-crm-lead-value-settings, update-crm-lead-value-settings, backfill-crm-lead-values, list-crm-learning-rules, list-crm-ai-rule-proposals, get-crm-dashboard, get-crm-customer-report

Speed to Lead

list-stl-flows, create-stl-flows-batch, list-stl-sms-templates, list-stl-leads, send-stl-flow-test-sms

Business Profiles

list-business-profile-locations, update-business-profile-location, list-business-profile-reviews, create-business-profile-review-reply, create-business-profile-post, create-business-profile-post-schedule, list-business-profile-photos, list-business-profile-accounts, create-business-profile-reply-profile (scopes business-profiles:read, business-profiles:write, business-profiles-admin:write)

CommuniQate (WhatsApp)

communiqate-get-connection, communiqate-list-channels, communiqate-list-templates, communiqate-create-template, communiqate-search-contacts, communiqate-list-conversations, communiqate-list-messages, communiqate-start-conversation, communiqate-send-message, communiqate-send-template, communiqate-upload-file (only when the team connected CommuniQate in Zentria; scopes communiqate:read, communiqate:write, communiqate-admin:write)

Status and Google data

get-campaign-status, get-customer-status (each section is available or says why not: missing_scope, no_permission, module_off), get-campaign-google-data (Search Console, GA4 and Business Profile results of a campaign), get-business-profile-grid, list-business-profile-grid-runs, get-business-profile-grid-run (positions per point with the previous position and top 3), start-business-profile-grid-run (paid DataForSEO searches within the team budget, source search (Google Search on mobile, default, top 15, twice the price of maps; depth 10 costs the same as maps) or maps, mode live in about 20 seconds or the cheaper standard in a few minutes), list-business-profile-service-pushes, get-sales-attribution-report (deals per ad campaign, ad set or ad and the funnel steps they reached)

Mail

mail-list-accounts, mail-get-account, mail-send (sends a real email from the team's own address, or via Zentria when the team has no own mail account; pass idempotencyKey so a retry never sends twice), mail-get-message, mail-list-messages (scopes mail:read, mail:write)

Webhooks

list-webhooks, create-webhook (secret returned once), get-webhook-options

Members and team

list-members, invite-member, change-member-role, remove-member, list-invitations, resend-invitation, cancel-invitation, list-roles, update-team, get-settings, update-team-setting, list-exports, start-export, delete-export, get-integrations

Development

git clone https://github.com/vitrionbv/zentria-mcp.git
cd zentria-mcp
npm install
npm run build
npm test
npm run dev

Inspector

npm run build
npm run inspector

Publishing

Releases go to npm with trusted publishing (OIDC). Push a v* tag to run .github/workflows/npm-publish.yml. The workflow uses id-token: write and does not use NODE_AUTH_TOKEN.

Configure the trusted publisher on npm: GitHub org vitrionbv, repo zentria-mcp, workflow npm-publish.yml.

License

MIT — see LICENSE.

Available Tools

80 tools
approve-crm-leadB

Approve a CRM lead (POST /api/public/crm/leads/{id}/approve). Scope: crm:write.

Inputs: id (required).

archive-customerA
Destructive

Archive a customer (PATCH /api/public/customers/{id}/archive). Scope: customers:write.

Inputs: id (required).

change-member-roleA

Change a member role (PATCH /api/public/members/{id}/role). Scope: members:write.

Inputs: id (required), role (required).

create-activityB

Create a sales activity (POST /api/public/sales/activities). Scope: sales:write.

Inputs: type (required), title (required), body, dueAt, +3 more.

create-customerB

Create a customer (POST /api/public/customers). Scope: customers:write.

Inputs: name (required), email, phone.

create-customer-contactA

Create a contact on a customer (POST /api/public/customers/{customerId}/contacts). Scope: customers:write.

Inputs: name (required), customerId (required), email, phone, +1 more.

create-dealA

Create a sales deal (POST /api/public/sales/deals). pipelineId is required. Scope: sales:write.

Inputs: title (required), pipelineId (required), value, stageId, +5 more.

create-formB

Create a sales form (POST /api/public/sales/forms). Scope: sales:write.

Inputs: name (required), pipelineId (required), canvasJs, isActive, +4 more.

create-noteB

Create a sales note (POST /api/public/sales/notes). Scope: sales:write.

Inputs: body (required), dealId, pinned, personId, +1 more.

create-organizationA

Create a sales organization (POST /api/public/sales/organizations). Scope: sales:write.

Inputs: name (required), email, phone.

create-personA

Create a sales person (POST /api/public/sales/people). Scope: sales:write.

Inputs: name (required), email, phone, organizationId.

create-stl-flowB

Create a Speed to Lead flow (POST /api/public/stl/flows). Scope: stl:write.

Inputs: name (required), receivingPhone (required), customerIntegrationId (required), status, +1 more.

create-stl-sms-templateA

Create an STL SMS template (POST /api/public/stl/sms-templates). Scope: stl:write.

Inputs: body (required), name (required).

create-todoA

Create a to-do on the PAT-bound team (POST /api/public/teams/{teamId}/todos). Scope: todos:write.

Inputs: title (required), description, isCompleted.

create-webhookB

Create a webhook endpoint. Signing secret returned once (POST /api/public/webhooks). Scope: webhooks:write.

Inputs: url (required), events (required), source, filters, +2 more.

delete-noteA
Destructive

Delete a sales note (DELETE /api/public/sales/notes/{id}). Scope: sales:write.

Inputs: id (required).

delete-stl-flowA
Destructive

Delete a Speed to Lead flow (DELETE /api/public/stl/flows/{id}). Scope: stl:write.

Inputs: id (required).

delete-stl-leadA
Destructive

Delete an STL lead (DELETE /api/public/stl/leads/{id}). Scope: stl:write.

Inputs: id (required).

delete-stl-sms-templateA
Destructive

Delete an STL SMS template (DELETE /api/public/stl/sms-templates/{id}). Scope: stl:write.

Inputs: id (required).

delete-todoA
Destructive

Delete a to-do (DELETE /api/public/todos/{id}). Scope: todos:write.

Inputs: id (required).

delete-webhookA
Destructive

Delete a webhook endpoint (DELETE /api/public/webhooks/{id}). Scope: webhooks:write.

Inputs: id (required).

get-activityA
Read-only

Fetch a sales activity (GET /api/public/sales/activities/{id}). Scope: sales:read.

Inputs: id (required).

get-contactA
Read-only

Fetch a customer contact (GET /api/public/contacts/{id}). Scope: customers:read.

Inputs: id (required).

get-crm-leadA
Read-only

Fetch a CRM lead (GET /api/public/crm/leads/{id}). Scope: crm:read.

Inputs: id (required).

get-crm-submissionA
Read-only

Fetch a CRM lead submission (GET /api/public/crm/submissions/{id}). Scope: crm:read.

Inputs: id (required).

get-customerA
Read-only

Fetch a customer (GET /api/public/customers/{id}). Scope: customers:read.

Inputs: id (required).

get-dealA
Read-only

Fetch a sales deal (GET /api/public/sales/deals/{id}). Scope: sales:read.

Inputs: id (required).

get-default-pipelineA
Read-only

Fetch the team default sales pipeline (GET /api/public/sales/pipeline). Scope: sales:read.

Inputs: no named parameters.

get-formA
Read-only

Fetch a sales form (GET /api/public/sales/forms/{id}). Scope: sales:read.

Inputs: id (required).

get-form-submissionA
Read-only

Fetch a sales form submission (GET /api/public/sales/submissions/{id}). Scope: sales:read.

Inputs: id (required).

get-integrationsA
Read-only

List connected integrations without secrets (GET /api/public/integrations). Scope: integrations:read.

Inputs: no named parameters.

get-meA
Read-only

Return the signed-in user, PAT-bound team, enabled modules, and token scopes (GET /api/public/me). Call this first to learn team id and available modules.

Inputs: no named parameters.

get-memberA
Read-only

Fetch a team member (GET /api/public/members/{id}). Scope: members:read.

Inputs: id (required).

get-noteA
Read-only

Fetch a sales note (GET /api/public/sales/notes/{id}). Scope: sales:read.

Inputs: id (required).

get-organizationA
Read-only

Fetch a sales organization (GET /api/public/sales/organizations/{id}). Scope: sales:read.

Inputs: id (required).

get-personA
Read-only

Fetch a sales person (GET /api/public/sales/people/{id}). Scope: sales:read.

Inputs: id (required).

get-pipelineA
Read-only

Fetch a sales pipeline with stages (GET /api/public/sales/pipelines/{id}). Scope: sales:read.

Inputs: id (required).

get-settingsA
Read-only

Fetch non-secret team settings (GET /api/public/settings). Scope: settings:read.

Inputs: no named parameters.

get-stl-flowA
Read-only

Fetch a Speed to Lead flow (GET /api/public/stl/flows/{id}). Scope: stl:read.

Inputs: id (required).

get-stl-leadA
Read-only

Fetch an STL lead (GET /api/public/stl/leads/{id}). Scope: stl:read.

Inputs: id (required).

get-stl-sms-templateA
Read-only

Fetch an STL SMS template (GET /api/public/stl/sms-templates/{id}). Scope: stl:read.

Inputs: id (required).

get-teamA
Read-only

Fetch a team by id (GET /api/public/teams/{id}).

Inputs: id (required).

get-tenantA
Read-only

Fetch a tenant by id (GET /api/public/tenants/{id}).

Inputs: id (required).

get-todoA
Read-only

Fetch a to-do by id (GET /api/public/todos/{id}). Scope: todos:read.

Inputs: id (required).

get-webhookA
Read-only

Fetch a webhook endpoint (GET /api/public/webhooks/{id}). Scope: webhooks:read.

Inputs: id (required).

invite-memberA

Invite a member by email (POST /api/public/members). Scope: members:write.

Inputs: role (required), email (required).

list-activitiesA
Read-only

List sales activities (GET /api/public/sales/activities). Scope: sales:read.

Inputs: q, page, itemsPerPage.

list-crm-leadsA
Read-only

List CRM leads (GET /api/public/crm/leads). Scope: crm:read.

Inputs: q, page, itemsPerPage.

list-crm-submissionsB
Read-only

List CRM lead submissions (GET /api/public/crm/submissions). Scope: crm:read.

Inputs: q, page, itemsPerPage.

list-customer-contactsA
Read-only

List contacts for a customer (GET /api/public/customers/{customerId}/contacts). Scope: customers:read.

Inputs: customerId (required), q, page, itemsPerPage.

list-customersA
Read-only

List customers (GET /api/public/customers). Scope: customers:read.

Inputs: q, page, itemsPerPage.

list-dealsA
Read-only

List sales deals (GET /api/public/sales/deals). Optional pipelineId filter. Scope: sales:read.

Inputs: q, page, pipelineId, itemsPerPage.

list-formsA
Read-only

List sales forms (GET /api/public/sales/forms). Scope: sales:read.

Inputs: q, page, itemsPerPage.

list-form-submissionsA
Read-only

List sales form submissions (GET /api/public/sales/submissions). Scope: sales:read.

Inputs: q, page, itemsPerPage.

list-membersB
Read-only

List team members (GET /api/public/members). Scope: members:read.

Inputs: q, page, itemsPerPage.

list-notesA
Read-only

List sales notes (GET /api/public/sales/notes). Scope: sales:read.

Inputs: q, page, itemsPerPage.

list-organizationsA
Read-only

List sales organizations (GET /api/public/sales/organizations). Scope: sales:read.

Inputs: q, page, itemsPerPage.

list-peopleB
Read-only

List sales people/contacts (GET /api/public/sales/people). Scope: sales:read.

Inputs: q, page, itemsPerPage.

list-pipelinesA
Read-only

List sales pipelines (GET /api/public/sales/pipelines). Scope: sales:read.

Inputs: q, page, itemsPerPage.

list-stl-flowsA
Read-only

List Speed to Lead flows (GET /api/public/stl/flows). Scope: stl:read.

Inputs: q, page, itemsPerPage.

list-stl-leadsA
Read-only

List Speed to Lead leads (GET /api/public/stl/leads). Scope: stl:read.

Inputs: q, page, itemsPerPage.

list-stl-sms-templatesA
Read-only

List STL SMS templates (GET /api/public/stl/sms-templates). Scope: stl:read.

Inputs: q, page, itemsPerPage.

list-teamsA
Read-only

List teams visible to this PAT (GET /api/public/teams). A team-bound PAT returns exactly one team.

Inputs: q, page, itemsPerPage.

list-tenantsA
Read-only

List tenants for this PAT (GET /api/public/tenants).

Inputs: q, page, itemsPerPage.

list-todosA
Read-only

List to-dos for the PAT-bound team (GET /api/public/teams/{teamId}/todos). Scope: todos:read.

Inputs: q, page, itemsPerPage.

list-webhooksA
Read-only

List outbound webhook endpoints (GET /api/public/webhooks). Scope: webhooks:read.

Inputs: q, page, itemsPerPage.

move-deal-stageA

Move a deal to another pipeline stage (PATCH /api/public/sales/deals/{id}/stage). Scope: sales:write.

Inputs: id (required), stageId (required).

reject-crm-leadA

Reject a CRM lead (POST /api/public/crm/leads/{id}/reject). Scope: crm:write.

Inputs: id (required).

update-activityB

Update or complete/cancel a sales activity (PATCH /api/public/sales/activities/{id}). Set status to done or cancelled. Scope: sales:write.

Inputs: id (required), body, dueAt, title, +3 more.

update-contactC

Update a customer contact (PUT /api/public/contacts/{id}). Scope: customers:write.

Inputs: id (required), name, email, phone, +1 more.

update-customerC

Update a customer (PUT /api/public/customers/{id}). Scope: customers:write.

Inputs: id (required), name, email, phone.

update-dealB

Update a sales deal (PUT /api/public/sales/deals/{id}). Scope: sales:write.

Inputs: id (required), title, value, stageId, +5 more.

update-formA

Update a sales form (PUT /api/public/sales/forms/{id}). Scope: sales:write.

Inputs: id (required), name, canvasJs, isActive, +5 more.

update-noteC

Update a sales note (PATCH /api/public/sales/notes/{id}). Scope: sales:write.

Inputs: id (required), body, pinned.

update-organizationB

Update a sales organization (PUT /api/public/sales/organizations/{id}). Scope: sales:write.

Inputs: id (required), name, email, phone.

update-personB

Update a sales person (PUT /api/public/sales/people/{id}). Scope: sales:write.

Inputs: id (required), name, email, phone, +1 more.

update-stl-flowB

Update a Speed to Lead flow (PUT /api/public/stl/flows/{id}). Scope: stl:write.

Inputs: id (required), name, status, templateJson, +2 more.

update-stl-sms-templateB

Update an STL SMS template (PUT /api/public/stl/sms-templates/{id}). Scope: stl:write.

Inputs: id (required), body, name.

update-todoA

Update a to-do (PUT /api/public/todos/{id}). Scope: todos:write.

Inputs: id (required), title, description, isCompleted.

update-webhookB

Update a webhook endpoint (PATCH /api/public/webhooks/{id}). Scope: webhooks:write.

Inputs: id (required), url, events, filters, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 80 tools

    Disambiguation3/5

    Most tools are partitioned clearly by domain prefixes, but there are overlapping concepts such as sales people/contacts versus customer contacts, and STL leads versus CRM leads versus submissions. Descriptions and API paths help, but an agent could still easily select the wrong tool in those contact/lead/submission clusters.

    Naming Consistency5/5

    All tool names follow a consistent snake_case verb_noun pattern with domain prefixes for sub-resources. Special actions like move-deal-stage, change-member-role, and archive-customer still obey the same action-object convention, making the set highly predictable.

    Tool Count1/5

    80 tools is far beyond the recommended 3-15 range and even beyond the 25+ threshold, placing it in the 50+ extreme category. Even if each endpoint is legitimate for the underlying API, this is an overwhelming surface for an agent to navigate.

    Completeness3/5

    Several resources have full CRUD-like coverage, and the server spans many real domains. However, many entities lack delete operations, members have no removal tool, and STL/CRM leads and submissions have notable read-only or partial workflows, which creates lifecycle gaps.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to perform CRM operations like creating contacts, managing deals, and updating leads through natural language using the Model Context Protocol.
      4
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to query, mutate, and analyze Salesforce CRM data natively through the Model Context Protocol, without requiring API glue code.
      6 npm
      3
      -
    • A
      license
      Not graded
      quality
      F
      maintenance
      Enables LLM agents to interact with Twenty CRM data through natural language, providing tools for managing contacts, companies, opportunities, tasks, and more via the Model Context Protocol.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage CRM prospects, activities, reminders, and mailbox via natural language commands through the Model Context Protocol.
      3
      MIT