devtools
LaunchDarkly MCP Integration for Vercel AI SDK
Connect LaunchDarkly to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect LaunchDarkly to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
LaunchDarkly MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-launchdarkly": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=launchdarkly",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=launchdarkly --write=deny Why Use KosmoKrator Here
Expose only LaunchDarkly instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
LaunchDarkly Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the LaunchDarkly integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__launchdarkly__launchdarkly_list_flags | launchdarkly.launchdarkly_list_flags | Read | List feature flags in a LaunchDarkly project. Returns flag keys, names, descriptions, and their on/off state per environment. |
integration__launchdarkly__launchdarkly_get_flag | launchdarkly.launchdarkly_get_flag | Read | Get detailed information about a specific LaunchDarkly feature flag, including targeting rules, variations, and per-environment state. |
integration__launchdarkly__launchdarkly_toggle_flag | launchdarkly.launchdarkly_toggle_flag | Write | Turn a LaunchDarkly feature flag on or off in a specific environment. Use this to enable or disable a feature flag. |
integration__launchdarkly__launchdarkly_list_environments | launchdarkly.launchdarkly_list_environments | Read | List all environments for a LaunchDarkly project. Returns environment keys, names, and their SDK keys for reference. |
integration__launchdarkly__launchdarkly_list_projects | launchdarkly.launchdarkly_list_projects | Read | List all LaunchDarkly projects. Returns project keys, names, and the number of environments in each project. |
integration__launchdarkly__launchdarkly_get_project | launchdarkly.launchdarkly_get_project | Read | Get detailed information about a specific LaunchDarkly project, including its environments and settings. |
integration__launchdarkly__launchdarkly_get_current_user | launchdarkly.launchdarkly_get_current_user | Read | Get information about the currently authenticated LaunchDarkly user. Useful for verifying API credentials. |