Oblive Docs
Extend Integrations

Add a Managed MCP

Register a reviewed provider-hosted MCP across the catalog, trusted runtime, policy, tests, and release flow.

Use this path for a reviewed MCP provider that should appear automatically in organization Integrations through a stable public Streamable HTTP endpoint. When Oblive owns the integration and the vendor has a stable API, use a fixed Direct Backend API Provider. Do not treat stdio as a subprocess sandbox for organization credentials.

1. Review the Provider

Confirm:

  • the official HTTPS endpoint;
  • authentication placement or advertised OAuth metadata;
  • provider-owned documentation and icon URLs;
  • tool discovery behavior;
  • read-only annotations;
  • which tools are safe to expose;
  • startup and tool timeout needs;
  • redirects and server-side job behavior; and
  • which departments should receive the capability.

Choose explicit enabled tools when annotations are incomplete or future provider tools should not be enabled automatically.

The provider-neutral gateway accepts at most 64 KiB of description text, 150 KiB per input schema, 150 KiB for the complete serialized tool definition, and 1 MiB for the aggregate inventory. These ceilings apply to every hosted and backend-owned provider. Do not add a provider exception; narrow the upstream inventory or build a fixed direct API provider when a vendor cannot stay within the shared contract.

For PostHog, createIntegrationMcpClient requests exact saved tool names for runtime operations, connection checks and action preparation. It removes features because PostHog combines the features and tools filters as a union. discoverIntegrationTools explicitly requests the available feature inventory so owners can still discover unselected tools. Empty setup selections also retain feature discovery. Every path keeps the same byte ceilings, project header, read-only endpoint and downstream authorization checks. Broad owner discovery can still exceed its limit even when a saved runtime selection works.

The shared connection contract owns default selection behavior. New connections default to ask_user_on_write; GA4, Upstash, MongoDB, Strapi, and Plausible stay read_only. Connection materializes all tools currently eligible for the saved mode. A mode-only update materializes all current tools for the target mode. An explicit enabledTools list takes precedence, while a same-mode reconnect preserves an existing non-empty narrowing. Empty discovery is persisted as needs_tools rather than discarding a valid credential. Never implement these transitions inside an individual provider.

An exact readOnlyUrl in the trusted runtime is a separate code-owned guarantee. When the current access mode resolves to that provider-enforced endpoint, Oblive classifies every returned tool as read-only because the endpoint has already removed write tools. The ordinary endpoint used by Ask before writes and Autonomous still uses provider or reviewed annotations and fails closed when they are incomplete. GitHub’s official /readonly endpoint is the reference pattern.

For an exact official hosted MCP origin, readOnlyHint: true is sufficient; the MCP specification defines destructiveHint only for non-read-only tools. Custom remote MCP annotations are not a trust boundary. The owner reviews each custom tool as read or write, pinned to its discovered contract. Reviewed reads remain reads in every connection mode; writes use durable actions and require a write-capable mode. Contract changes require a fresh review before another provider call.

2. Add the Catalog Entry

Edit packages/agent-packs/catalog/catalog.json with:

  • unique kebab-case key;
  • kind: "mcp";
  • name and business-facing description;
  • provider website, MCP documentation, and direct HTTPS icon;
  • concise Markdown setup instructions;
  • existing typed categories and department tags;
  • explicit profile grants, and optionally readOnlyProfileGrants: granted profiles that start read-only when the integration is first created (owners can change this later, and catalog sync never overwrites it);
  • authentication contract;
  • reviewed runtime key; and
  • explicit or annotation-based tool policy.

Catalog setup instructions are for people. Put deterministic agent operating workflow in a separate Git-authored skill.

3. Register the Trusted Runtime

Edit packages/types/src/index.ts:

  1. Add the runtime key to EManagedIntegrationRuntimeKey.
  2. Add the matching managedIntegrationRuntimes definition.
  3. Select streamable_http with a fixed public HTTPS URL. The catalog and organization row may never supply a command, package, path, argument, or environment variable.
  4. Define exact Bearer/header placement or the shared MCP OAuth provider.
  5. Keep organization credentials in the existing encrypted credential store and accept them only through the write-only connection flow; deployment-owned OAuth clients remain environment-backed.
  6. Set stable server name and bounded startup/tool timeouts.
  7. Mirror authentication and tool policy exactly with the catalog.

