FlwKit
Integrations

MCP server

Connect Claude, Codex, and other MCP clients to FlwKit at mcp.flwkit.com and manage apps, flows, screens, blocks, experiments, analytics, and templates.

Overview

FlwKit provides a hosted MCP server at https://mcp.flwkit.com/mcp.

This server lets AI coding agents and assistants use FlwKit tools to:

  • Manage apps and API keys
  • Create and update onboarding flows
  • Manage screens and blocks
  • Run and publish A/B tests
  • Read analytics and user journeys
  • Create flows from templates

Prerequisites

You need:

  • A FlwKit account
  • A FlwKit app in your dashboard
  • Your app-specific FlwKit API key

Use your own app API key from FlwKit dashboard. The hosted MCP server does not store a global key for all users.

Server details

  • Base URL: https://mcp.flwkit.com
  • MCP endpoint: https://mcp.flwkit.com/mcp
  • Health endpoint: https://mcp.flwkit.com/health

Authentication headers supported:

  • Authorization: Bearer <your_flwkit_api_key>
  • x-flwkit-api-key: <your_flwkit_api_key>

Setup with Claude Code

Add the server:

claude mcp add --transport http flwkit https://mcp.flwkit.com/mcp --header "Authorization: Bearer <YOUR_FLWKIT_API_KEY>"

Verify:

claude mcp list
claude mcp get flwkit

Remove:

claude mcp remove flwkit

Setup with Codex CLI

Export your key:

export FLWKIT_API_KEY="<YOUR_FLWKIT_API_KEY>"

Add the server:

codex mcp add flwkit --url https://mcp.flwkit.com/mcp --bearer-token-env-var FLWKIT_API_KEY

Verify:

codex mcp list
codex mcp get flwkit

Remove:

codex mcp remove flwkit

Setup with other MCP clients

Any client that supports streamable HTTP MCP can connect with:

  • URL: https://mcp.flwkit.com/mcp
  • Header: Authorization: Bearer <YOUR_FLWKIT_API_KEY>

If your client does not support Authorization, use:

  • Header: x-flwkit-api-key: <YOUR_FLWKIT_API_KEY>

First-use workflow

Use this sequence to avoid ID lookup issues:

  1. Run list_apps or get_app
  2. Run list_flows
  3. Run list_screens for a flow
  4. Run list_blocks for a screen
  5. Create or update resources using returned IDs

Tool reference

FlwKit MCP currently exposes 37 tools.

Apps (7)

ToolRequired inputWhat it does
list_appsnoneLists apps available to the API key
get_appnoneReturns current app details
create_appnameCreates a new app
update_appnoneUpdates current app fields (name, description, iconUrl)
delete_appnoneDeletes current app permanently
get_app_api_keynoneReturns current app API key
get_app_usagenoneReturns plan usage and limits

Flows (8)

ToolRequired inputWhat it does
list_flowsnoneLists flows in current app
get_flowflowIdGets one flow
create_flowname, keyCreates a flow
update_flowflowIdUpdates flow fields
delete_flowflowIdDeletes a flow permanently
duplicate_flowflowIdClones a flow
list_flow_versionsflowIdLists flow versions
publish_flow_versionflowId, versionIdPublishes a specific version

Screens (5)

ToolRequired inputWhat it does
list_screensflowIdLists screens in order
create_screenflowId, nameAdds a screen to a flow
update_screenscreenIdUpdates screen name or position
delete_screenscreenIdDeletes a screen
reorder_screensflowId, screenIdsReorders all screens

Blocks (5)

ToolRequired inputWhat it does
list_blocksscreenIdLists blocks in order
add_blockscreenId, type, propertiesAdds a block
update_blockblockIdUpdates properties or position
delete_blockblockIdDeletes a block
reorder_blocksscreenId, blockIdsReorders all blocks

Supported block types:

header, description, media, cta, choice, text_input, benefits_list, testimonial, progress_bar, spacer, footer, notification_permission, health_permission, tracking_permission, camera_permission, location_permission, microphone_permission, photo_library_permission, processing_animation, comparison_table, swipe_cards

Experiments (6)

ToolRequired inputWhat it does
list_ab_testsnoneLists A/B tests
get_ab_testtestIdGets A/B test details
create_ab_testname, flowId, variantsCreates A/B test
update_ab_testtestIdUpdates test fields
publish_ab_testtestIdPublishes draft test
delete_ab_testtestIdDeletes test permanently

Analytics (4)

ToolRequired inputWhat it does
get_analytics_summarynoneApp-level summary metrics
get_flow_analyticsflowIdFlow completion and per-screen metrics
get_screen_analyticsflowId, screenIdSingle-screen analytics
get_flow_journeysflowIdUser path journeys through a flow

Templates (2)

ToolRequired inputWhat it does
list_templatesnoneLists system/custom templates (filter optional)
create_flow_from_templatetemplateIdCreates a new flow from template

Common usage examples

Build a flow from scratch

  1. create_flow
  2. create_screen
  3. add_block (repeat for each block)
  4. list_flow_versions
  5. publish_flow_version

Reorder onboarding pages

  1. list_screens to get IDs
  2. reorder_screens with all IDs in desired order

Add permission and interactive blocks

  1. add_block with notification_permission or location_permission
  2. add_block with swipe_cards
  3. update_block to refine text and behavior

Monitor conversion

  1. get_analytics_summary
  2. get_flow_analytics
  3. get_screen_analytics
  4. get_flow_journeys

Error handling and troubleshooting

401 Missing API key

Cause: no auth header was sent.

Fix: send either:

  • Authorization: Bearer <YOUR_FLWKIT_API_KEY>
  • x-flwkit-api-key: <YOUR_FLWKIT_API_KEY>

403 Forbidden

Cause: API key does not have access to the requested resource.

Fix: verify you are using the correct app API key.

404 Not found

Cause: ID is invalid or not accessible with your key.

Fix: list resources first (list_flows, list_screens, list_blocks) and reuse returned IDs.

Validation errors

Cause: missing required fields or invalid payload shape.

Fix: check required inputs in this doc and pass values in correct formats.

Security best practices

  • Keep API keys in environment variables or secret managers
  • Never commit API keys to git
  • Use separate keys per app/environment
  • Rotate keys immediately if exposed