Skip to main content Announcing Tool Policies: AI agent permissions down to the field Read the announcement
Live 34 Actions

LastPass MCP Server
for AI Agents

Connect your AI agent to StackOne's LastPass MCP server and give it 34 MCP tools out of the box. Auth, tool execution, and security all managed.

LastPass logo
LastPass MCP Server
Built by StackOne StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

Coverage

34 Agent Actions

Agents can read, write, delete and run operations in LastPass. Extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your LastPass MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every LastPass tool response scanned for prompt injection in about 2.5 ms, with 0.94 F1 on tool-response attacks, all running on a CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every LastPass call.

Tools Discovery →

What is the LastPass MCP Server?

A LastPass MCP server lets AI agents read and write LastPass data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's LastPass MCP server ships with 34 pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All LastPass MCP Tools

Every StackOne action for LastPass, ready for your agent. Read, write, delete and run operations, scoped to exactly what you need.

Groups

  • List Groups

    Retrieve all groups and their members from the LastPass Business account

  • Get Group

    Retrieve a specific group and its members from the LastPass Business account

Unified Groups

  • List Unified Groups

    List unified groups in LastPass.

  • Get Unified Group

    Get a unified LastPass group by ID.

Unified Organizations

  • List Unified Organizations

    List unified organizations in LastPass.

  • Get Unified Organization

    Get a unified LastPass organization by ID.

Unified Roles

  • List Unified Roles

    List unified roles in LastPass.

  • Get Unified Role

    Get a unified LastPass role by ID.

Unified Users

  • List Unified Users

    List unified users in LastPass.

  • Get Unified User

    Get a unified LastPass user by ID.

Roles

  • List Roles

    Retrieve shared folder data containing role permission sets from the LastPass Business account

  • Get Role

    Retrieve shared folder data to look up a specific role by ID

Users

  • Batch Add Users

    Bulk-create one or more LastPass Business users by POSTing an array of user objects to the Enterprise API batchadd command at /enterpriseapi.php, triggering activation emails for each newly provisioned account.

  • Update User

    Update attributes for an existing user in the LastPass Business account

  • Delete User

    Deactivate, remove, or permanently delete a user from the LastPass Business account via the deluser command, with the severity of the action controlled by the required deleteaction parameter (0 = deactivate, 1 = remove from enterprise, 2 = permanent delete).

Other (19)

  • Get Event Report

    Retrieve audit event logs from the LastPass Business account

  • Get Unified Credentials

    Get the current LastPass connection's unified credentials and identity.

  • List Unified Resource Users

    List unified resource users in LastPass.

  • List Unified Resource Types

    List unified resource types in LastPass.

  • List Policies

    Retrieve shared folder data containing permission sets from the LastPass Business account

  • Get Policy

    Retrieve shared folder data to look up a specific policy by ID

  • Get Shared Folder Data

    Retrieve a list of all shared folders in the LastPass Business account

  • Get Detailed Shared Folder Data

    Retrieve detailed information about all shared folders including sites and permissions

  • Get User Data

    Retrieve detailed account data for users in the LastPass Business account via the getuserdata command, with optional filtering by username, admin status, or disabled status and pagination support for large directories.

  • Batch Change Group Membership

    Add or remove users from groups in bulk

  • Update User Email

    Update a user's primary email address in the LastPass Business account via the Enterprise API updateemail command, triggering a confirmation email to the new address.

  • Push Sites To Users

    Distribute credential entries (sites) to users in the LastPass Business account

  • Bulk Delete Users

    Delete multiple users from the LastPass Business account in a single call

  • Disable User

    Deactivate a user account while preserving their vault data

  • Enable User

    Re-enable a previously disabled user account

  • Reinvite User

    Resend an invitation email to a user who has not yet accepted

  • Disable Multifactor Authentication

    Disable multifactor authentication for a user

  • Reset Password

    Send a master password reset email to a user

  • Require Master Password Change

    Require a user to change their master password on next login via the LastPass Enterprise API requiremasterpasswordchange command.

Set Up Your LastPass MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to LastPass in under 10 lines of code.

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

Check More Security MCP Servers

Rippling

365+ actions

Cloudflare

150+ actions

OneLogin

119+ actions

Okta

115+ actions

Auth0

87+ actions

Snyk

86+ actions

JumpCloud

78+ actions

FAQ

LastPass MCP Server FAQ

Ready to put your agents to work?