Unleash MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Unleash MCP or direct API to list feature flags, manage projects, configure environments, and control rollouts through natural language.

Unleash logoUnleash
Api Key

Unleash is a feature management platform for creating and governing feature flags. It helps teams control releases safely across projects and environments.

297 Tools

Try Unleash now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Unleash
Try asking
TOOLS

Supported Tools

Every Unleash action and event your agent gets out of the box.

Configure project access

Configure project access for groups and single users.

This endpoint will add a comment to a change request

This endpoint will add a comment to a change request for the user making the request.

Set environment-default strategy

Sets a default strategy for this environment.

Add environments to a project

Sequentially associate multiple environments with one project after rejecting duplicates and existing associations.

Add an environment to a project

Associate one existing environment with a project, optionally configure change requests, and optionally create the default activation strategy used when enabling feature flags in that project environment.

Add feature dependencies

Add multiple parent dependencies to one child feature flag in order.

Add a feature dependency

Add a dependency to a parent feature.

Add Feature Strategy

Add one activation strategy configuration to a feature flag in an environment.

Add a release plan

Adds a release plan to a specific feature flag and environment.

Add and remove tags across features

Add and remove the supplied tags on every listed feature in a project, creating added tags when needed.

Approve a user access request

Approves a pending user access request, creating a new user with the specified role.

Archive Feature

Archive a feature flag in a project.

Archives a list of features

This endpoint archives the specified features.

Archive a release template

Archives a global release template or a template scoped to one project.

Create or update a milestone progression

Creates or updates a milestone progression by source milestone ID.

Change your own password

Immediately replaces the connected user's password after verifying the old password and confirmation.

Move feature to project

Moves the specified feature to the new project in the request schema.

Create/Add change to a change request

Add one or more typed changes to the caller's existing draft change request for the project environment, or create a draft when none exists.

Change password for a user

Immediately replaces a user's password as an administrator.

Check dependencies exist

Check if any dependencies exist in this Unleash instance

Validates the Unleash license

Check the current Enterprise license and return whether it is valid, along with any provider status message and its info, warning, or error severity.

Clones an environment

Given an existing environment name and a set of options, this will create a copy of that environment

Clone a feature flag

Creates a copy of the specified feature flag.

[BETA] Create an action set

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

Create a new addon

Create an external event integration.

Create API token

Create a backend, frontend, or deprecated client API token with optional project, environment, and expiry restrictions.

Create an application to connect reported metrics

Create an application record with its loaded activation strategies and optional URL, color, and icon metadata.

Create a banner

Creates a new banner.

Create Context Field

Create a root context field or a project context field.

Creates a new environment

Uses the details provided in the payload to create a new environment

Create Feature

Create a feature flag in a project without enabling it in any environment.

Create a feature link

Create a new link for a feature.

Create a new group

Creates an Enterprise user group for role-based access control, with optional SSO mappings, predefined root role, and initial user membership.

Create a new personal access token (PAT) for the current user