Do not use organization data to provide the executable endpoint for a managed provider.

Tally Forms

Tally uses its official hosted MCP at https://api.tally.so/mcp, with dynamic OAuth registration, PKCE and the shared encrypted credential lifecycle. Its OAuth metadata advertises only mcp; both local access modes request that scope. Oblive enforces read-only versus write permission locally. The default remains ask-before-write.

The catalog grants Growth, Engineering, Support, Chat and Operator access. Operator retains its platform-wide read-only policy. The connected identity determines upstream workspace/form access; there is no form selector or Tally-specific settings requirement.

All 26 reviewed native tools are registered:

  • Reads: extract_brand, fetch_insights, fetch_submissions, inspect_custom_css, list_blocks, list_forms, list_workspaces, load_form, search_documentation.
  • Additive writes: create_blocks, create_new_form.
  • Overwriting, removal or publishing writes: apply_logic, configure_blocks, move_blocks, publish_form, remove_blocks, remove_pages, remove_questions, reposition_pages, reposition_questions, set_column_layout, set_form_title, update_custom_css, update_settings, update_styling, update_text.

All writes use the existing durable action lifecycle. New forms are drafts; publishing is a separate action. Settings and styling can affect live forms immediately. Agents pass explicit form IDs on every call instead of depending on session state. A zero-required-argument read such as list_forms supports the shared connection check. fetch_insights is available on demand; the catalog remains lifecycle-only and installs no historical analytics collector.

The reviewed fixture records names and risk classifications from official Tally connector declarations, not a captured authenticated hosted-server schema. The live canary checks inventory parity, the shared schema/response limits, and a one-form read. Supply a valid short-lived test account access token through TALLY_MCP_CANARY_ACCESS_TOKEN and run:

bun test apps/backend/tests/services/tally-mcp.canary.test.ts

The canary makes no writes and does not exercise OAuth login or refresh. Before release, complete an actual OAuth connect/refresh/reconnect/disconnect journey and create, edit and publish a disposable form. Exercise logic, layout, CSS, removals, submissions and plan-dependent insights; confirm schemas and ledger output work without separate MCP resource reads. Record those results separately from the mocked OAuth/transport tests. Unknown new tools remain unavailable pending review; inventory checks do not detect every semantic change to an existing tool.

MailerLite

MailerLite uses the official hosted MCP at https://mcp.mailerlite.com/mcp. Dynamic OAuth registration, PKCE, encrypted credentials, and refresh use the shared runtime. Its public metadata advertises no named OAuth scopes, so both local modes omit scope. Oblive enforces read-only and write approval locally.

All departments and Chat can use all 87 reviewed native tools; Operator remains read-only. The inventory reconciles the overview with the changelog through v4.14.0, including ten added tools and the renamed validate_email_content and validate_subject_lines. This is a documented inventory, not a captured authenticated schema. Local annotations classify 38 reads, 7 additive writes, and 42 high-impact writes; unknown tools remain unavailable pending review.

The connector includes native campaign, subscriber, group, segment, form, field, automation, webhook, reporting, and e-commerce tools. It adds no custom tool or REST adapter. Campaign scheduling and test automation sends can deliver email. Subscriber imports/group changes can trigger automations. Batch requests, webhook creation, and all e-commerce management tools stay write-classified; read_ecommerce_data provides the separate read path.

Connection checks use get_subscriber_count only when it is enabled and eligible. Auth-status and static help responses do not count as account data verification. If the count tool is disabled, operation health is checked when tools are actually used. MailerLite success: false read results are recorded as unavailable. The catalog is lifecycle-only; native reports are available on demand, without historical collection or an inbound webhook handler.

The reviewed names and risk fixture lives in apps/backend/tests/fixtures/mailerlite. To compare it with authenticated discovery and perform an account count read, supply a valid short-lived OAuth access token through MAILERLITE_MCP_CANARY_ACCESS_TOKEN and run:

bun test apps/backend/tests/services/mailerlite-mcp.canary.test.ts

