Meridian
Server Details
Plans, deploys, logs, webhooks and API alerts for Shopify apps built on Meridian.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 66 tools
The set is mostly partitioned by domain and action, so tools such as deployments_list, secrets_set, plans_list, and webhook_routes_list are easy to distinguish. The main soft overlaps are aggregate versus domain-specific reads (app_get vs environments_list/app_readiness_get) and environment-variable tools (managed_variables_list vs secrets_list, sdk_credentials_set vs secrets_set), but the descriptions clarify intended use.
All 66 names use snake_case, and most follow a readable resource_action pattern. Minor inconsistencies—singular versus plural prefixes (app_get vs apps_list, automation_get vs automations_list), app_readiness_get, resource_usage_history, and whoami—prevent a perfect score but do not undermine predictability.
66 tools is far beyond the typical 3-15 range and even beyond the 25+ 'too many' threshold; it matches the rubric's 50+ extreme-mismatch case. Even with domain prefixes, the surface is too large for efficient agent tool selection.
Core operational flows are well covered: app inspection, readiness, deployments, logs, secrets, Plan Builder, emails, and automations. However, many lifecycle operations are missing (delete for apps/emails/automations/plans/features/events/discounts/environments, CRM segment/custom-field definitions, scheduler/webhook management), leaving several dashboard-only dead ends.
Publisher details
- Operator
- MERIDIAN AUTOMATION LTD (trading as Meridian), Israeli Company Number 517360293
- Operator website
- https://www.the-meridian.ai
- Vendor relationship
- First-party
- Documentation
- https://help.the-meridian.ai/mcp-server
- Privacy policy
- Not provided
- Trust center
- https://www.the-meridian.ai/trust
- Restrictions
- Requires a Meridian account. OAuth 2.1 with PKCE and dynamic client registration: no custom OAuth app, API key or admin approval needed. No paid plan is required to connect. Tools only see the organizations and apps the signed-in user can already access, with the same role permissions as the dashboard.
Available Tools
66 toolsapp_getGet AppARead-onlyIdempotentInspect
Returns one Meridian app: its Shopify connection state, its environments,
its outbound IPs and its plan feature entitlements. Takes the app_id
from apps_list. Never includes secret values.
shopify.connection_error_reason says why the last Partner connection
failed: partner_token_rejected (wrong Partner API token or organization
ID), stored_token_rejected (the saved token stopped working),
partner_organization_not_found, shopify_app_not_found (no app with
that ID in the organization), partner_api_unreachable (Shopify down or
throttling: retry later), partner_auth_failed (any other refusal), or
null.
Each environment has the same fields as environments_list without the
scaling configuration: base_url (null until the first runtime deploy),
platform_hostname, public_url, domains (with DNS and certificate
state), database_status and database.
outbound_addresses lists the static IPs to add to Shopify's IP
allowlist (Partner Dashboard, app settings) so the app's Admin API token
only works from Meridian: enabled, addresses (the full list), tenant,
platform, and per environment state (applied, waiting_for_deploy,
unavailable with a reason) and applied_at.
auto_deploy says what a push to the connected repository deploys, as
in environments_list: enabled, branch, target, and where the
push really lands, environment_type with its environment_id.
environments and auto_deploy need hosting.view and entitlements
needs plan_builder.view. Without one, that block is null and omitted
names the permission ({"environments": "requires hosting.view"});
whoami lists the permissions you hold.
Inputs: app_id (required), organization_id.
app_readiness_getCheck App ReadinessARead-onlyIdempotentInspect
Checks whether an app is ready to deploy and run, in one call: the
Shopify client ID and secret (SHOPIFY_API_KEY / SHOPIFY_API_SECRET),
the Shopify Partner connection, the GitHub repository and its
Dockerfile, whether pushes auto-deploy to production from a branch
GitHub or GitLab reports as unprotected (a warning, code
auto_deploy_production_branch_unprotected), Plan Builder plans, whether Plan Builder billing has the
client ID and secret it reads (only the ones saved under Meridian SDK,
never a SHOPIFY_API_KEY or SHOPIFY_API_SECRET variable), and for
the environment: its managed database, Prisma session storage, Prisma
migrations without a release command, the variables a Shopify app
reads at boot, SCOPES against the access scopes of the repository's
shopify.app.toml at the commit, and its custom domains.
Returns ready (false when any check fails), a summary count, and
checks: each with key, status (pass, warn, fail), code
(the problem, such as missing_shopify_client_secret; null on a pass),
message, and fix (location in the Meridian dashboard and its
url). A fail is what makes a deploy fail in seconds, before its
build; a warn deploys but the app is likely to misbehave. The one
fail a deploy does not stop on is shopify_billing: merchants cannot
subscribe, but the app boots, so the deploy logs it as a warning.
Run it before deployment_create, and after a deployment failed with
error_code invalid_config. Takes the app_id from apps_list and
an optional environment_id from environments_list (default: the
production environment; an app with no environment yet gets the
app-level checks only). Values are never returned.
Inputs: app_id (required), environment_id, organization_id.
apps_listList AppsARead-onlyIdempotentInspect
Lists the Meridian apps visible to the calling user, across all of
their organisations by default. Returns each app's app_id, the
identifier every other Meridian tool that targets a specific app
(e.g. app_get) requires. Use whoami first to discover an
organization_id if you want to narrow the search to one
organisation.
Inputs: limit, search, organization_id.
automation_createCreate AutomationAInspect
Creates a new automation as an inactive draft with an empty graph
(node_count 0). Requires name; optional description. Status is
always forced to inactive. Configure the graph via
automation_update (while inactive) and activate in the Meridian
dashboard. Takes the app_id returned by apps_list.
Inputs: name (required), app_id (required), description, organization_id.
automation_create_from_templateCreate Automation From TemplateAInspect
Copies a catalog template into the app, as Use this template does in
the dashboard. Requires template_key, a template key from
automations_catalog_get. Creates an inactive automation with the
template's graph and, for each Send Email step, a new inactive email
with Meridian's starter copy (subject, preview text and body) attached to
that step. The agent supplies no body, and status, graph and
design are refused. Each call makes a new copy: two calls make two
copies. Returns the automation (with its graph, without any email body)
and its emails, each with the node_id of its step.
Activate the emails, then the automation, in the Meridian dashboard.
Left to choose: a segment (crm_segments_list, then automation_update),
a custom field (custom_fields_list), a Slack channel and a usage view
(dashboard). Takes the app_id returned by apps_list.
Inputs: app_id (required), template_key (required), organization_id.
automation_getGet AutomationARead-onlyIdempotentInspect
Returns one automation's summary plus its graph. Send Email node data
keeps emailUuid / subject but never includes emailHtml. Takes
app_id and automation_id (app-local scoped_id or uuid from
automations_list).
Inputs: app_id (required), automation_id (required), organization_id.
automation_runs_listList Automation RunsARead-onlyIdempotentInspect
Lists recent runs for one automation: run_id, automation_id,
started_at/ended_at, status, retries, trigger_event, and
failure_reason. Takes app_id and automation_id (scoped_id or
uuid). Optional limit.
Inputs: app_id (required), automation_id (required), limit, organization_id.
automations_catalog_getGet Automations CatalogARead-onlyIdempotentInspect
Returns the static automation builder catalogs from Meridian config:
triggers, actions, conditions, templates, and
template_categories. Takes no arguments (authenticated user only):
the same catalogs every app shares, matching the HTTP automation
catalog endpoints. Catalog entries (templates, categories, triggers,
actions, conditions) are identified by key.
Each templates[].graph uses the same shape as automation_get
(nodes node_id, edges edge_id) and can be passed as is to
automation_update. Template nodes and edges also carry a deprecated
key with the same value, to be removed at the next major version. In
a graph, a trigger node's data.triggerId is a trigger key, a
condition node's data.conditionId is a condition key, and an action
is recognized by data.label, equal to the action's label. A
template's Send Email steps have no emailUuid in this catalog: to use a
template with its emails, call automation_create_from_template with
its key, or point each step to an existing email from emails_list.
Inputs: no named parameters.
automations_listList AutomationsARead-onlyIdempotentInspect
Lists an app's automations: automation_id, scoped_id, name,
status, nodes (node count), description, and timestamps. Does
not include the graph — use automation_get for that. Takes the
app_id returned by apps_list.
Inputs: app_id (required), organization_id.
automations_metrics_getGet Automations MetricsARead-onlyIdempotentInspect
Returns aggregate automation run metrics for an app over the last 30 days
(with the prior equal-length window for deltas): runs, runs_previous,
success_rate, success_rate_previous, failures, median_run_time_ms,
and p95_run_time_ms. Skipped runs are excluded. Takes the app_id
returned by apps_list.
Inputs: app_id (required), organization_id.
automation_test_runTest Run AutomationAIdempotentInspect
Dry-runs an automation against one store and returns the execution
trace (visited steps, condition outcomes, taken edges). Nothing is
sent, metered, or persisted. Provide either shop_domain (a CRM
store, or a store known only from the install your app reported) or
custom_store (synthetic attributes), XOR. Omit both
only when the saved graph never reads store data. Optional
event_context stands in for the triggering event's merge-tag values.
Takes app_id and automation_id (scoped_id or uuid). Requires
the automations.edit permission (the update ability on the
automation) and a strictly valid saved graph. A real store
(shop_domain) also requires crm.merchants.view; custom_store
and storeless runs do not.
Inputs: app_id (required), automation_id (required), shop_domain, custom_store, +2 more.
automation_updateUpdate AutomationAIdempotentInspect
Updates an automation's name, description, and/or draft graph.
Status cannot be set through MCP (activate/deactivate in the dashboard).
Graph updates are only allowed while the automation is inactive;
metadata updates are always allowed. Graphs must not include
emailHtml. Reference emailUuid instead. Takes app_id and
automation_id (scoped_id or uuid).
Inputs: app_id (required), automation_id (required), name, graph, +2 more.
crm_segment_getGet CRM SegmentARead-onlyIdempotentInspect
Returns one CRM segment definition: segment_id, handle, name,
description, conditions, matched_count, and timestamps. Takes
app_id and segment_id (uuid or handle from crm_segments_list).
Inputs: app_id (required), segment_id (required), organization_id.
crm_segments_listList CRM SegmentsARead-onlyIdempotentInspect
Lists an app's CRM segment definitions: segment_id, handle, name,
description, conditions, matched_count, and timestamps. Also
returns total_stores for the app's mirrored store universe. Never
dumps matching store membership. Takes the app_id returned by
apps_list.
Inputs: app_id (required), organization_id.
custom_fields_listList CRM Custom FieldsARead-onlyIdempotentInspect
Lists an app's CRM custom field definitions: custom_field_id,
handle (the key a value write is addressed to), name, type
(text, number, boolean, select, date, or json), options
(the allowed values of a select field), segment_operators (the operators
a segment condition on this field may use; empty for json, which is
not filterable), readable_by_app (whether GET /public/me returns
the value to the app, where the merchant's browser can see it; set in
the dashboard, off by default for a new field), and values_count (how
many stores currently have a value). Takes the app_id returned by
apps_list.
Pass shop_domain to additionally resolve that store's value for every
definition, returned under values as a handle => value map. Fields
the store has no value for are omitted from that map. Definitions
require crm.custom_fields.view; resolving a store's values also
requires crm.merchants.view.
Inputs: app_id (required), shop_domain, organization_id.
custom_field_values_setSet CRM Custom Field ValuesAIdempotentInspect
Sets a store's CRM custom field values. Takes the app_id returned by
apps_list, the store's shop_domain (e.g. "acme.myshopify.com"), and
values: an object keyed by the definition handle returned by
custom_fields_list.
Each value must fit its field's type: a number for number, true/false
for boolean, one of the field's options for select, a
YYYY-MM-DD string for date, an object or array for json. null
clears a field, which deletes its stored value.
Only the handles you send are touched; every other field on the store
keeps its value. At most 20 handles per call.
An unknown handle, or a value that does not fit its field, fails the whole call and writes nothing. Returns the store's full set of values after the write.
Writes are accepted for a store the CRM has not mirrored from Shopify
Partner events yet. Setting a value fires the custom_field.changed
automation trigger, once per field whose stored value actually changed.
Inputs: app_id (required), values (required), shop_domain (required), organization_id.
database_schema_getGet Database SchemaARead-onlyIdempotentInspect
Returns the structure of the managed database attached to an
environment: every table with its columns (name, type, nullable,
default, and key flags) and its indexes (name, columns,
unique). Read this before writing a migration, model or query, since
the live schema is what the last applied migration produced and the
repository may not match it.
STRUCTURE ONLY. This tool never reads table rows. Meridian does have a SQL console for that, but it is deliberately not exposed here: running queries would put merchant data into this conversation. Use the dashboard when you need to read data.
Requires the environment to have a READY database add-on; environments
without one report a clear error. For a developer's own isolated
database, use dev_database_get instead.
Takes the app_id from apps_list and the environment_id from
environments_list.
Inputs: app_id (required), environment_id (required), organization_id.
deployment_createCreate DeploymentAIdempotentInspect
Triggers a manual deployment of git_sha to one of an app's
environments, exactly like the Deploy button in the Meridian web app.
Takes the app_id returned by apps_list, the environment_id
returned by environments_list (production, or a development or
staging environment when the app has one), and the git_sha to
deploy (optional git_ref for display only).
IDEMPOTENT: calling this again with the same environment_id and
git_sha while that exact deployment is still in flight
(queued/building/deploying/verifying) returns the SAME deployment
(created: false) instead of creating a duplicate. Calling it with a
DIFFERENT git_sha while a deployment is active for that environment
is refused. Meridian allows only one active deployment per
environment. Use deployment_get to poll the resulting
deployment_id for status, and deployments_list/logs_tail for
history and live logs.
Inputs: app_id (required), git_sha (required), environment_id (required), git_ref, +1 more.
deployment_getGet DeploymentARead-onlyIdempotentInspect
Returns a single deployment's detail: the same fields as
deployments_list, plus finished, steps, and recent events. Takes the
app_id returned by apps_list and the deployment_id returned by
deployments_list/deployment_create/deployment_rollback.
To follow a deploy to its end, pass wait_until: "finished": the call
waits up to 50 seconds for the deployment to finish, then returns its
current state. finished is true once the status is terminal
(succeeded, failed, cancelled) and a failure's error_message
is final; while it is false, call again with wait_until: "finished".
Do not sleep between calls. waited_seconds says how long this call
waited. error_message_pending is true while a failed deployment's
reason is still waiting for the container's own output.
steps lists the phases queued, build, deploy, verify, each
with status (pending, running, succeeded, failed,
skipped, cancelled), started_at, finished_at,
duration_seconds and detail (the Dockerfile instruction the build
ran last, or the phase's latest event).
events are orchestration steps and build/release/container log
lines, each with type, level, message, created_at. They come
newest first by default (order: "desc") and limit keeps the latest
ones; order: "asc" returns the oldest first. Build boilerplate (git checkout advice, Docker credential
warnings, BuildKit's builder dump and layer progress, npm update
notices) is left out and counted in boilerplate_filtered; pass
include_noise: true to get every line.
Inputs: app_id (required), deployment_id (required), limit, order, +3 more.
deployment_rollbackRollback DeploymentADestructiveInspect
Rolls back to a previously-succeeded deployment by shifting 100% of
live traffic to its existing revision (no rebuild).
deployment_id is the PRIOR SUCCEEDED deployment to restore. There
is no separate release identifier. Refused with a clear error if the
target deployment did not succeed, has no runtime revision to
restore, or its environment currently has another deployment in
progress. Returns the newly-created rollback deployment (trigger
rollback), which becomes the current live deployment for that
environment.
Inputs: app_id (required), deployment_id (required), organization_id.
deployments_listList DeploymentsARead-onlyIdempotentInspect
Lists an app's recent deployments with status and timing:
deployment_id, environment_id, trigger, git_sha, git_ref,
pr_number, status, current_step, build_step (built,
reused when an existing image was deployed: a redeploy of an
already-built commit or a promote, none for a rollback, null until a
build starts), error_code and
error_message (only present for a failed deployment),
started_at/finished_at, and the
deployer who triggered it (user_id/name/email; null for
GitHub-push deploys). Takes the app_id returned by apps_list.
Optionally scope to one environment_id (from environments_list),
filter by status, and cap the result with limit. Use
deployment_get for a single deployment's full detail, events, and log
URLs.
Inputs: app_id (required), limit, status, environment_id, +1 more.
dev_database_getGet Developer DatabaseARead-onlyIdempotentInspect
Returns the CALLING user's own developer database for an app:
status (provisioning/ready/error), sanitised error_message
when status is error, storage usage/limit,
lifecycle timestamps, and up to the 20 most recent migration runs
recorded against it (see dev_database_migrate). METADATA ONLY:
never returns a database password, secret store reference, proxy
token, or any other connection credential; use the Meridian CLI
(meridian dev) to actually connect. Takes the app_id returned by
apps_list. If you have not yet provisioned a developer database for this
app, this returns dev_database: null with a hint (NOT an error)
pointing you at meridian dev. Never returns another developer's
developer database, even for an organization admin/owner.
Inputs: app_id (required), organization_id.
dev_database_migrateRecord Developer Database MigrationAIdempotentInspect
RECORDS the outcome of a database migration YOU (or your agent)
ALREADY RAN LOCALLY against your own developer database. Meridian does
NOT execute migrations for you. There is no server-side migration
runner, and calling this tool never applies any schema change by
itself. To actually run a migration, use the Meridian CLI's
meridian migrate command locally (it runs npx prisma migrate dev against your proxied developer database and calls this same
recording step automatically). Only call this tool yourself if you
ran the migration another way (e.g. Prisma directly) and want the
run to show up in the same history dev_database_get and the
dashboard display.
Takes the app_id returned by apps_list, the exact command you
ran, its status, and optional started_at/finished_at (ISO-8601)
and output_excerpt (truncated to 5000 characters). IDEMPOTENT: re-reporting the exact
same command + started_at for this developer database returns the
SAME recorded run (created: false) instead of creating a
duplicate: safe to retry after a dropped response.
Inputs: app_id (required), status (required), command (required), started_at, +3 more.
dev_database_resetReset Developer DatabaseADestructiveIdempotentInspect
IRREVERSIBLY drops and recreates the CALLING user's own developer database
schema for an app: every table and row is destroyed and replaced
with an empty schema. The underlying MySQL user/credentials are
unaffected. Only the data is wiped. Equivalent to meridian db reset in the Meridian CLI.
REQUIRES confirm: true in the SAME call. Omitting it, or passing
false, refuses with a clear error and makes NO changes. Never
call this tool speculatively or "just in case". Only pass
confirm: true when you (or the developer you are acting for) have
explicitly decided to permanently discard this developer database's
current contents.
Also refuses if the developer database is not currently ready (e.g.
still provisioning, or already in an error state). Use
dev_database_get to check status first if unsure. Takes the
app_id returned by apps_list.
Inputs: app_id (required), confirm (required), organization_id.
discount_createCreate DiscountAInspect
Creates a Plan Builder discount. A code discount needs code (unique
per app, stored uppercase): it applies when a merchant types it at
subscribe. With auto_apply: true it has no code and applies by
itself to every matching new subscription, so creating it active
REQUIRES confirm: true. Subscriptions keep a discount they got after
it is deactivated. Takes the app_id returned by apps_list. Returns
the same shape as discount_get.
Inputs: name (required), type (required), value (required), app_id (required), +12 more.
discount_getGet DiscountARead-onlyIdempotentInspect
Returns one Plan Builder discount. discount_id is resolved in order:
uuid, then app-local handle, then merchant-entered code
(case-insensitive). Returns its code, name, status, type and value,
duration, plan and store restrictions, redemption cap and count, and
whether it applies automatically. Takes the app_id returned by
apps_list.
Inputs: app_id (required), discount_id (required), organization_id.
discounts_listList DiscountsARead-onlyIdempotentInspect
Lists an app's Plan Builder discounts: discount_id, handle, code,
name, description, status, type, value, duration fields,
plan restrictions, availability, redemption limits, and timestamps.
Takes the app_id returned by apps_list.
Inputs: app_id (required), organization_id.
discount_updateUpdate DiscountAIdempotentInspect
Edits a Plan Builder discount; only the fields sent change.
discount_id is its uuid, handle or code, as for discount_get.
Deactivate it with status: inactive: it stops applying to new
subscriptions, and the ones that already got it keep it. A write that
leaves an AUTOMATIC discount active REQUIRES confirm: true, unless it
only changes name or description. Takes the app_id returned by
apps_list. Returns the same shape as discount_get.
Inputs: app_id (required), discount_id (required), code, name, +13 more.
docs_getGet Documentation PageARead-onlyIdempotentInspect
Fetches one Meridian public product documentation page in full by
relative path (for example mcp-server.mdx, or a nested
guides/some-page.mdx). Use after docs_search when you
need the whole page. Paths match the meridian://docs/{path} resource
index. No app_id. These docs are not app-scoped. Returns path,
title, public URL, and markdown/MDX content.
Inputs: path (required).
docs_searchSearch DocumentationARead-onlyIdempotentInspect
Searches Meridian's public product documentation (the same knowledge
base Answers uses) and returns ranked passages with path, title, URL,
heading, anchor, snippet, and relevance score. Use this to ground
answers about how Meridian behaves before writing code. No app_id.
Docs are not app-scoped. For Shopify Admin API, GraphQL, Polaris, or
theme questions, use Shopify's official developer docs instead. This
tool only covers Meridian. After a hit, call docs_get with the
returned path for the full page, and use features_list /
events_list for the caller's live Plan Builder keys.
Inputs: query (required), limit.
email_createCreate EmailAInspect
Creates a new email template as an inactive draft. Requires name;
optional subject and preview_text. Status is always forced to
inactive, and design/HTML cannot be set through MCP. Edit the body
and activate in the Meridian dashboard. Takes the app_id returned by
apps_list. Returns the same summary shape as email_get.
Inputs: name (required), app_id (required), subject, preview_text, +1 more.
email_getGet EmailARead-onlyIdempotentInspect
Returns one email template's metadata and rates: email_id, name,
status, subject, preview_text, open/click/conversion rates, and
timestamps. Never includes design JSON or rendered HTML. Takes the
app_id from apps_list and the email_id from emails_list /
email_create. Recomputes rates from local send rows before returning
so missed webhook deliveries do not leave stale numbers.
Inputs: app_id (required), email_id (required), organization_id.
emails_listList EmailsARead-onlyIdempotentInspect
Lists an app's email templates: email_id, name, status
(active/inactive), subject, preview_text, open/click/conversion
rates, and timestamps. Never includes design JSON or rendered HTML.
Edit those in the Meridian dashboard. Takes the app_id returned by
apps_list. Optional status, search (name/subject), and limit.
Newest first, one page per call: while
next_cursor is not null, call again with it as cursor and the
same status and search to read the next page. A null
next_cursor means there are no more emails.
Inputs: app_id (required), limit, cursor, search, +2 more.
emails_variables_listList Email Merge VariablesARead-onlyIdempotentInspect
Returns the merge-tag variable catalog an email send can substitute:
built-in tags plus the app's CRM custom fields. Each entry has name,
sample text, and related metadata. Pass optional shop_domain to swap
the store variables' generic samples for that store's real values,
empty where the store has none (unknown stores fall back to samples).
Each variable has sample_source: store when its sample is that
store's own value, placeholder for a generic sample (every variable
without shop_domain, an unknown store, and the contact, event and
custom field variables). With shop_domain, the root also has
store_found (false when Meridian does not know the store).
Takes the app_id returned by apps_list. Requires
emails.view; a store's real values also require crm.merchants.view.
Inputs: app_id (required), shop_domain, organization_id.
email_updateUpdate EmailAIdempotentInspect
Updates an email template's name, subject, and/or preview_text.
At least one of those fields is required. Status and design/HTML cannot
be changed through MCP. Activate and edit the body in the Meridian
dashboard. An active email must keep a subject: clearing it is refused
until the email is deactivated in the dashboard. Like a save in the
dashboard, it also updates every automation that sends this email,
active or not: each Send Email step keeps a copy of the subject,
preview text and HTML, and that copy is what sends, so the change
applies to the next send. Runs already paused on a Wait keep the
version they started with. Takes app_id and email_id from
apps_list / emails_list. Returns the same summary shape as
email_get.
Inputs: app_id (required), email_id (required), name, subject, +2 more.
entitlements_explainExplain Shop EntitlementsARead-onlyIdempotentInspect
Resolves the Plan Builder entitlement snapshot for one shop of the
given app: the plan it is on, whether it is paused, its currency/FX
rate, and its feature/event terms, both objects keyed by the
app-local key your @the-meridian/sdk isEnabled()/track() calls
use. Unlike plans_list/features_list/events_list, the
feature/event entries here use the @the-meridian/sdk Entitlements
type's own field names verbatim (e.g. enabled, limit, includedQuantity,
usedThisPeriod) rather than this server's usual snake_case, because
this tool's whole purpose is showing exactly what the SDK's
getEntitlements() would return for that shop right now, without
calling Shopify. Never returns the shop's access token. Takes the
app_id returned by apps_list and the shop's shop_domain (e.g.
demo.myshopify.com). Requires both the plan_builder.view and
crm.merchants.view permissions on the app, because the result is
one merchant's subscription state.
Inputs: app_id (required), shop_domain (required), organization_id.
environment_createCreate EnvironmentAIdempotentInspect
Adds a development or staging environment to an app, like Add
environment in the dashboard. Takes the app_id from apps_list and
the type. The production environment exists from the moment the app
is created, so it is never created here.
The environment is created in the app's region, with its own Meridian
hostname, and can scale to zero. It has no deployment yet: deploy to
it with deployment_create. Optional starting settings:
release_command, healthcheck_path, cpu, memory,
max_instances, concurrency, timeout_seconds, name (change
them later with environment_update). Compute values are limited by
the app's plan.
Refused when the app's plan does not include another environment of
that type (USAGE_LIMIT_EXCEEDED). When the app already has an
environment of that type, it is returned unchanged with
created: false, and the starting settings are ignored.
Check auto_deploy in the answer of environments_list afterwards:
an app whose pushes deployed to production because it had no
development environment deploys them to the new development
environment from now on.
Returns created and the environment in the shape of one
environments_list entry.
Inputs: type (required), app_id (required), cpu, name, +7 more.
environments_listList EnvironmentsARead-onlyIdempotentInspect
Lists an app's environments (development, staging, production). Takes
the app_id from apps_list. Use the returned environment_id with
deployments_list, logs_tail or deployment_create.
Each has type, region, base_url, release_command (run before
each deploy goes live, or null), healthcheck_path, the scaling
configuration (cpu, memory, always_on, min_instances,
max_instances, concurrency, timeout_seconds),
config_pending_deploy (settings changed that only reach the app with
the next deploy) with config_changed_at. always_on is true when an
instance stays warm, false when the environment scales to zero.
auto_deploy says what a push to the connected repository deploys:
enabled, the branch Meridian watches, the saved target (none,
development, staging, production), and where the push really
lands, environment_type with its environment_id. A development
target lands on production when the app has no development
environment, so read environment_type, not target, before merging
into branch.
base_url (the same as public_url) is null until the first runtime
deploy. domains lists the platform domain (status active,
not_deployed or disabled), then each custom domain with its
status (pending_dns, provisioning, active, failed,
deleting), certificate state tls, dns_all_verified, the
dns_records to add, certificate_expires_at, ownership_expires_at
and error_message.
database is the environment's database (status, engine,
error_code, error_message) or null, and database_status its
status: pending, provisioning, ready, failed, deleting or
deleted. Never a host, user, database name or password.
Inputs: app_id (required), organization_id.
environment_updateUpdate Environment SettingsADestructiveIdempotentInspect
Changes the settings of one environment, like the dashboard's Hosting
settings: release_command, healthcheck_path, container_port,
cpu, memory, max_instances, concurrency, timeout_seconds
and name. Send only the settings to change; the others keep their
value. null clears a setting. Takes the
app_id from apps_list and the environment_id from
environments_list.
PRODUCTION REQUIRES confirm: true in the same call; without it the
tool refuses and changes nothing. Only pass confirm: true once the
developer you act for has agreed to this exact change. Development
and staging don't need it.
When each setting takes effect: release_command and
healthcheck_path at the next deploy (config_pending_deploy
becomes true on an environment that is already deployed);
container_port, cpu, memory, max_instances,
concurrency and timeout_seconds on the running service within a
minute or two, with no deploy. A wrong port takes the running app
down, so read the port the app listens on before changing it.
Compute values are limited by the app's plan: a value above the plan
is lowered to it, and the answer returns what was saved. The region,
the environment type and the always-on server (min_instances)
can't be changed here. Returns the environment in the shape of one
environments_list entry, with changed listing the settings that
really changed.
Inputs: app_id (required), environment_id (required), cpu, name, +9 more.
events_createCreate EventAInspect
Adds a metered-usage event to an app's usage catalog. key is what
@the-meridian/sdk track({ eventKey: "<key>" }) reports against. It
is unique per app across both events and usage views, and cannot be
changed afterwards. The default_* metering terms only pre-fill the
event's terms when it is added to a plan in the Meridian dashboard.
Each plan keeps its own terms. Call events_list first to avoid
duplicating a key. Takes the app_id returned by apps_list. Returns
the same shape as one events_list entry.
Inputs: key (required), name (required), app_id (required), unit, +6 more.
events_listList EventsARead-onlyIdempotentInspect
Lists an app's Plan Builder metered-usage event catalog:
event_id, handle, key (pass this as eventKey to the
@the-meridian/sdk track({ eventKey: "<key>" }) call), name,
unit, description, the default metering terms
(default_included_quantity, default_overage_rate,
default_overage_unit, default_capped_amount), and the per-plan
terms that override those defaults. Takes the app_id returned by
apps_list.
Inputs: app_id (required), organization_id.
feature_createCreate FeatureAInspect
Adds a feature to an app's Plan Builder catalog. Requires name, key
and type. key is what @the-meridian/sdk isEnabled("<key>")
checks: lowercase letters, digits and underscores, unique per app, and
it cannot be changed afterwards. type is boolean (on or off per
plan) or number (a limit per plan, such as 100 wishlists), and cannot
be changed either. Optional description. The feature is in no plan
yet: add it with plan_create or plan_update. Call features_list
first to avoid duplicating a key. Takes the app_id returned by
apps_list. Returns the same shape as one features_list entry.
Inputs: key (required), name (required), type (required), app_id (required), +2 more.
features_listList FeaturesARead-onlyIdempotentInspect
Lists an app's Plan Builder feature catalog: feature_id, handle,
key (pass this to the @the-meridian/sdk isEnabled("<key>") call),
name, description, type (boolean or number), and which
plans grant the feature and with what value (a numeric limit for
number-type features, null for boolean-type). Takes the
app_id returned by apps_list.
Inputs: app_id (required), organization_id.
feature_updateUpdate FeatureAIdempotentInspect
Edits a Plan Builder feature's name or description. feature_id
is the uuid or handle from features_list. The key and type are
set at creation and cannot change: create another feature instead.
Which plans grant the feature, and its value in each, is set with
plan_update. Takes the app_id returned by apps_list. Returns the
same shape as one features_list entry.
Inputs: app_id (required), feature_id (required), name, description, +1 more.
github_refs_listList Repository Branches and CommitsARead-onlyIdempotentInspect
Lists the branches and recent commits of the GitHub or GitLab
repository connected to an app, as Meridian sees them. Use this to get a real
git_sha for deployment_create instead of guessing one: a sha that
has not been pushed to the connected repository will fail during the
build rather than at the tool call.
Returns repository (owner/name plus connected), branches (each
with name, commit_sha, protected) and commits (each with sha,
message, author, date).
Pass branch to list commits from a specific branch; the repository's
default branch is used otherwise. An app with no connected repository
reports connected: false with empty lists rather than an error, as do
an empty repository and an unknown branch.
Takes the app_id from apps_list. Requires the hosting.view
permission on the app, like environments_list.
Inputs: app_id (required), branch, organization_id.
logs_tailTail LogsARead-onlyIdempotentInspect
Returns recent runtime logs (container stdout/stderr and HTTP request
logs) of one environment. Takes the app_id from apps_list and the
environment_id from environments_list.
Window: since defaults to the last 10 minutes; without until the end
is open. A timestamp without an offset is UTC. The answer echoes the
resolved since / until and server_time (UTC). A since more than 5
minutes after server_time is refused: check the offset. An environment
never deployed answers with a note (no runtime, no logs).
deployment_id (from deployments_list) scopes the tail to that
deployment's revision; without it the tail can include a previous
revision's output.
min_severity is a floor, not an exact match. Request logs are mostly
INFO, so WARNING keeps container output and failed requests.
contains matches message text and request URLs in Cloud Logging before
limit applies, so older matches are not lost.
source: web (default), worker (the Worker add-on; none without it),
all (both, each line with its source), task (the output of the
Scheduler long tasks; scheduler_runs_list gives each run's time, to set
since / until around one run), or release (the release command
output, such as npx prisma migrate deploy). With
deployment_id, worker reads that deployment's worker. release reads
deployment_id's release output or the latest one that ran, whenever it
ran (since / until filter it only when passed, limit keeps the last
lines). With source omitted and no runtime yet (a first deploy that
failed at its release command), the release output comes back instead,
and note says so.
Inputs: app_id (required), environment_id (required), limit, since, +6 more.
managed_variables_listList Managed Environment VariablesARead-onlyIdempotentInspect
Lists the environment variables Meridian injects into an environment's
runtime at deploy: SHOPIFY_API_KEY, SHOPIFY_API_SECRET,
SHOPIFY_APP_URL, SCOPES (from the repository's shopify.app.toml),
the MERIDIAN_* identifiers, the managed database DB_* set and the
variables of ready add-ons (REDIS_*, CRON_SECRET, STORAGE_*,
CDN_URL). They are
in neither the repository nor secrets_list, but the process can read
them: check here before writing code that reads a variable or adding one
the platform provides. Takes the app_id from apps_list and the
environment_id from environments_list.
VALUES ARE NEVER RETURNED; read them in the Meridian dashboard. Only
variables whose conditions hold now are listed (no database, no DB_*;
SCOPES only when the config file on the default branch declares them).
Each entry has name, secret (mounted from the secret store), source
(sdk_credentials, pubsub, platform, database, redis,
scheduler, object_storage, cdn, shopify_app_config) and
source_file (for SCOPES: the root shopify.app*.toml whose
client_id matches the environment, else shopify.app.toml).
On a name collision with the app's own variable: overridden means the
app's variable wins and the managed one is skipped; shadows_user_variable
means the managed one always wins (the MERIDIAN_* identifiers), so
setting it has no effect. For an overridden entry, override_value is
same, different or unknown (only the Shopify pair and NODE_ENV
are compared); null when nothing overrides it. Remove an override with
secrets_unset.
Inputs: app_id (required), environment_id (required), organization_id.
plan_activateActivate PlanAIdempotentInspect
Puts a draft Plan Builder plan live: from then on it is on the app's
pricing page and merchants can subscribe to it, and pay for it if it
is paid. REQUIRES confirm: true in the same call; without it the
tool refuses and changes nothing. Only pass confirm: true once the
developer you act for has decided to offer this plan to merchants.
plan_id is the uuid or handle from plans_list. Refused for an
older version of a plan (activate the current one), and for a paid
plan while the app cannot charge through Shopify yet
(SHOPIFY_BILLING_NOT_READY, with what is missing and where to fix
it). A plan that is already active is returned unchanged. Takes the
app_id returned by apps_list. Returns the same shape as one
plans_list entry.
Inputs: app_id (required), confirm (required), plan_id (required), organization_id.
plan_createCreate PlanAInspect
Creates a Plan Builder plan as a draft: merchants do not see it
until plan_activate. Requires name (unique per app) and
price_monthly in USD (0 for a free plan). Optional description,
price_yearly (needs a monthly price above 0, and no usage pricing),
trial_days, features (each feature_id from features_list, and
a value for a number feature) and events (per-plan usage terms
for events from events_list; at most one with an overage_rate
above 0). Takes the app_id returned by apps_list. Returns the same
shape as one plans_list entry.
Inputs: name (required), app_id (required), price_monthly (required), events, +5 more.
plan_deactivateDeactivate PlanAIdempotentInspect
Takes an active Plan Builder plan off the app's pricing page by
switching it back to draft: new stores can no longer subscribe to it.
Stores already subscribed keep it, at the terms they approved.
plan_id is the uuid or handle from plans_list. A plan that is
already a draft is returned unchanged. Put it back with
plan_activate. Takes the app_id returned by apps_list. Returns
the same shape as one plans_list entry.
Inputs: app_id (required), plan_id (required), organization_id.
plans_listList PlansARead-onlyIdempotentInspect
Lists an app's Plan Builder plans: plan_id, handle, name,
description, status (draft/active), price_monthly/
price_yearly, trial_days, and the feature/event terms each plan
grants. Feature and event terms are keyed by their app-local key,
the exact string your @the-meridian/sdk calls use, e.g.
isEnabled("<key>") or track({ eventKey: "<key>" }), so you can
write correct SDK code directly from this output. Takes the app_id
returned by apps_list.
Inputs: app_id (required), organization_id.
plan_updateUpdate PlanAIdempotentInspect
Edits a Plan Builder plan. plan_id is the uuid or handle from
plans_list. Send only what changes: name, description,
price_monthly, price_yearly (null removes it), trial_days,
features, events. features and events each replace the plan's
whole list, so send every entry the plan should keep. Refused when the
plan has live subscribers and the change would cost them more
(PLAN_LOCKED; make a new version in the Meridian dashboard), and
when it would price an active plan while the app cannot charge
through Shopify yet (SHOPIFY_BILLING_NOT_READY). An active plan's
changes reach new merchants at once. To put a draft live, use
plan_activate. Takes the app_id returned by apps_list. Returns
the same shape as one plans_list entry.
Inputs: app_id (required), plan_id (required), name, events, +6 more.
previews_listList PR PreviewsARead-onlyIdempotentInspect
Lists the pull-request preview deployments for an app, newest first:
each one's pr_number, head_sha, base_url, status,
sanitised error_message and expires_at.
Use it after pushing a branch or opening a pull request to find the
preview URL for that PR, and to check whether its build succeeded. A
preview with a failed status and an error_message is the fastest
signal that a change broke the build.
Optionally filter by pr_number. Previews expire, so an old PR may have no live preview.
Takes the app_id from apps_list.
Inputs: app_id (required), limit, pr_number, organization_id.
resource_usage_getGet Resource UsageARead-onlyIdempotentInspect
Current resource usage of an app's environments: CPU and memory against
their limits, network bytes, and each database add-on's connections,
storage, average query time and backup size. Also meters: the app's
hosting usage for the CURRENT BILLING PERIOD (bandwidth GB, autoscaling
hours, database storage MB) against its plan limit. Takes the app_id
from apps_list; environment_id (from environments_list) narrows it
to one environment. For trends, use resource_usage_history.
UNITS, read before interpreting a number:
cpu.utilizationis a FRACTION 0 to 1 ofcpu.configured(the vCPU count, a string like "2"), not a percentage.memory.used_mb/configured_mbare absolute megabytes.network.egress_bytes/ingress_bytesare bytes over a trailing ~30-minute window rewritten every ~2 minutes: reads overlap, never sum them. A quiet window keeps the previous count with a freshsampled_at.
Environment figures are samples up to a few minutes old. meters refresh
HOURLY: check each meter's as_of.
Meters: limit: null is unlimited (unlimited says so), limit: 0 is no
allowance. used: null is never measured (as_of null too), not idle.
remaining is max(0, limit - used), null when unlimited or unmeasured;
over_limit is false then.
An environment never deployed or not sampled yet is still listed, with
sampled_at: null and null usage. There is no disk figure: the runtime
has no persistent disk.
Inputs: app_id (required), environment_id, organization_id.
resource_usage_historyGet Resource Usage HistoryARead-onlyIdempotentInspect
Resource-usage history for ONE environment (CPU, memory, network,
throughput, latency, errors, instances), read live from platform
monitoring. Takes the app_id from apps_list and the required
environment_id from environments_list. For a right-now snapshot use
resource_usage_get.
UNITS, read before interpreting a number:
cpu,memory: FRACTIONS 0 to 1 of the configured limit, not percentages. Multiply bylimits.cpu/limits.memory_mb.network: BYTES perstep_secondsbucket (divide bystep_secondsfor bytes/sec). Buckets do not overlap, so summing them is safe.throughput: requests/sec.latencyp50/p95/p99: milliseconds.errors.value: 5xx/sec;errors.rate: percent of throughput.instances: a count. A null is a missing sample, not zero.
summary (min/avg/max/latest per metric) is always returned for every
metric, computed from the full series with nulls skipped: a spike is never
averaged away.
series (raw points) comes only for the metrics named in metrics; omit
it for summary only, and ask for points in a second call when summary
shows they are worth it. Raw series hold about 60 points at 1h, 288 at
24h, 168 at 7d. A series longer than max_points is averaged into
equal-width buckets (each t from its first point); downsampled is then
true and effective_step_seconds gives the bucket width for chart axes.
Inputs: app_id (required), environment_id (required), range, metrics, +2 more.
scheduler_jobs_listList Scheduler JobsARead-onlyIdempotentInspect
Lists the Scheduler add-on's jobs for one environment. Each job has a
type: short (Meridian sends a POST to path on the app, which must
answer within limits.short_task_deadline_seconds) or long (the
command runs on its own machine, one run at a time, for up to
limits.long_task_timeout_hours).
Each job carries its job_id, its cron (always in UTC), whether it is paused,
lock_paused (the app is unpaid) or hours_paused (a long task
waiting for the app's next long-task hours), its upcoming_runs, its
last_run and, for a long task, the active_run in progress. A run's
status is starting, running, succeeded, failed, timed_out,
out_of_memory, skipped or stopped, with a reason for a skipped or
stopped run.
long_task_hours is the app's monthly pool across all its
environments: hours used, the limit, the memory of one run, and
whether it is exhausted. Use scheduler_runs_list for a job's history
and logs_tail with source: "task" for what a long task printed.
Returns enabled: false with no jobs when the environment has no
Scheduler add-on. Takes app_id from apps_list and
environment_id from environments_list.
Inputs: app_id (required), environment_id (required), organization_id.
scheduler_runs_listList Scheduler RunsARead-onlyIdempotentInspect
Lists the runs of an environment's Scheduler jobs, newest first, for
one job with job_id (from scheduler_jobs_list) or for all of them.
Each run has its trigger (scheduled, or manual for "Run now"),
status (starting, running, succeeded, failed, timed_out,
out_of_memory, skipped, stopped) and reason: overlap (the previous
run was still going, a long task runs one at a time), no_hours (the
app used its long-task hours for the month), app_paused,
not_entitled, not_deployed, paused, start_failed, no_shell
(the image has no /bin/sh), command_not_found (exit code 127),
crashed (a signal ended the command; exit_code is 128 plus the
signal, so 139 is a segfault), stopped_by_user, stopped_by_staff or
removed.
A long-task run also has exit_code, duration_seconds,
billed_seconds (what it counted in the app's hours), memory_mb,
the deploy_sha it ran and, when it failed, output_excerpt: the
last lines it printed. A short-task run has http_status. For the
full output of a long task, call logs_tail with source: "task"
and since / until around the run's started_at and finished_at.
limit defaults to 20 and caps at 100. Takes app_id from
apps_list and environment_id from environments_list.
Inputs: app_id (required), environment_id (required), limit, job_id, +1 more.
sdk_credentials_setSet Shopify API CredentialsADestructiveIdempotentInspect
Saves the app's Shopify client ID and client secret, like the Shopify
API credentials card under App settings > Meridian SDK in the
dashboard. Takes the app_id from apps_list, and
shopify_client_id, shopify_client_secret or both: the one you
leave out keeps its value. Both come from the app's page in the
Shopify Dev Dashboard; ask the developer for them, never guess one.
The pair belongs to the app, not to one environment: every
environment's next deploy gets it as SHOPIFY_API_KEY and
SHOPIFY_API_SECRET, production included, and Plan Builder billing
uses it. So the tool REQUIRES confirm: true in the same call;
without it the tool refuses and changes nothing. Only pass
confirm: true once the developer you act for has agreed.
THE SECRET IS NEVER RETURNED. The answer gives the saved
shopify_client_id, has_shopify_client_secret, and changed, the
credentials that really changed. A credential can be replaced here
but not cleared. Running environments keep the pair they were
deployed with until their next deploy (environments_list reports
config_pending_deploy for them); app_readiness_get says whether the app
is now ready to deploy.
Inputs: app_id (required), confirm (required), organization_id, shopify_client_id, +1 more.
secrets_listList SecretsARead-onlyIdempotentInspect
Lists the metadata for an app's secrets and plain environment
variables: secret_id, scope (app/env), key, is_secret,
inherited, overridden_by_environment, created_by,
created_at, updated_at. NEVER includes a value. This is a
metadata-only listing, identical in spirit to what the secrets
dashboard table shows before you reveal one. Takes the app_id
returned by apps_list.
Without environment_id, it lists the app-level entries, which
every environment inherits (inherited: false,
overridden_by_environment: null). Pass environment_id (from
environments_list) for what that environment really gets: its own
entries plus every app-level entry, marked inherited: true. An
app-level entry whose key the environment sets too stays listed,
with overridden_by_environment: true: the environment's entry wins
at deploy. Those entries are sorted by key, so an override sits next
to what it replaces, and count counts every entry.
The variables Meridian itself injects at deploy are not here: call
managed_variables_list for that other half.
Inputs: app_id (required), environment_id, organization_id.
secrets_setSet Environment Variable or SecretADestructiveIdempotentInspect
Sets one environment variable or secret on an app, like adding or
editing it on the dashboard's Environment page. Creates the key, or
replaces its value when it already exists in that scope (action:
created or updated). Takes the app_id from apps_list.
scope is required: app sets the key for every environment
(development, staging and production), and environment sets it for
the one environment_id (from environments_list) only, where it
wins over an app entry of the same key.
is_secret defaults to true: the value goes to the Meridian secret store and can
never be read back. Pass is_secret: false for a plain variable,
which the dashboard shows. An existing key keeps its kind: changing
is_secret is refused, so call secrets_unset, then secrets_set.
Keys are uppercase (^[A-Z][A-Z0-9_]*$, up to 128 characters) and
normalized for you. The value is trimmed, non-empty, at most 8192
characters. Refused names: the HOSTING_ prefix, and
MERIDIAN_APP_ID, MERIDIAN_API_URL, MERIDIAN_OAUTH_CLIENT_ID,
MERIDIAN_OAUTH_CLIENT_SECRET, which Meridian always sets itself.
A key that overrides a variable Meridian manages (the Shopify pair,
NODE_ENV, MERIDIAN_API_KEY, DB_*, the REDIS_* set of a ready
Redis add-on, ...) is accepted and listed in overrides_managed, one
entry per environment it overrides.
THE VALUE IS NEVER RETURNED. The change reaches the app at its next
deploy: environments_list reports config_pending_deploy.
Inputs: key (required), scope (required), value (required), app_id (required), +3 more.
secrets_unsetUnset Environment Variable or SecretADestructiveIdempotentInspect
Deletes one environment variable or secret from an app, like deleting
it on the dashboard's Environment page. Takes the app_id from
apps_list, the key, and the scope it was set in: app for an
entry shared by every environment, environment with
environment_id for an entry of that environment only. Call
secrets_list (with environment_id) to see which scope a key
lives in.
A key that is not set in that scope answers deleted: false and
changes nothing. A key set for every environment cannot be deleted
through scope: environment: the call is refused and says so, and
nothing is deleted.
Removing an override: when the key overrides a variable Meridian
manages (managed_variables_list reports it overridden; the
variables of a ready add-on, such as REDIS_HOST, and the DB_HOST,
DB_PORT and DB_SSL_CA of a database reached over TCP count too),
deleting it gives that variable back to Meridian, and
restores_managed lists the environments where it happens. When
override_value is same, the app keeps the same value and the call
goes through. When it is different or unknown (always unknown
for an add-on or database transport variable), the app would run with
another value, so the call is refused until you pass confirm: true.
This holds when a key set for every environment takes over from the
deleted one too: restores_managed is then empty.
The change reaches the app at its next deploy: environments_list
reports config_pending_deploy.
Inputs: key (required), scope (required), app_id (required), confirm, +2 more.
shopify_alert_getGet Shopify AlertARead-onlyIdempotentInspect
Returns a single Shopify API-deprecation alert's detail: the same
fields as shopify_alerts_list, plus the existing stored AI fix
suggestion (fix_suggestion (summary, steps, references,
grounded) or null when none has been generated yet;
fix_suggested_at; fix_error/fix_failed_at when generation
failed). Never generates a new fix suggestion. Takes the app_id
returned by apps_list and the alert_id returned by
shopify_alerts_list. Works for acknowledged alerts too, unlike
shopify_alerts_list, which only lists open ones. Requires the
shopify_alerts.view permission on the app.
Inputs: app_id (required), alert_id (required), organization_id.
shopify_alerts_listList Shopify AlertsARead-onlyIdempotentInspect
Lists an app's OPEN Shopify API-deprecation alerts: breaking changes
from Shopify's changelog that were matched against this app's
connected repository and still need action (relevant, not ruled out
by verification, and not yet acknowledged). Each alert has an
alert_id, the underlying changelog entry's title/summary/url/
severity/action_required/migration_deadline/affected_apis/
recommendation, the matched code_references, and
has_fix_suggestion (whether a stored AI fix already exists: fetch
it with shopify_alert_get). Takes the app_id returned by
apps_list. Optional limit caps the result. Requires the shopify_alerts.view permission on the app.
Never triggers a new scan or fix generation.
Inputs: app_id (required), limit, organization_id.
webhook_deliveries_listList Shopify Webhook DeliveriesARead-onlyIdempotentInspect
Lists recent inbound Shopify webhook deliveries for an app, newest
first. Each entry reports topic, shop_domain, status, attempts,
response_code (what the app's handler answered), error_message, and
the triggered_at / forwarded_at / handled_at timestamps.
Use it to tell apart the two failures that look identical from inside
the repo: no delivery row for a topic means Shopify never sent it (check
webhook_routes_list. The topic is probably unrouted or failed to
register), while a row with a 4xx/5xx response_code means it arrived
and the app's own handler rejected it.
Optionally filter by topic (exact Shopify topic, e.g.
orders/create) or status.
THE WEBHOOK BODY IS NEVER RETURNED. It is merchant commerce data, and neither are the request headers, which carry the HMAC signature. Read a payload in the Meridian dashboard when you need one.
Takes the app_id from apps_list.
Inputs: app_id (required), limit, topic, status, +1 more.
webhook_routes_listList Shopify Webhook RoutesARead-onlyIdempotentInspect
Lists the Shopify webhook topics routed to an app, the path each is
forwarded to, and forward_host, the origin the platform posts to. Use it
when a webhook "isn't firing": is the topic routed, does forward_path
match the app's route, did Shopify accept the subscription. Takes the
app_id from apps_list; webhook_deliveries_list shows single
deliveries.
Each route has topic, forward_path (null: the platform default path)
and registration (registered_shops, failed_shops, last_error).
failed_shops above zero means configured but not delivering, the usual
cause of a handler that never runs. A store Meridian cannot reach (token
revoked, Shopify refusing) fails every topic it lacks, with a last_error
starting Could not reach.
reconcile_available true: Meridian registers topics itself (app deployed
with a ready production database); a null registration means not tried
yet. False: the SDK registers the topic set at each store's sign-in.
Managed topics (app/uninstalled, billing) exist from install. A developer
route carries sign_in (installed_shops, awaiting_shops): with
awaiting_shops above zero, say the topic registers on those stores at
their next sign-in (one within five minutes of adding the route still
awaits), not that it is registered and idle. At zero, every store signed
in since; the SDK does not report whether Shopify accepted each one.
forward_host_source: external (verified host of an app hosted
elsewhere), environment (the Meridian deployment) or platform; both
null when nothing is routed (nothing deployed). platform is Meridian's
own last-resort receiver: events stop there and never reach the app, and
forward_url is the single URL they go to. Say so plainly; do not join
forward_host and forward_path into an endpoint nothing posts to.
Inputs: app_id (required), organization_id.
whoamiWho Am IARead-onlyIdempotentInspect
Returns the calling Meridian user's identity plus every organisation
they belong to (with their role and key permissions in each). Call
this first to orient yourself: it takes no arguments and its
organizations[].organization_id values are what you pass as
organization_id to other tools such as apps_list.
organizations[].permissions is a map of permission name to
boolean covering the permissions the other tools require
(applications.view, applications.edit, hosting.view,
hosting.edit, hosting.promote, plan_builder.view,
plan_builder.edit, emails.view, emails.edit,
automations.view, automations.edit, crm.merchants.view), so
you can tell before calling a tool whether it will be allowed.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Deploy apps to servers you own: projects, deployments, logs, health and pull request previews.
Deploy an app and keep it running: status, logs, versions, domains, databases and sign-in.
Deploy apps on your cloud. Create environments, configure infrastructure, and monitor jobs.
Deploy and manage web apps with Atlas hosting, isolated Postgres, file storage and logs.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceEnables deploying and managing apps with hosting, logs, rollbacks, environment variables, domains, Postgres databases, file storage, and transactional email. It also supports SQL console operations, database imports, and support requests.MIT- FlicenseNot gradedqualityCmaintenanceEnables MCP clients to deploy, inspect, and roll back containerized apps; manage environment variables and opt-in PostgreSQL; and configure custom domains with DNS/TLS verification. It provides logs, status, and lifecycle tools for agent-driven hosting workflows.-
- AlicenseBqualityCmaintenanceEnables AI agents to deploy and roll back applications, read build and runtime logs, diagnose broken apps, and run commands inside containers. It also manages environment variables, PostgreSQL databases, domains, cron jobs, marketplace services, and backups on a PaaS platform, with safety annotations so clients can confirm destructive actions.58MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to build and deploy an app from a GitHub repository to a managed live server and then operate it — logs, captured errors, health checks, managed Postgres, secrets, custom domains, email authentication, and Stripe checkout links. It also exposes safe, read/write-labelled tools so agents can rebuild, start/stop, and inspect projects without ever editing source code.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.