Skip to content
1Password Environments

1Password EnvironmentsMCP Server

Released

Summary

1Password's official local MCP server for dev secrets: the agent manages Environments and .env mounts by name, and never sees a secret value.

Features

  • Seven tools for creating, listing and renaming Environments and their variables
  • Never returns secret values — the model sees Environment and variable names only
  • Creates locally mounted .env files so secrets reach a process without being written to disk
  • Works with op:// secret references resolved at execution time by `op run`
  • stdio transport; requires the 1Password desktop app and an active account

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "1Password Environments" tools will be available.
{
  "mcpServers": {
    "1password-environments-mcp": {
      "command": "1password-mcp"
    }
  }
}

Description

Agent configurations are where credentials go to leak — pasted into a .env, committed to a repo, or handed to a model in plain text. 1Password's Environments MCP server is built so that cannot happen: the server exposes the names of Environments and variables, and never returns the stored secret values, which stay in 1Password.

What the agent can do

Seven tools, split between read and write:

ToolPurpose
authenticateAuthenticate against the 1Password desktop app
list_environmentsList Environments (read-only)
list_variablesList variable names in an Environment (read-only)
create_environmentCreate a new Environment
rename_environmentRename an existing Environment
append_variablesAdd or update variables
create_local_env_fileCreate a locally mounted .env file

The mounted .env is the mechanism that makes this useful rather than merely safe: secrets become available to a process on demand without ever being written to disk in the clear, and op run resolves op:// references in memory for the life of the process.

Requirements

An active 1Password account, the 1Password desktop app installed, at least one Environment created, and an MCP client that supports stdio transport — remote-only clients cannot use this server. Cursor and Kiro plugins are in beta.

Who it is for

Developers running coding agents that need real credentials to run or test code, in teams where handing those credentials to a model — or to a config file in the repo — is not acceptable.

MCP: Auth0

by Auth0

Auth0's official MCP server: create applications, deploy Actions, inspect logs and manage users in your tenant through natural language.

Clerk's official remote MCP server feeds AI coding assistants verified Clerk SDK snippets and implementation patterns, so generated auth code matches the current API.

MCP: ESP-IDF Tools MCP Server

by Espressif Systems

Espressif's local MCP server built into idf.py — lets an AI client set the chip target, build, flash and clean an ESP-IDF project and read back config, build status and connected serial ports.

Browse all MCP servers →