The canary performs no writes and does not test OAuth login or refresh. Before release, verify connect/refresh/reconnect/disconnect and create/update/read back a disposable draft campaign. Separately verify approved sends with an explicit test audience, subscriber/group changes, automation changes, and provider-plan-dependent capabilities. Mocked tests do not establish live schema parity or successful email delivery.

HelpKit

HelpKit uses its hosted MCP server at https://connect.helpkit.so/mcp. Dynamic OAuth registration and PKCE use the shared client. The server advertises the mcp scope and only the authorization_code grant, so HelpKit registers without refresh_token. A confirmed MCP OAuth transport 401 asks the owner to reconnect. Other providers retain the prior two-grant default.

The reviewed public documentation names 25 native tools: 11 reads and 14 consequential writes. This is a documented inventory, not an authenticated schema capture. All departments and Chat may use selected tools; Operator remains read-only. Unknown tools are hidden until reviewed. Provider arguments and pagination pass through the existing MCP transport, and writes use the existing action approval policy. There is no REST or Notion adapter.

The selected, no-argument list_projects read verifies account data during connection checks when the live schema permits it. get_setup_status and discovery alone do not. HelpKit owns Notion root sharing. Draft creation needs the Notion grant. For live edits, publication, archiving, and sync, the project owner must also enable HelpKit’s write and sync access. Publishing does not make an article live until sync. notion_prepare_media_upload is only preparation; Oblive does not automatically upload bytes or claim media completion. Native analytics are on demand; there is no retained collection.

The reviewed names and risks are in apps/backend/tests/fixtures/helpkit. A live read canary is optional and requires a valid OAuth access token in HELPKIT_MCP_CANARY_ACCESS_TOKEN. Mocked tests cover code-only registration, callback persistence, transport reconnect, and native MCP calls; they do not prove live schema parity or successful publication.

bun test apps/backend/tests/services/helpkit-mcp.canary.test.ts

Before release, complete an authenticated OAuth connect and read journey, then approve a write on a disposable HelpKit project and verify its provider status and visible result.

Hosted Providers Without Tool Annotations

Crisp is the reference pattern for a hosted server that marks no tool as read-only. Its runtime pins https://api.crisp.chat/mcp/, Bearer authentication, a 20-second startup timeout, and a 120-second tool timeout. The catalog and trusted runtime freeze the same 41-tool allowlist, reviewed against Crisp MCP server 2.0.0 on October 13, 2026, and reviewedToolAnnotations labels every tool:

  • 26 reviewed reads: get_website_information, get_website_settings, get_availability_status, list_operators, list_operators_active, get_visitors_count, list_visitors, list_inboxes, list_latest_conversations, list_conversations_at_page, search_conversations, get_conversation, list_latest_conversation_messages, list_people_profiles_at_page, search_people_profiles, get_people_profile, list_people_conversations, get_helpdesk_information, get_helpdesk_settings, list_helpdesk_locales, list_helpdesk_pages, list_helpdesk_tree, search_helpdesk_tree, get_helpdesk_tree_path_content, get_helpdesk_tree_path_title, and get_helpdesk_tree_path_metadata;
  • 13 destructive writes (customer-visible messages, conversation and contact overwrites, inbox moves, and Knowledge Base edits and deletion): send_conversation_message_text, set_conversation_full_name, set_conversation_email, set_conversation_phone, change_conversation_state, move_conversation_inbox, update_people_profile_full_name, update_people_profile_email, update_people_profile_phone, update_people_profile_segments, update_helpdesk_tree_path_content, update_helpdesk_tree_path_title, and delete_helpdesk_tree_path;
  • 2 non-destructive writes: send_conversation_message_note and create_helpdesk_tree_path.

Overlay the reviewed annotations after discovery, before organization selection and gateway policy are evaluated. Any discovered name outside the frozen allowlist is denied. report_feedback_missing_tool is deliberately excluded.

tests/fixtures/crisp/reviewed-tools.fixture.json records each reviewed tool’s risk, the excluded tools and the reviewed server version. The live canary (crisp-mcp.canary.test.ts, run with CRISP_MCP_CANARY_TOKEN) fails when Crisp’s inventory differs from it.

Crisp 2.0.0 renamed every tool except get_website_settings without an alias period. Migration 20261013100000_crisp-mcp-v2-tools converts saved selections, mapping each old tool to every 2.0 tool for the same capability. New capabilities are never selected by a migration.

