• CONTAINMENT
  • AUDIT
  • VERIFICATION
  • HUMAN

How to terminate active privileged sessions with your agent

Connect CyberArk Privilege Cloud to your AI client to stop unauthorized access the moment you spot it.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I kill a privileged session using my AI?

Tell your agent to terminate the specific session ID or user session via CyberArk. It uses the terminate_session tool to cut the connection instantly. You get immediate containment of the threat.

Containment outcomes.

Where the action lands.

What happens after you trigger the command.

CONTAINMENT

Session is killed

The terminate_session tool cuts the active connection. The unauthorized user loses access immediately.

AUDIT

Logs are preserved

CyberArk maintains the record of the session and the termination event. Your agent provides the confirmation that the action succeeded.

VERIFICATION

Status is confirmed

Your agent checks the session state to ensure the connection is truly dead. You get a clear status update in your chat.

HUMAN

Manual review needed

Your agent stops the session but doesn't investigate the root cause. You still need to perform a full forensic analysis.

The workflow

What your agent does when a session is flagged.

Your agent handles the direct execution so you don't have to hunt through the CyberArk console.

  1. Identify the target

    Your agent looks through the active session data to find the specific ID or user that triggered the alert.

    terminate_session
  2. Execute termination

    Once you confirm, your agent sends the command to CyberArk to drop the connection.

    terminate_session
  3. Verify the kill

    Your agent checks the session list again to make sure the session is no longer active.

    terminate_session
  4. Report results

    Your agent tells you exactly which session was terminated and confirms the success of the command.

    terminate_session

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute CyberArk tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Direct commands to trigger the action.

Starting points

Replace the bracketed text with your specific session IDs or usernames.

CyberArk Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_18gJHbsKGjtg9GOn25i2jhe0oFuy772lTZzUa9w1/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, CyberArk capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "cyberark-privilege-cloud-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_18gJHbsKGjtg9GOn25i2jhe0oFuy772lTZzUa9w1/mcp"
    }
  }
}
Copy into chat04
  • 01

    Terminate the active session for user admin_test immediately.

  • 02

    Kill session ID 99283 in CyberArk.

  • 03

    Find the most recent privileged session for the service account and terminate it.

  • 04

    Is session 4452 still active? If so, kill it.

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

Start here

Connect CyberArk Privilege Cloud once, then ask.

Add the CyberArk Privilege Cloud MCP to your client with one click. Your credentials stay encrypted and secure on our side.

Connect CyberArk Privilege Cloud to your agent

FAQ

How the termination task behaves

  • 01

    Can your agent create new privileged accounts?

    No. This MCP only has the capability to terminate existing sessions.

  • 02

    Does your agent need my CyberArk password?

    No. You connect the MCP via Vinkius, and your credentials are managed securely without being exposed to the AI model.

  • 03

    Will your agent automatically kill sessions if it sees something suspicious?

    No. Your agent only acts when you explicitly tell it to terminate a session.

  • 04

    Can your agent delete the audit logs after a session is killed?

    No. Your agent cannot modify or delete logs within CyberArk.

  • 05

    What happens if the session is already closed?

    The tool will return an error stating the session is not active, and your agent will report that to you.

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

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from CyberArk to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    CyberArk plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect CyberArk to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.