Koskamo

The Real Bitwarden MCP

An unofficial, local stdio MCP server for Bitwarden that exposes the Bitwarden Public API and Secrets Manager as typed tools. It allows AI assistants to manage organization members, groups, collections, policies, licensing, and secrets. It supports self-hosted Bitwarden instances, the official Bitwarden Cloud, or both, providing over 50 admin tools for Claude Desktop and Claude Code.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

The Real Bitwarden MCP logo, by mguttmannCommunity listingLocal stdioSource reviewed; not executedPublished by mguttmann
Vendor documentation

What you can do with it

  • Manage organization members, groups, and collections
  • Retrieve and manage secrets via Bitwarden Secrets Manager
  • Configure and view organization policies and licensing
  • Execute raw API requests for custom Bitwarden operations

Source and maintenance

Community listingRegistry 0.3.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

the-real-bitwarden-mcp 0.3.1

npmnpx
the-real-bitwarden-mcp package definition
{
  "version": "0.3.1",
  "transport": "stdio",
  "identifier": "the-real-bitwarden-mcp",
  "runtimeHint": "npx",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "BITWARDEN_SELFHOST_API_BASE",
      "format": "string",
      "description": "Self-hosted instance: API base URL, e.g. https://vault.example.com/api. Configure all four BITWARDEN_SELFHOST_* or all four BITWARDEN_CLOUD_* variables (or both); a partial set is fatal."
    },
    {
      "name": "BITWARDEN_SELFHOST_IDENTITY_URL",
      "format": "string",
      "description": "Self-hosted instance: identity URL, e.g. https://vault.example.com/identity."
    },
    {
      "name": "BITWARDEN_SELFHOST_CLIENT_ID",
      "format": "string",
      "description": "Self-hosted instance: organization Public API client id (organization.<uuid>)."
    },
    {
      "name": "BITWARDEN_SELFHOST_CLIENT_SECRET",
      "format": "string",
      "description": "Self-hosted instance: organization Public API client secret. It can manage members, groups, collections and policies, including creating Owners."
    },
    {
      "name": "BITWARDEN_CLOUD_API_BASE",
      "format": "string",
      "description": "Bitwarden Cloud: API base URL, e.g. https://api.bitwarden.com. Used for license and subscription tools."
    },
    {
      "name": "BITWARDEN_CLOUD_IDENTITY_URL",
      "format": "string",
      "description": "Bitwarden Cloud: identity URL, e.g. https://identity.bitwarden.com."
    },
    {
      "name": "BITWARDEN_CLOUD_CLIENT_ID",
      "format": "string",
      "description": "Bitwarden Cloud: organization Public API client id (organization.<uuid>)."
    },
    {
      "name": "BITWARDEN_CLOUD_CLIENT_SECRET",
      "format": "string",
      "description": "Bitwarden Cloud: organization Public API client secret."
    },
    {
      "name": "BWS_ACCESS_TOKEN",
      "format": "string",
      "description": "Optional: Secrets Manager machine account access token; enables the bws_* tools. A malformed token is fatal at startup."
    },
    {
      "name": "BWS_ORG_ID",
      "format": "string",
      "description": "Optional: organization UUID for the Secrets Manager tools, used when a call passes no organizationId."
    },
    {
      "name": "BWS_API_BASE",
      "format": "string",
      "description": "Optional: Secrets Manager API base URL; defaults to BITWARDEN_SELFHOST_API_BASE."
    },
    {
      "name": "BWS_IDENTITY_URL",
      "format": "string",
      "description": "Optional: Secrets Manager identity URL; defaults to BITWARDEN_SELFHOST_IDENTITY_URL."
    },
    {
      "name": "BITWARDEN_CONFIRM_WRITES",
      "format": "boolean",
      "default": "true",
      "description": "true: write tools return a preview unless the call carries confirm \"YES\". The model sets confirm itself, so this is friction, not a security boundary."
    },
    {
      "name": "BITWARDEN_READ_ONLY",
      "format": "boolean",
      "default": "false",
      "description": "true: write tools stay listed but refuse to run, and bw_raw_request allows GET only."
    },
    {
      "name": "LOG_LEVEL",
      "format": "string",
      "choices": [
        "debug",
        "info",
        "warn",
        "error"
      ],
      "default": "warn",
      "description": "Log level of the JSON log lines on stderr."
    },
    {
      "name": "BW_MCP_MAX_RESPONSE_BYTES",
      "format": "number",
      "default": "1048576",
      "description": "Successful tool output above this many bytes is cut to valid JSON with a responseTruncated marker that says how to narrow or page the query."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "the-real-bitwarden-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-real-bitwarden-mcp@0.3.1"
      ],
      "env": {
        "BITWARDEN_SELFHOST_API_BASE": "<YOUR_BITWARDEN_SELFHOST_API_BASE>",
        "BITWARDEN_SELFHOST_IDENTITY_URL": "<YOUR_BITWARDEN_SELFHOST_IDENTITY_URL>",
        "BITWARDEN_SELFHOST_CLIENT_ID": "<YOUR_BITWARDEN_SELFHOST_CLIENT_ID>",
        "BITWARDEN_SELFHOST_CLIENT_SECRET": "<YOUR_BITWARDEN_SELFHOST_CLIENT_SECRET>",
        "BITWARDEN_CLOUD_API_BASE": "<YOUR_BITWARDEN_CLOUD_API_BASE>",
        "BITWARDEN_CLOUD_IDENTITY_URL": "<YOUR_BITWARDEN_CLOUD_IDENTITY_URL>",
        "BITWARDEN_CLOUD_CLIENT_ID": "<YOUR_BITWARDEN_CLOUD_CLIENT_ID>",
        "BITWARDEN_CLOUD_CLIENT_SECRET": "<YOUR_BITWARDEN_CLOUD_CLIENT_SECRET>",
        "BWS_ACCESS_TOKEN": "<YOUR_BWS_ACCESS_TOKEN>",
        "BWS_ORG_ID": "<YOUR_BWS_ORG_ID>",
        "BWS_API_BASE": "<YOUR_BWS_API_BASE>",
        "BWS_IDENTITY_URL": "<YOUR_BWS_IDENTITY_URL>",
        "BITWARDEN_CONFIRM_WRITES": "<YOUR_BITWARDEN_CONFIRM_WRITES>",
        "BITWARDEN_READ_ONLY": "<YOUR_BITWARDEN_READ_ONLY>",
        "LOG_LEVEL": "<YOUR_LOG_LEVEL>",
        "BW_MCP_MAX_RESPONSE_BYTES": "<YOUR_BW_MCP_MAX_RESPONSE_BYTES>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "the-real-bitwarden-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-real-bitwarden-mcp@0.3.1"
      ],
      "env": {
        "BITWARDEN_SELFHOST_API_BASE": "<YOUR_BITWARDEN_SELFHOST_API_BASE>",
        "BITWARDEN_SELFHOST_IDENTITY_URL": "<YOUR_BITWARDEN_SELFHOST_IDENTITY_URL>",
        "BITWARDEN_SELFHOST_CLIENT_ID": "<YOUR_BITWARDEN_SELFHOST_CLIENT_ID>",
        "BITWARDEN_SELFHOST_CLIENT_SECRET": "<YOUR_BITWARDEN_SELFHOST_CLIENT_SECRET>",
        "BITWARDEN_CLOUD_API_BASE": "<YOUR_BITWARDEN_CLOUD_API_BASE>",
        "BITWARDEN_CLOUD_IDENTITY_URL": "<YOUR_BITWARDEN_CLOUD_IDENTITY_URL>",
        "BITWARDEN_CLOUD_CLIENT_ID": "<YOUR_BITWARDEN_CLOUD_CLIENT_ID>",
        "BITWARDEN_CLOUD_CLIENT_SECRET": "<YOUR_BITWARDEN_CLOUD_CLIENT_SECRET>",
        "BWS_ACCESS_TOKEN": "<YOUR_BWS_ACCESS_TOKEN>",
        "BWS_ORG_ID": "<YOUR_BWS_ORG_ID>",
        "BWS_API_BASE": "<YOUR_BWS_API_BASE>",
        "BWS_IDENTITY_URL": "<YOUR_BWS_IDENTITY_URL>",
        "BITWARDEN_CONFIRM_WRITES": "<YOUR_BITWARDEN_CONFIRM_WRITES>",
        "BITWARDEN_READ_ONLY": "<YOUR_BITWARDEN_READ_ONLY>",
        "LOG_LEVEL": "<YOUR_LOG_LEVEL>",
        "BW_MCP_MAX_RESPONSE_BYTES": "<YOUR_BW_MCP_MAX_RESPONSE_BYTES>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "the-real-bitwarden-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "the-real-bitwarden-mcp@0.3.1"
      ],
      "env": {
        "BITWARDEN_SELFHOST_API_BASE": "<YOUR_BITWARDEN_SELFHOST_API_BASE>",
        "BITWARDEN_SELFHOST_IDENTITY_URL": "<YOUR_BITWARDEN_SELFHOST_IDENTITY_URL>",
        "BITWARDEN_SELFHOST_CLIENT_ID": "<YOUR_BITWARDEN_SELFHOST_CLIENT_ID>",
        "BITWARDEN_SELFHOST_CLIENT_SECRET": "<YOUR_BITWARDEN_SELFHOST_CLIENT_SECRET>",
        "BITWARDEN_CLOUD_API_BASE": "<YOUR_BITWARDEN_CLOUD_API_BASE>",
        "BITWARDEN_CLOUD_IDENTITY_URL": "<YOUR_BITWARDEN_CLOUD_IDENTITY_URL>",
        "BITWARDEN_CLOUD_CLIENT_ID": "<YOUR_BITWARDEN_CLOUD_CLIENT_ID>",
        "BITWARDEN_CLOUD_CLIENT_SECRET": "<YOUR_BITWARDEN_CLOUD_CLIENT_SECRET>",
        "BWS_ACCESS_TOKEN": "<YOUR_BWS_ACCESS_TOKEN>",
        "BWS_ORG_ID": "<YOUR_BWS_ORG_ID>",
        "BWS_API_BASE": "<YOUR_BWS_API_BASE>",
        "BWS_IDENTITY_URL": "<YOUR_BWS_IDENTITY_URL>",
        "BITWARDEN_CONFIRM_WRITES": "<YOUR_BITWARDEN_CONFIRM_WRITES>",
        "BITWARDEN_READ_ONLY": "<YOUR_BITWARDEN_READ_ONLY>",
        "LOG_LEVEL": "<YOUR_LOG_LEVEL>",
        "BW_MCP_MAX_RESPONSE_BYTES": "<YOUR_BW_MCP_MAX_RESPONSE_BYTES>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "the-real-bitwarden-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-real-bitwarden-mcp@0.3.1"
      ],
      "env": {
        "BITWARDEN_SELFHOST_API_BASE": "<YOUR_BITWARDEN_SELFHOST_API_BASE>",
        "BITWARDEN_SELFHOST_IDENTITY_URL": "<YOUR_BITWARDEN_SELFHOST_IDENTITY_URL>",
        "BITWARDEN_SELFHOST_CLIENT_ID": "<YOUR_BITWARDEN_SELFHOST_CLIENT_ID>",
        "BITWARDEN_SELFHOST_CLIENT_SECRET": "<YOUR_BITWARDEN_SELFHOST_CLIENT_SECRET>",
        "BITWARDEN_CLOUD_API_BASE": "<YOUR_BITWARDEN_CLOUD_API_BASE>",
        "BITWARDEN_CLOUD_IDENTITY_URL": "<YOUR_BITWARDEN_CLOUD_IDENTITY_URL>",
        "BITWARDEN_CLOUD_CLIENT_ID": "<YOUR_BITWARDEN_CLOUD_CLIENT_ID>",
        "BITWARDEN_CLOUD_CLIENT_SECRET": "<YOUR_BITWARDEN_CLOUD_CLIENT_SECRET>",
        "BWS_ACCESS_TOKEN": "<YOUR_BWS_ACCESS_TOKEN>",
        "BWS_ORG_ID": "<YOUR_BWS_ORG_ID>",
        "BWS_API_BASE": "<YOUR_BWS_API_BASE>",
        "BWS_IDENTITY_URL": "<YOUR_BWS_IDENTITY_URL>",
        "BITWARDEN_CONFIRM_WRITES": "<YOUR_BITWARDEN_CONFIRM_WRITES>",
        "BITWARDEN_READ_ONLY": "<YOUR_BITWARDEN_READ_ONLY>",
        "LOG_LEVEL": "<YOUR_LOG_LEVEL>",
        "BW_MCP_MAX_RESPONSE_BYTES": "<YOUR_BW_MCP_MAX_RESPONSE_BYTES>"
      }
    }
  }
}

Let your agent find its tools

Find servers like The Real Bitwarden MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.