Skip to main content
Glama
Altegio Marketplace MCP

Altegio Marketplace MCP

Official
by altegio

Altegio Integrations Hub MCP

MCP server for creating, configuring, deploying, operating, and analyzing of developer-owned Altegio Integrations Hub applications. It wraps two deliberately separated surfaces:

  • documented public/partner APIs;

  • the authenticated Developer Cabinet API used by Biz.ERP itself.

Marketplace administration is intentionally excluded. Moderation decisions, publication, ranking, commissions, application removal by moderators, and special-offer management belong in a separate moderator-only skill or service.

Hosted MCP address: https://mcp.alteg.io/integrations-hub. This is the address to paste into a remote MCP client. The older /public/integrations-hub/mcp path was retired on 2026-09-28: it answers 410 naming this address, and a client still on it signs in again here.

Connect in minutes

Use the one-click connection guide for Claude, Cursor, VS Code, Codex, Gemini CLI, or ChatGPT. Sign in with the Altegio account that owns your developer applications. The hosted route does not require you to run this repository or paste a Partner Token into the client.

For Claude Code:

claude mcp add --transport http altegio-integrations-hub https://mcp.alteg.io/integrations-hub

Then run /mcp and choose Authenticate. Start by listing your developer accounts and asking the assistant to read the safe rollout resource and plan a private draft before applying any write.

See the developer landing page for capabilities and more connection options, or the Developer Tools API if you prefer direct REST calls.

Related MCP server: Terraform Engine MCP Server

What it covers

The generated tool inventory and JSON schemas describe the current owner-facing tools:

  • Developer accounts: integrations_hub_list_developer_accounts, integrations_hub_create_developer_account, integrations_hub_update_developer_account, integrations_hub_delete_developer_account.

  • Applications/card: integrations_hub_list_applications, integrations_hub_get_application, integrations_hub_get_catalog_metadata, integrations_hub_list_available_rights, integrations_hub_create_application, integrations_hub_update_application.

  • Moderation: integrations_hub_save_moderation_instructions, integrations_hub_submit_for_moderation.

  • Frames/chat: integrations_hub_list_entity_frames, integrations_hub_replace_entity_frames, integrations_hub_notify_chat_message, integrations_hub_install_sidebar_frame, integrations_hub_toggle_sidebar_highlight.

  • Installation: integrations_hub_grant_location_access, integrations_hub_activate_installation, integrations_hub_get_installation_status, integrations_hub_list_installations, integrations_hub_uninstall.

  • Billing/notifications: integrations_hub_list_tariffs, integrations_hub_get_payment_link, integrations_hub_record_payment, integrations_hub_refund_payment, integrations_hub_set_discount, integrations_hub_update_notification_channel, integrations_hub_set_sms_sender_names.

  • Analytics: integrations_hub_get_statistics, integrations_hub_get_conversion_statistics, integrations_hub_list_reviews.

  • Lifecycle: integrations_hub_validate_lifecycle_callback.

  • Webhooks: integrations_hub_get_location_webhooks, integrations_hub_change_location_webhooks (location-wide entity hooks). Read and update the separate application lifecycle callback_url through the application tools.

It also serves feedback_submit, on the same contract as Altegio Pro MCP: an agent reports a bug or a missing capability, and the server writes one masked agent_feedback line to its own log (no other sink; nothing in Altegio changes). A failed call with an Altegio 5xx or an unexpected error ends with one sentence pointing at it; validation, auth, other 4xx, timeouts and network failures do not. Reports are limited to 5 per 10 minutes per user (else per session); a refusal carries error_class: "rate_limited". Operators can inspect these masked feedback events in their deployment’s server logs.

MCP resources:

  • altegio://integrations-hub/internals — the complete source-referenced Biz.ERP implementation guide;

  • altegio://integrations-hub/embedded-surfaces — embedded UI contracts and viewer identity;

  • altegio://integrations-hub/safe-e2e — draft → configure → install → activate → verify → update → uninstall;

  • altegio://integrations-hub/tool-boundaries — public/internal classifications and safety rules.

  • altegio://integrations-hub/webhooks — entity and lifecycle event contracts, safe settings changes, and delivery limits.

