• HISTORY
  • USER
  • FILTER
  • HUMAN

How to audit account activity with your AI

Connect LaunchDarkly to your agent to turn natural language questions into precise audit log lookups.

Ask AI about this page

Short answer

How can I audit my LaunchDarkly activity with AI?

Your agent uses the list_audit_logs tool to fetch history from your account. You can ask for changes made by specific users or configuration updates to see what happened. You'll get a clear breakdown of recent events.

Audit outcomes

What you'll find

The agent pulls data to give you these specific views.

HISTORY

Recent change logs

The AI pulls the latest entries from your audit trail. You see exactly what changed and when it happened.

USER

Identify specific actors

Ask who made a specific change. Your agent filters the logs to show you the exact user responsible.

FILTER

Targeted event searches

Instead of scrolling through everything, tell your agent to find only flag updates or environment changes.

HUMAN

Manual review needed

The AI identifies the changes, but you must decide if those actions violate your internal policies.

The workflow

What your AI does when the request arrives.

The agent handles the data retrieval so you don't have to dig through the LaunchDarkly UI.

  1. Fetch logs

    Your agent requests the most recent activity records from your LaunchDarkly environment.

    list_audit_logs
  2. Parse data

    The agent reads the raw log entries to find the specific users and timestamps you asked for.

    list_audit_logs
  3. Filter results

    It narrows down the list to show only the specific configuration changes or user actions relevant to your question.

    list_audit_logs
  4. Summarize

    The agent presents the findings in a readable format, highlighting the most important changes.

    list_audit_logs

Try it

Copy these to start.

Use these prompts to begin your audit.

Starting points

These are opening lines. Swap out the user names or flag names to match your actual LaunchDarkly setup.

LaunchDarkly Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_q4tbtN6VOQiJj3bWOc42Ne8iFwrDWYBf9vVkTths/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — LaunchDarkly capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "launchdarkly-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_q4tbtN6VOQiJj3bWOc42Ne8iFwrDWYBf9vVkTths/mcp"
    }
  }
}
Copy into chat04
  • Show me the last 10 changes made to the production environment.

  • Who changed the targeting rules for the 'new-checkout-flow' flag yesterday?

  • List all recent actions taken by user 'dev-admin-01'.

  • What were the most recent configuration changes in the staging environment?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect LaunchDarkly once, then ask.

One click connects your account. Your credentials stay encrypted and secure, and you can start asking questions immediately.

Connect LaunchDarkly to your AI

FAQ

How this task behaves

  • 01

    Can the AI change my feature flag settings?

    No. This MCP only has permission to read audit logs. It cannot modify flags or environments.

  • 02

    Can I delete audit logs using the AI?

    No. The tool is strictly for retrieving information, not for managing or deleting log data.

  • 03

    How far back can the AI look in the logs?

    The AI can only retrieve the history that is available through the LaunchDarkly API.

  • 04

    Does the AI see all my project data?

    The AI only sees the data it retrieves via the audit log tool when you ask it a specific question.

  • 05

    Can the AI create new users for me?

    No. It cannot perform user management or administrative tasks.

  • More questions about LaunchDarkly? The Connector page answers them. See everything the LaunchDarkly Connector can do

Connect LaunchDarkly to Claude, Cursor, ChatGPT & more