Creates a new [personal access token](https://docs.

Create project

Create a new [Unleash project](https://docs.

Create a project API token

Create an API token scoped to the specified project.

Create a public signup token

Lets administrators create a invite link to share with colleagues.

Create a release template

Creates and returns a release template with its name, optional nullable description, and optional milestone configuration.

Create a new role

Create a new custom role for Role-Based Access Control.

Create Segment

Create a reusable segment from a name and complete constraint list.

Create a service account

Creates a new service account.

Create a token for a service account

Creates a new token for the service account identified by the id.

[BETA] Create a signal endpoint

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

[BETA] Create a signal endpoint token for a specific signal endpoint

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

Create a strategy

Creates a custom strategy type based on the supplied data.

Create a new tag

Create a new tag with the specified data.

Create a tag type

Create a new tag type.

Create a new user

Creates a new user with the given root role.

[BETA] Delete an action set

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

Delete an addon

Delete the addon specified by the ID in the request path.

Delete an application

Delete the application specified in the request URL.

Delete a banner

Deletes an existing banner identified by its id.

Discards a change from a change request by change id

This endpoint will discard one change from a change request if it matches the provided id.

Deletes a change request by id

This endpoint will delete one change request if it matches the provided id.

Delete Context Field

Permanently delete a root or project context field without removing its existing use in strategy configuration.

Delete Context Field Legal Value

Permanently delete a legal value from a root or project context field without removing its existing use in constraints.

Delete an environment

Delete an environment identified by name.

Deletes an archived feature

Permanently this endpoint deletes the specified feature if it is archived.

Delete feature dependencies

Remove all parent feature dependencies from one child feature flag.

Delete a feature dependency

Remove one named parent feature dependency from a child feature flag.

Delete a feature link

Delete a feature link by id.

Deletes a list of features

Permanently this endpoint deletes the specified features, that are in archive.

Delete Feature Strategy

Permanently delete one activation strategy instance from a feature flag in an environment.

Delete a single group

Delete a single user group by group id.

Delete impact metric configuration

Permanently delete one impact metric chart configuration by config_id from the instance-level collection or from one feature flag.

Deletes inactive users

Deletes only the explicitly supplied IDs of users who have not logged in during the last 180 days.

Delete a milestone progression

Deletes an existing milestone progression by source milestone ID.

Delete a personal access token (PAT) for the current user

Permanently and immediately revoke one personal access token belonging to the current user by its numeric PAT ID.

Delete project

Permanently delete the provided project.

Delete a release plan

Delete a release plan from a specific feature flag and environment.

Delete a release template

Permanently deletes a global release template or a template scoped to one project.

Delete a custom role

Delete a custom role by id.

Delete safeguard

Permanently delete one safeguard by safeguard_id from a feature environment or from one release plan.

Delete all SCIM groups

Deletes all groups managed by SCIM.

Delete all SCIM users

Deletes all users managed by SCIM.

Delete Segment

Permanently delete a segment by numeric ID.

Delete a service account

Deletes an existing service account identified by its id.

Delete a token for a service account

Permanently and immediately revoke one service account token by service account ID and token ID.

[BETA] Delete a signal endpoint

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

[BETA] Delete a signal endpoint token

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

Delete a strategy

Deletes the specified strategy definition

Delete a tag

Delete a tag by type and value.

Delete a tag type

Deletes a tag type.

Delete a user

Deletes the user with the given userId.

[BETA] Disconnect all clients

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

Export feature flags from an environment

Export feature flag configuration from one environment, selecting by exactly one of feature names, tag, or project.

Generates a new SCIM API token

Generates a new SCIM API token.

Gets access overview

Gets an overview of what access all users have to all projects and groups.

Get the number of change requests you can do something with

Returns the number of change requests in this project that your user can move into the next stage by approving or applying them.

Get a specific addon

Retrieve information about the addon whose ID matches the ID in the request URL.

Get total count of admin accounts

Get a total count of admins with password, without password and admin service accounts.

Batch evaluate an Unleash context against a set of environments and projects

Use the provided `context`, `environments`, and `projects` to evaluate toggles on this Unleash instance.

Get application data

Returns data about the specified application (`appName`).

Get application environment instances (Last 24h)

Returns an overview of the instances for the given `appName` and `environment` that have received traffic in the last 24 hours.

Get application overview

Return an application's projects, feature count, environment and SDK activity, and missing-feature, outdated-SDK, or missing-strategy issues.

Get basic user and group information

Get a subset of user and group information eligible even for non-admin users.

Retrieves one change request by id

This endpoint will retrieve one change request if it matches the provided id.

Evaluate an Unleash context against a change request preview

Use the provided `context` to evaluate toggles on this Unleash instance with a change request applied in preview mode.

Retrieves number of project change requests in each state

This endpoint will retrieve the number of project change requests that are: approved, applied, rejected, scheduled or awaiting review

[BETA] Get aggregated metered connections for a given time period

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

Get Context Field

Get one root or project context field by name.

Get Detailed Invoices

Return detailed Enterprise billing data: plan price and currency plus invoice dates, totals, tax, status, invoice links, primary package or seat line items, and usage, consumption, or overage line items.

Get the environment with `name`

Retrieves the environment with `name` if it exists in this Unleash instance

Get variants for a feature in an environment

Returns the variants for a feature in a specific environment.

Get the external impact-metrics source

Returns the current configuration of the external impact-metrics source (any Prometheus-compatible endpoint).

Get Feature

Get one feature flag with its metadata, lifecycle, dependencies, tags, environment enablement, and strategy configurations.

Get Feature Environment

Get a feature flag's enablement state, complete strategy configurations, variants, release plans, and safeguards in one environment.

Get feature lifecycle

Return the selected feature flag's lifecycle history, including each recorded stage, when the feature entered it, and any detailed stage status.

Get feature flag strategies

Get strategies defined for a feature flag in the specified environment.

Get a strategy configuration

Get a strategy configuration for an environment in a feature flag.

Last hour of usage and a list of applications that have reported seeing this feature flag

Separate counts for yes (enabled), no (disabled), as well as how many times each variant was selected during the last hour

Get a single group

Get a single user group by group id.

Instance usage statistics

Provides statistics about various features of Unleash to allow for reporting of usage for self-hosted customers.

Instance usage statistics

Download a CSV file of self-hosted instance usage statistics, including counts and version data for users, groups, feature flags, and strategies.

Get instance information

Gets high level information about the usage of this Unleash instance, including user, project, and flag information.

Get licensed user statistics

Return the available seat count, current license usage, and monthly licensed-user count history for this Unleash instance.

Get lifecycle trends

Gets lifecycle trends information showing feature flag progression across development, production, and cleanup stages.

Get maintenance mode status

Tells you whether maintenance mode is enabled or disabled

Get your own user details

Detailed information about the current user, user permissions and user feedback.

Get OIDC auth settings

Returns the current settings for OIDC Authentication.

Retrieves pending change requests in configured environments

This endpoint will retrieve the pending change requests in the configured environments for the project, for the current user performing the request.

Get Plausible analytics data

Fetches analytics data from Plausible API for favorite events over the last 7 days.

Get your own user profile

Detailed information about the current user root role and project membership.

Get users and groups in project

Get all groups, users and their roles, and available roles for the given project.

Get api tokens for project

Returns the project-specific [API tokens](https://docs.

Retrieves change request configuration for a project

Given a projectId, this endpoint will retrieve change request configuration for the project

Get an overview of a project

This endpoint returns an overview of the specified projects stats, project health, number of members, which environments are configured, and the features types in the project.

Get project status

This endpoint returns information on the status the project, including activities, health, resources, and aggregated flag lifecycle data.

Get feature metrics

Get usage metrics for a specific feature for the last 48 hours, grouped by hour

Get a release template

Returns a global release template or a template scoped to one project.

Get remote MCP server settings

Returns the current settings for the remote MCP server.

[BETA] Get aggregated metered requests for a given time period

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

Gets usage data

Gets usage data per app/endpoint from a prometheus compatible metrics endpoint

Get a single role

Get a single role by role id.

Get project-role mappings

For the provided role, retrieves a list of projects that use this role.

Get SAML auth settings

Returns the current settings for SAML authentication.

Get scheduled change requests matching a query

List scheduled change requests that touch the supplied feature flag name or activation strategy ID.

Get SCIM settings

Returns the current settings for SCIM provisioning.

Get Segment

Get one reusable segment and its complete constraint definition by numeric ID.

Returns the list of permissions for the service account

Gets a list of permissions for a service account.

Get Simple auth settings

Is simple authentication (username/password) enabled for this server.

Get strategies that use a context field

Retrieves strategies using a root context field or a project context field.

Get a strategy definition

Retrieves the definition of the strategy specified in the URL

Get a tag by type and value

Get a tag by type and value.

Get a tag type

Get a tag type by name.

Get telemetry settings

Provides the configured settings for [telemetry information collection](https://docs.

Get aggregated traffic data for a given time period

Gets traffic usage data for the selected period, either aggregated by day or by month.

Get user

Will return a single user by id.

Import feature flags

Import exported JSON feature flag configuration into the target project and environment.

[BETA] List events for an action set

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

[BETA] List action sets

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

Get all addons and providers

Retrieve all addons and providers that are defined on this Unleash instance.

Get all environments

Retrieves all environments that exist in this Unleash instance.

Get all feature types

Retrieves all feature types that exist in this Unleash instance, along with their descriptions and lifetimes.

List API tokens

Retrieves all API tokens that exist in the Unleash instance.

List API tokens by name

Retrieves all API tokens that match a given token name.

Get all applications

Returns one page of applications across the Unleash instance or for one project, with a route-bound cursor for continuation.

List available change request reviewers

List users who are available to review or approve a change request in the specified project environment.

List available impact metrics

Returns all available impact metrics and their metadata.

Get all banners

Returns a list of all configured banners.

List requested change request reviewers

Get the users currently requested to review a change request.

List change requests for a project

This endpoint will retrieve all change requests regardless of status for a given project.

List Context Fields

List configured root context fields or project context fields.

Get a list of all users that have created events

Returns a list of all users that have created events in the system.

Get all features lifecycle stage count

Return instance-wide feature flag counts grouped into the initial, pre-live, live, completed, and archived lifecycle stages.

List Features

List every feature flag in one project with its high-level state in each environment.

Get all tags for a feature

Retrieves all the tags for a feature name.

Get a list of groups

Get a list of user groups for Role-Based Access Control.

List impact metric configurations

List impact metric chart configurations for either the Unleash instance (not associated with a feature flag) or one feature flag.

List inactive users

Gets all inactive users.

List integration events for a specific integration configuration

Returns a list of integration events belonging to a specific integration configuration, identified by its id.

List invoices

Return Enterprise invoice summaries for billing review, including formatted amount due, paid state, current status, optional due date, and links to view or download each invoice as PDF.

Get all login events

Return all login and logout events in the Unleash system as structured JSON, including success, client, and failure details when available.

List notifications

A user may get relevant notifications from the projects they are a member of

List outdated SDKs

Lists outdated SDK versions and the applications using them across the instance or in one project.

List parent options

List available parents who have no transitive dependencies.

List parent feature variants

List available parent variants across all strategy variants and feature environment variants.

Get all personal access tokens (PATs) for the current user

Returns all of the [personal access tokens](https://docs.

List pending change requests referencing a feature

This endpoint will retrieve all pending change requests (change requests with a status of Draft | In review | Approved) referencing the given feature flag name.

List available permissions

Returns a list of available permissions.

List Project Environments

List environments available to a project with project-specific visibility and enabled-toggle counts.

Get a list of all flag creators for a project

This endpoint returns every user who created a flag in the project.

List Projects

List projects available to the connected Admin API principal, optionally including archived projects.

List public signup tokens

Retrieves all existing public signup tokens.

List release plans

Returns a list of all release plans for a specific feature flag and environment.

List release templates

Lists global release templates or templates for one project.

Get a list of roles

Get a list of project, root and custom roles for Role-Based Access Control.

List Segments

List all reusable segments in the Unleash instance with their constraints and usage counts.

List strategy segments

Retrieve all segments that are referenced by the specified strategy.

List service accounts

Returns the list of all service accounts.

List all tokens for a service account

Returns the list of all tokens for a service account identified by the id.

[BETA] List signal endpoints

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

[BETA] List signals from a specific signal endpoint

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

[BETA] List tokens for a specific signal endpoint

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

[BETA] List signals

**[BETA]** Returns one page of signals in the requested creation-date range.

List strategies that reference a segment

Retrieve all strategies that reference the specified segment.

List Strategy Types

List predefined and custom strategy types available for feature configuration.

List all tags

List all tags available in Unleash.

List all tags of a given type

List all tags of a given type.

Get all tag types

Get a list of all available tag types.

List unknown flags

Returns a list of unknown flag reports from the last 24 hours, if any.

Get all pending user access requests

Returns a list of all pending user access requests.

List roles for the currently logged-in user

Gets roles assigned to currently logged in user.

Get all users and [root roles](https://docs.getunleash.io/concepts/rbac#predefined-roles)

Will return all users and all available root roles for the Unleash instance.

Mark notifications as read

Allow to select which notifications were read and saving a read date

Create (overwrite) variants for a feature in an environment

Replace the feature flag's complete variant list in one environment.

Create (overwrite) variants for a feature flag in multiple environments

Replace the feature flag's complete variant list in every environment named by environments.

Patch a feature's variants in an environment

Apply a list of patches to the features environments in the specified environment.

Modify a feature flag

Change specific properties of a feature flag.

Change specific properties of a strategy

Change specific properties of a strategy configuration in a feature flag.

Query impact metrics time series data

Queries an impact metric source for time series data based on the provided metric name, time range, and aggregation mode.

Reads the Unleash license

Reads the Unleash license.

Register a new impact metric

Registers a new impact metric by pushing 0-values.

Reject a user access request

Rejects an existing user access request identified by its id.

Remove an environment from a project

This endpoint removes the specified environment from the project.

Remove project access for a group

Removes project access for a group by removing all of its roles for the project.

Remove project access for a user

Removes project access for a user by removing all of its roles for the project.

Generate user password-reset URL

Generates and returns a password-reset URL for the user identified by email; it does not change the password.

Resume paused milestone progressions

Resumes all paused milestone progressions for a release plan

Revives a feature

This endpoint revives the specified feature from archive.

Revives a list of features

This endpoint revives the specified features.

Save impact metric configuration

Create or update an instance-level or feature-level impact metric chart configuration.

Search change requests

Search and filter change requests by creator and approver.

Search for events

Allows searching for events that match the query parameter criteria.

Search Features

Search and filter feature flags across projects.

Search users

It will preform a simple search based on name and email matching the given query.

Set Action Set State

Enable or disable one project action set.

Set Banner State

Enable or disable an instance banner.

Set change request reviewers

Replace the requested reviewers for a change request with the complete supplied user-ID list.

Sets allowed CORS origins

Sets Cross-Origin Resource Sharing headers for Frontend SDK API.

Set Email Subscription

Subscribe or unsubscribe the current principal from an email notification category.

Set Environment State

Enable or disable an environment across the Unleash instance.

Set the external impact-metrics source

Updates the configuration of the external impact-metrics source (any Prometheus-compatible endpoint).

Set Feature Environment State

Enable or disable one feature flag in one environment.

Set Feature Favorite

Add or remove one feature flag from the current principal's favorites.

Set Feature Lifecycle Completion

Mark a feature lifecycle as completed with a kept or discarded outcome, or mark it incomplete again.

Set Features Environment State

Enable or disable the supplied feature flags in one project environment.

Mark features as stale / not stale

This endpoint marks the provided list of features as either [stale](https://docs.

Enable or disable maintenance mode

Enable or disable maintenance mode for the entire Unleash instance.

Set OIDC settings

Configure or partially update OpenID Connect login, user auto-creation, roles, group syncing, PKCE, and scopes.

Set users and groups to roles in the current project

Replaces the complete project access configuration with the supplied role assignments.

Set Project Archived

Archive or revive one project; archiving requires all project flags to be archived first.

Set Project Favorite

Add or remove one project from the current principal's favorites.

Toggle remote MCP server settings

Toggles the remote MCP server for this Unleash instance.

Sets roles for group

Replace all project roles assigned to a group.

Sets roles for user

Replace all project roles assigned directly to a user.

Update SAML auth settings

Configure or partially update SAML login, certificates, user auto-creation, roles, and group syncing.

Set SCIM settings

Sets new settings for SCIM provisioning.

Set Signal Endpoint State

Enable or disable one outbound signal endpoint.

Update Simple auth settings

Enable or disable simple authentication (username/password).

Set Strategy Deprecated

Deprecate or reactivate one custom strategy type.

Set strategy sort order

Replace the sort order for the complete supplied list of strategy instances in this feature environment.

Start a release plan milestone

Starts a release plan milestone, advancing a one-way release transition that may apply the milestone's rollout configuration and cannot simply be undone.

[BETA] Update an action set

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

Update an addon

Replace an external event integration configuration.

Update a banner

Updates an existing banner identified by its id.

Edits a single change in a change request

Replace one change in a change request.

This endpoint will update the state of a change request

Move a change request to Draft, In review, Approved, Cancelled, or Applied when Unleash's transition rules allow it.

This endpoint will update the custom title of a change request

Replace a change request's custom title.

Update Context Field

Update supplied settings of a root or project context field.

Updates an environment by name

Given an environment by name updates the environment with the given payload.

Update environment sort orders

Updates sort orders for the named environments.

Update Feature

Update supplied description, type, stale or archive state, or impression-data setting on an existing feature flag.

Update a feature link

Update an existing feature link.

Update Feature Strategy

Replace supplied configuration fields on one feature strategy instance.

Update strategy segments

Sets the segments of the strategy specified to be exactly the ones passed in the payload.

Update feature tags

Sync one or many feature tags with PUT, add one tag with POST, or remove one tag with DELETE.

Update feature type lifetime

Updates the lifetime configuration for the specified [feature flag type](https://docs.

Update a group

Update existing user group by group id.

Set a new Unleash license

Set a new Unleash license.

Update project

Update a project's name and optionally its description, access mode, or default stickiness.

Updates change request configuration for an environment in the project

This endpoint will change the change request configuration for a given environment, set it to either on/off and optionally configure the number of approvals needed.

Update project enterprise settings

Update project enterprise settings with new values.

Update a milestone strategy

Update a milestone strategy configuration for a feature flag in the specified environment.

Update a release template

Updates a release template's name, description, and replacement milestone configuration.

Update a role

Update a custom role by its role ID.

Update Segment

Update a segment by replacing its required name and complete constraint list plus optional metadata.

Update a service account

Updates an existing service account identified by its id.

[BETA] Update a signal endpoint

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

[BETA] Update a signal endpoint token

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

Update a strategy type

Update a custom strategy type's optional description and replace its complete parameter definition list.

Update a tag type

Update the configuration for the specified tag type.

Update a user

Only the explicitly specified fields get updated.

Upsert Context Field Legal Value

Add a legal value to a root or project context field, or update its description when the value already exists.

Create or update safeguard

Create or update a metric-threshold safeguard for a feature environment or for one release plan.

Validates archive features

Preview the consequences of archiving the named feature flags.

Validate constraint

Validates a constraint definition.

Validate Context Field Name

Check whether a proposed name can be used for a root or project context field.

Validates if an environment name exists

Checks whether an environment name is already in use.

Validate an external impact-metrics source URL

Tests an external impact-metrics source URL on the fly without persisting it.

Validate a feature flag name

Validates a feature flag name: checks whether the name is URL-friendly and whether a feature with the given name already exists.

Validate feature import data

Validates a feature flag data set.

Validate project ID

Validate a project ID against Unleash's rules

Validate a role

Check if the role matches schema and has a unique name.

Validates if a segment name exists

Checks whether a segment name is already in use.

Validate a tag type

Validates whether if the body of the request is a valid tag and whether the a tag type with that name already exists or not.

Validate password for a user

Validate the password strength.

SETUP GUIDE

Connect Unleash MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["unleash"],
  mcp: true,
});
Create a session scoped to Unleash and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "List all feature flags in the production environment",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Unleash request
SETUP GUIDE

Connect Unleash API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["unleash"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Unleash
3

Run Unleash tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "List all feature flags in the production environment" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Unleash tool calls through the session, and print the final answer

Why Use Composio?

AI Native Unleash Integration

  • Supports both Unleash MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Unleash data

Managed Auth

  • Secure API key handling without exposing credentials in agent prompts
  • Central place to manage, scope, and revoke Unleash access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Unleash
  • Scoped, least privilege access to Unleash resources
  • Full audit trail of agent actions to support review and compliance

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Yes, Unleash requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Yes. Composio is SOC 2 Type II compliant and is built to keep your Unleash connection and credentials secure. OAuth tokens and API keys are encrypted, and sensitive customer data is protected at rest and in transit.

Composio also undergoes independent security testing and continuously monitors its systems for security threats. You can review the latest reports and policies in the Composio Trust Center.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Create the key in your Unleash account settings, then paste it once on Composio's connection page. Composio stores it encrypted and uses it only for the Unleash actions your agent runs. Nobody else in your workspace can read it, and you can revoke it inside Unleash at any time.

When you connect a Unleash account through Composio, every action runs under that account, so anything the agent creates, sends, or changes shows up in Unleash as done by you. Keep an approval step in your prompt for actions with side effects, such as sending or deleting, and have the agent draft first.

Whatever the credentials you connect allow inside Unleash. If Unleash lets you scope a key to specific permissions, create a scoped one so the agent can only do what you intend. You can revoke the key inside Unleash at any time.

Yes. Composio supports multiple connected accounts for the same app, and that works in Claude, ChatGPT, or any other assistant you connect through Composio. Give each Unleash connection a name such as work or personal, and the assistant uses the one you mention in the request. Each account keeps its own credentials and nothing is merged.

The connection stops working the moment Unleash rejects the old key. Create a new key in Unleash and reconnect the account from the Composio dashboard or by asking your agent to reconnect Unleash. Nothing else changes.

Composio's free Hobby plan includes 100,000 tool calls per month with no credit card, which covers most personal Unleash use. Paid plans add higher limits and team features. Your Unleash plan and its API limits still apply as usual.

Built-in connectors usually give one AI access to a limited set of apps. Many people use Composio because it lets their AI connect to more apps than it normally supports, or connect to multiple accounts for the same app (e.g. connect Claude to multiple Unleash accounts).

With Composio, you connect Unleash once and then use it across different AI assistants without setting it up separately in each one. Connect your apps to Composio once, then connect Composio to whichever AI you use, whether that's Claude, ChatGPT, Hermes, or your own custom assistant.

Start with Unleash.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Unleash tool your agent needs.Free to start.

Start building