Prompt: integrations_hub_safe_draft_rollout.

Safety model

Every mutation requires mode: plan | apply. Plan mode sends no write request. Destructive and production-sensitive operations require an exact confirmation phrase. Payments and refunds use durable reservations before writing; ambiguous outcomes require reconciliation before retrying (see RELEASING.md). Payment records have a durable local idempotency store; application creation uses slug as a natural idempotency key; activation status-checks before callback.

Partner operations are not authorized merely because a caller reached the public MCP endpoint. The server first checks that the caller's Altegio user can see the requested application in the stated developer account, then uses that account's partner_system.token. Transport authentication headers are never accepted as tool arguments. The optional account.partner_token on account creation only binds an existing partner system; payload.partner_token is accepted only by the callback-validation helper. Both are treated as secrets. Tokens, API keys, passwords, authorization headers, and secret keys are recursively redacted from tool results; secret-bearing settings are forwarded without logging.

Configuration

ALTEGIO_PARTNER_TOKEN=bootstrap-partner-token
ALTEGIO_USER_TOKEN=optional-for-local-stdio
ALTEGIO_API_BASE=https://api.alteg.io/api/v1
ALTEGIO_APP_BASE=https://app.alteg.io
PORT=8094
INTEGRATIONS_HUB_MCP_STATE_DIR=.integrations-hub-mcp

The public platform route authenticates through Altegio OAuth/raw token and forwards the current user token as X-Altegio-User-Token. ALTEGIO_USER_TOKEN is only for a private local stdio process.

Media assets

The MCP does not generate logos, covers, screenshots, or videos. Generate or prepare those assets with a separate image/video tool, then include them in the full application update:

  • icon: pass a data:image/...;base64,... data URL to upload a new icon into Marketplace storage. Omit icon when the current icon should remain unchanged. Any other string is rejected by the schema: Biz.ERP stores the decoded bytes verbatim without validating them as an image, so round-tripping the hosted icon URL returned by a read silently replaces the icon with a corrupt file.

  • promo_materials with type: image: pass a base64 image data URL to upload a new image, or preserve an existing Marketplace-hosted image URL/path returned by the application read.

  • promo_materials with type: video: pass the video reference or URL. This application endpoint does not upload video bytes.

integrations_hub_update_application remains a full replacement. Read the application first and preserve the complete promo_materials list, because omitted materials are deleted. The MCP intentionally does not expose the unrelated generic multipart /image/upload route or provide general-purpose asset hosting.

Run locally

Use Node.js 26.13.0 and npm 12.2.2. Node.js 24.22.2 is also supported. The package has not been published to npm; run from a source checkout or build an installable tarball with npm pack.

npx --yes npm@12.2.2 ci --ignore-scripts
cp .env.example .env
# Set ALTEGIO_PARTNER_TOKEN in .env.
npm run build
npm run start:http

Health: GET http://localhost:8094/health. MCP Streamable HTTP: /mcp. For local stdio, set ALTEGIO_USER_TOKEN and run node dist/index.js. HTTP requires the authenticated caller token on each request and never uses the stdio token. Keep the HTTP backend behind your trusted authentication proxy; see SECURITY.md.

