1Password MCP server: give your coding agent credentials without pasting them A 2026-11-28 developer blog details how to run the 1Password MCP server (`onepassword-mcp-server`, from PulseMCP) so a coding agent can look up vault items through the `op` CLI using a service account token instead of pasting API keys into chat or a `.env` file. The setup requires installing the 1Password CLI, creating a service account scoped to a single vault, setting `OP_SERVICE_ACCOUNT_TOKEN`, and setting `ENABLED_TOOLGROUPS="readonly"`; revealing a credential triggers an approval prompt each time, and write access (creating logins, secure notes, API credentials and share links) stays off unless enabled. The blog argues the service account scope is "the real security boundary" and recommends keeping production credentials out of the agent's vault entirely, giving it staging keys and read-only database users instead. Dev blog https://calyban.com/blog · Guides https://calyban.com/blog guide · 2026-11-28 1Password MCP server: give your coding agent credentials without pasting them Short answer: the 1Password MCP server onepassword-mcp-server , from PulseMCP lets your agent look up items in a 1Password vault through the op CLI, using a service account token. Install the 1Password CLI, create a service account that can see only one vault, set OP SERVICE ACCOUNT TOKEN , and set ENABLED TOOLGROUPS="readonly" . Revealing a credential asks for your approval each time. The alternative most people use today is pasting API keys into chat or into a .env the agent reads freely. Both put the key in a transcript. Or let Calyban https://calyban.com/ install it: one click into every agent you pick, with the token written only into your own config files and kept when you update. Free, no account. Before you start 1. Install the 1Password CLI https://developer.1password.com/docs/cli/get-started/ and check op --version works in a new terminal. 2. Create a service account https://developer.1password.com/docs/service-accounts/ and give it access to one vault made for this, say “Agent”. Put only what the agent should be able to reach in it. That second step is the real security boundary. The agent can never see more than the service account can. Claude Code claude mcp add onepassword \ -e OP SERVICE ACCOUNT TOKEN="ops ..." \ -e ENABLED TOOLGROUPS="readonly" \ -- npx -y onepassword-mcp-server Codex mcp servers.onepassword command = "npx" args = "-y", "onepassword-mcp-server" mcp servers.onepassword.env OP SERVICE ACCOUNT TOKEN = "ops ..." ENABLED TOOLGROUPS = "readonly" What the agent can do With readonly , it can list vaults and items, find items by tag, read an item’s metadata title, fields, tags without the secret values, and get an item’s details, where revealing the credential pops an approval prompt first. With readonly,write it can also create logins, secure notes and API credentials, and mint share links. Those ask for approval too. Leave write off unless you have a reason. Some items you’ll use constantly, like a staging API key. The server lets you pre-approve specific items so those don’t prompt every time. A habit worth more than any server Keep production credentials out of the agent’s vault entirely. Give it a staging key, a read-only database user, a test Stripe key. If something does leak through a transcript or a log, it’s a key you can rotate in a minute. The Calyban way Open onepassword https://calyban.com/mcp/com-pulsemcp-onepassword in Calyban and press Install . It asks for the service account token and writes it only into your agents’ own config files on your computer, never anywhere else. Updating the server later keeps the token. And when you Mirror a setup from one agent to another, Calyban deliberately skips items that hold secrets like this one, so a token never gets copied somewhere you didn’t put it yourself. Calyban is free for Windows and Linux at / download https://calyban.com/ download . Questions about keeping keys out of transcripts go to Discord https://discord.gg/pHDNtgYvWn .