Providers That Bundle Operations

Netlify is the reference pattern for a hosted server that bundles several operations into each tool through an argument such as selectSchema.operation. Whole-tool allowlists cannot separate a safe read from a secret-bearing or destructive operation in the same tool. Add an exact per-operation allowlist in a backend helper and wire it into guardIntegrationToolProvider: it removes unreviewed operations from listed input schemas, drops tools with nothing left, and rejects any other operation before the provider is called. Operations the provider adds later stay hidden and blocked until reviewed.

Operation review is not resource authorization. Netlify also stores owner-selected sites in typed netlify settings, requires every customer-resource operation to name a selected siteId, and rejects ID parameters that are not plain identifiers because the server interpolates them into API paths. Operations that cannot name one selected site, such as listing every site or creating one, are removed. The same check runs again when a queued write is prepared, and an empty selection grants nothing.

Resource Selection for Hosted Servers

A reviewed tool allowlist does not limit which customer resources a token can reach. When one credential can see several projects, store the owner’s selection in typed settings, make readiness require at least one selected resource, and check every call in guardIntegrationToolProvider and again when a queued write is prepared. An empty selection grants nothing.

Railway is the reference pattern when tools take a parent ID plus child IDs and the hosted server’s own checks can’t be confirmed. Each call must name a selected projectId. Every child ID is then looked up in that project with a reviewed read whose published output schema lists it, such as list-services for services and environments. A failed lookup or a response that doesn’t match the schema blocks the call. Tools that list every resource or create new ones are removed, and the selected resources appear in the agent’s integration context instead.

Standards-Based MCP OAuth

Use the shared provider: "mcp" path when the hosted server advertises OAuth discovery metadata. The installed MCP SDK owns protected-resource and authorization-server discovery, dynamic client registration, PKCE, code exchange, and token refresh. The integration runtime supplies only the exact scopes for Read-only and the two write-capable permission modes.

Resolve the callback by runtime: a provider-specific deployment callback takes precedence, while other runtimes retain the generic MCP callback. Persist the selected callback in the one-use state and reuse it for code exchange so a configuration change cannot split one authorization attempt across two redirect URIs.

Persist one typed encrypted credential containing client information, tokens, and cached discovery state. Rotated tokens use a compare-and-swap credential update so a refresh cannot overwrite a human reconnect or disconnect, and token rotation must not invalidate otherwise active sessions. Human-driven connection changes continue through the normal authorization-invalidating update. Disconnect clears the local credential even when provider revocation is unavailable or fails.

Do not add provider classes, separate OAuth tables, agent-side tokens, or a second provider registry. Provider-specific code belongs only where the standard metadata or product presentation cannot express the requirement.

4. Add a Provider Skill When Needed

Add a skill when the provider requires a repeatable workflow, bounded pagination, continuation IDs, or non-obvious verification. Grant it only to profiles that own those operations.

5. Test

Cover:

  • unique catalog/runtime keys;
  • matching kind, authentication, and policy;
  • profile-grant validity;
  • exact credential header placement;
  • exact scopes and OAuth callback behavior when applicable;
  • credentials never appearing in URLs;
  • tool allowlist and access-mode intersection;
  • first-connect, same-mode reconnect, mode-change, explicit-list, and zero-tool selection behavior;
  • provider discovery failures;
  • enable, disable, rotation, and cleanup; and
  • cross-organization credential isolation; and
  • token refresh compare-and-swap behavior and best-effort revocation for OAuth providers.

6. Publish and Verify

bun run --cwd apps/backend agent-packs:sync
bun test packages/agent-packs apps/backend apps/agents apps/frontend
bun run typecheck
bun run check

Restart the backend so catalog reconciliation runs before HTTP and jobs. Connect the provider in a test organization and verify setup rendering, icon fallback, links, discovery, tool narrowing, read-only behavior, full-access action policy, rotation, disabling, and run-local cleanup.

Documentation Impact

Add or update:

  • the operator provider guide;
  • setup prerequisites and credential instructions;
  • this developer workflow if the contract changes;
  • backend OpenAPI when endpoints or payloads change; and
  • agent skill references when usage changes.