Local HTTP binds to 127.0.0.1; MCP_HTTP_HOST controls the bind address. MCP_HTTP_ALLOWED_HOSTS accepts comma-separated hostnames (default localhost,mcp.alteg.io); IP literals are accepted for private backend routing. MCP_HTTP_ALLOWED_ORIGINS is an exact comma-separated origin allowlist (default https://mcp.alteg.io,https://claude.ai,https://chatgpt.com). Requests without Origin are allowed; unlisted origins and hostnames are rejected before session creation. These checks do not authenticate a proxy.

The SDK v2 migration preserves the existing 2025-era protocol handshake; it does not enable the 2026 protocol. A credential-free library example runs with node examples/server.mjs after building.

Verification

npm run check
docker build -t altegio-integrations-hub-mcp .
docker run --rm --read-only --tmpfs /tmp --cap-drop=ALL --security-opt=no-new-privileges \
  -p 127.0.0.1:8094:8094 -v integrations-hub-state:/data \
  -e ALTEGIO_PARTNER_TOKEN=synthetic-smoke altegio-integrations-hub-mcp

Tests cover schemas/safety, agent feedback (schema, masking, rate limit, event shape, nudge), request-scoped authentication, upstream error normalization, the owner-only tool inventory, plan no-op behavior, application idempotency, normalized install payloads, Streamable HTTP initialization, and the SIGTERM shutdown (stop line, bounded drain).

The current contract/completeness review is docs/AUDIT-2026-09-19.md. The four dedicated iframe tools publish MCP output schemas; the remaining tool families still expose raw or lightly wrapped upstream output and are tracked as follow-up work in that audit.

Live mutation tests are intentionally not part of CI because they would create Marketplace state. Use the integrations_hub_safe_draft_rollout prompt against an approved test location.

Known platform limits

  • Normal partner API has no direct freeze/unfreeze command. Expiry freezes; a valid payment may unfreeze.

  • Saving entity-frame declarations never backfills existing installations; a location copies them at install time. The code gates are gone on Biz.ERP master and the declarations endpoint answers in production, but no entity tab has been confirmed in a production UI.

  • Entity frame URLs are origin-bound: redirects to a different origin break postMessage. Per-location limits are global across applications: employee 1, client 1, visit 5.

  • Developer entity frames (employee/client/visit) and internal sidebar frames (chat/waiting_list/task_tracker) are separate systems.

  • Chat through activation is usable but one effective chat slot exists per location, and chat_url only applies while the installation is pending: an active one rejects a repeat callback, so its panel is set through install_sidebar_frame (the sidebar application allowlist is gone in production).

  • The settings-iframe hand-off user_data is base64 JSON, not ciphertext; user_data_sign is its HMAC-SHA256 under the partner token, and salon_id beside it is unsigned.

  • An embedded surface cannot use cookies (cross-site iframe); carry the session in the rendered document and allow framing with CSP frame-ancestors.

  • New Marketplace installations copy the application's schedule webhook flag; existing installations retain their stored flags until updated. Schedule changes emit update events with empty data.

  • The location hooks POST replaces every URL and all event flags. The updated GET exposes actual per-URL settings, while legacy top-level flags still describe the first URL. Use the webhook resource and review the full plan before changing it; there is no owner delivery-log/replay/test API.

  • Lifecycle callback URLs must target the application's backend, not this OAuth-protected MCP endpoint.

Read docs/marketplace-internals.md before adding or changing operations. For applications that deliver code into the booking widget — analytics counters, tag managers, booking-form injections, and the dormant type='plugin' application class — read docs/widget-analytics-and-plugins.md. For surfaces rendered inside the ERP — the Settings tab, the journal sidebar panel, entity tabs, signing a person in without OAuth, and editing a live application card — read docs/embedded-surfaces.md.

HTTP sessions share MCP_HTTP_MAX_SESSIONS (default 384, including pending initializes) and expire after 30 idle minutes. Tune capacity against the container heap budget; the fleet uses 384 with 256 MiB of Node old-space. In-flight POST responses remain protected; an idle SSE stream alone does not keep a session alive. Expired IDs return 404 for client reinitialization, and new initialization at capacity returns 503 with Retry-After: 60. Shutdown closes the remaining transports after draining active requests.

Contributing and maintenance

The maintenance record documents the dependency choices and verification limits. See CONTRIBUTING.md, SECURITY.md, the code of conduct, CHANGELOG.md, and RELEASING.md. Distributed under the MIT license.

Available Tools

40 tools
marketplace_activate_installationC

Plan or perform step 2: activate a pending installation and configure entity webhooks/chat/tips/channels. Active state is treated idempotently.

Inputs: mode (required), settings (required), partner_id (required), location_id (required), +2 more.

marketplace_backoffice_delete_applicationB
Destructive

Delete an application and partner-linked entities through the internal backoffice API. Disabled by default and highly destructive.

Inputs: mode (required), application_id (required), confirmation.

marketplace_backoffice_delete_offerC
Destructive

Delete an internal Marketplace special offer. Internal API; disabled by default.

Inputs: mode (required), offer_id (required), confirmation.

marketplace_backoffice_get_applicationB
Read-onlyIdempotent

Read internal Marketplace backoffice data. This is not a public API and is disabled by default.

Inputs: application_id (required).

marketplace_backoffice_list_offersA
Read-onlyIdempotent

List internal Marketplace special offers. Internal API; disabled by default.

Inputs: no named parameters.

marketplace_backoffice_set_commercialsC

Plan or set internal commission/boost values. Internal API; disabled by default.

Inputs: mode (required), application_id (required), boost, commission, +1 more.

marketplace_backoffice_set_publicationB

Plan or set/clear the internal moderated_at publication timestamp. Internal API; disabled by default.

Inputs: mode (required), moderated_at (required), application_id (required), confirmation.

marketplace_backoffice_upsert_offerB

Plan or create/update an internal Marketplace special offer. Internal API; disabled by default.

Inputs: mode (required), offer (required), offer_id, confirmation.

marketplace_create_applicationC

Plan or create a draft Marketplace application. Creation is naturally idempotent by slug within the developer account.

Inputs: mode (required), partner_id (required), application (required).

marketplace_create_developer_accountB

Plan or create a developer account. Any partner token returned upstream is redacted from the tool response.

Inputs: mode (required), account (required).

marketplace_delete_developer_accountC
Destructive

Delete a developer account. This is destructive and may orphan its management workflow.

Inputs: mode (required), partner_id (required), confirmation.

marketplace_get_applicationB
Read-onlyIdempotent

Get one owned application by filtering the authoritative developer-account application list.

Inputs: partner_id (required), application_id (required).

marketplace_get_catalog_metadataA
Read-onlyIdempotent

Get current Marketplace categories, channels, functionalities, and the general country dictionary used by application/account country IDs.

Inputs: no named parameters.

marketplace_get_conversion_statisticsC
Read-onlyIdempotent

Get application and category-average Marketplace funnel conversion series.

Inputs: date_to (required), date_from (required), conversion (required), partner_id (required), +2 more.

marketplace_get_installation_statusB
Read-onlyIdempotent

Get status, payments, and status-transition log for an owned application at one location.

Inputs: partner_id (required), location_id (required), application_id (required).

marketplace_get_statisticsB
Read-onlyIdempotent

Get owned-application views, pending grants, activations, new payments, and uninstalls for a date range.

Inputs: date_to (required), date_from (required), partner_id (required), application_id (required).

marketplace_grant_location_accessA

Plan or perform step 1 of installation: location owner grants access, producing pending (or immediate active for eligible draft/private apps). Apply requires exact confirmation.

Inputs: mode (required), partner_id (required), location_id (required), application_id (required), +1 more.

marketplace_install_sidebar_frameC

Install or remove an internal chat/waiting_list/task_tracker sidebar frame. These types are distinct from developer employee/client/visit frames.

Inputs: url (required), mode (required), type (required), partner_id (required), +3 more.

marketplace_list_applicationsA
Read-onlyIdempotent

List applications in a developer account, including card configuration, permissions, system-user ID, short links, and moderation state. Secret fields are redacted.

Inputs: partner_id (required).

marketplace_list_available_rightsB
Read-onlyIdempotent

Return the current hierarchical permission dictionary available to Marketplace system users.

Inputs: partner_id (required).

marketplace_list_developer_accountsA
Read-onlyIdempotent

List developer accounts owned by the current Altegio user. Secret fields in partner-system metadata are redacted.

Inputs: no named parameters.

marketplace_list_entity_framesB
Read-onlyIdempotent

List declared employee/client/visit iframe definitions. Declarations are copied to a location only during a later application installation.

Inputs: partner_id (required), application_id (required).

marketplace_list_installationsC
Read-onlyIdempotent

List locations connected to an owned application, with bounded pagination.

Inputs: page (required), count (required), partner_id (required), application_id (required).

marketplace_list_reviewsB
Read-onlyIdempotent

List public reviews for a Marketplace application.

Inputs: page (required), application_id (required).

marketplace_list_tariffsB
Read-onlyIdempotent

List Marketplace billing tariffs and options for an owned application.

Inputs: partner_id (required), application_id (required).

marketplace_notify_chat_messageC

Signal a new chat message so Biz.ERP highlights the chat frame and may create notifications/leads according to location settings.

Inputs: mode (required), name (required), message (required), partner_id (required), +3 more.

marketplace_record_paymentB

Plan or record a successful external payment. This can unfreeze an installation. Requires a durable idempotency key and exact confirmation.

Inputs: mode (required), period_to (required), partner_id (required), location_id (required), +7 more.

marketplace_refund_paymentB
Destructive

Plan or report a Marketplace payment refund. Requires an exact confirmation phrase.

Inputs: mode (required), partner_id (required), payment_id (required), application_id (required), +1 more.

marketplace_replace_entity_framesA
Destructive

Plan or replace the full employee/client/visit declaration set. Omitted slugs are deleted. Existing installations are not updated or backfilled.

Inputs: mode (required), frames (required), partner_id (required), application_id (required), +1 more.

marketplace_save_moderation_instructionsC

Plan or save connection and payment instructions before submitting an application for moderation.

Inputs: mode (required), partner_id (required), application_id (required), connect_instruction (required), +1 more.

marketplace_set_discountC

Plan or set the Marketplace payment discount for selected locations.

Inputs: mode (required), discount (required), partner_id (required), location_ids (required), +2 more.

marketplace_set_sms_sender_namesC

Plan or publish 1-20 SMS sender names for a compatible installed application.

Inputs: mode (required), partner_id (required), location_id (required), short_names (required), +1 more.

marketplace_submit_for_moderationC

Plan or submit a fully configured application for Marketplace moderation.

Inputs: mode (required), partner_id (required), application_id (required), confirmation.

marketplace_toggle_sidebar_highlightB

Enable or clear the highlight on an already installed sidebar frame, optionally for one user.

Inputs: mode (required), type (required), is_enabled (required), partner_id (required), +3 more.

marketplace_uninstallB
Destructive

Plan or uninstall an application from a location. Requires an exact confirmation phrase.

Inputs: mode (required), partner_id (required), location_id (required), application_id (required), +1 more.

marketplace_update_applicationB
Destructive

Plan or replace the complete Marketplace card and technical settings. Apply requires exact confirmation because omitted collections are cleared.

Inputs: mode (required), partner_id (required), application (required), application_id (required), +1 more.

marketplace_update_developer_accountB

Plan or replace developer-account details. Send the complete current account payload.

Inputs: mode (required), account (required), partner_id (required).

marketplace_update_notification_channelC

Plan or update SMS/WhatsApp channel availability for a compatible installed application.

Inputs: mode (required), channel (required), partner_id (required), location_id (required), +2 more.

marketplace_validate_lifecycle_callbackB
Read-onlyIdempotent

Validate and normalize an uninstall/freeze/payment callback payload against the owned developer-account token without revealing it.

Inputs: payload (required), partner_id (required).

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 40 tools

    Disambiguation4/5

    Tools are mostly distinct by resource and action, with clear prefixes separating internal backoffice APIs from public ones. A few pairs like get_statistics vs get_conversion_statistics and grant_location_access vs activate_installation could be confused without reading descriptions, but overall boundaries are clear given the detailed descriptions.

    Naming Consistency5/5

    All tools use snake_case with a consistent verb_noun pattern and predictable marketplace_ or marketplace_backoffice_ prefixes. There are no deviations in style or convention.

    Tool Count2/5

    40 tools is well above the suggested 3-15 range and feels heavy for the scope, even though the marketplace domain is complex. The fine-grained lifecycle operations increase cognitive load and may lead to selection errors.

    Completeness4/5

    The surface covers developer accounts, applications, installations, payments, moderation, frames, notifications, and statistics comprehensively. Minor gaps exist, such as no public delete_application (only backoffice) and no standalone payment listing, but core workflows are supported.

    Related MCP Connectors

    Related MCP Servers