op-mcp
Enables interaction with 1Password vaults and items via the op CLI, supporting vault listing, item lookup, password read/create/update/generate, and delete operations. Zero idle CPU usage and supports service account tokens for headless use.
README
op-mcp
A lightweight MCP server for 1Password that wraps the op CLI. Zero idle CPU usage.
Why?
The popular @takescake/1password-mcp uses the @1password/sdk WASM runtime, which burns 40-80% CPU even when idle due to an internal event loop in the compiled Rust/WASM binary. This server shells out to the op CLI instead — it does nothing when idle and only spawns a process when a tool is called.
Supports service account tokens for headless/CI use (no biometric auth required).
Install
npx @jrejaud/op-mcp
Or install locally:
git clone https://github.com/studio-corsair/op-mcp.git
cd op-mcp
npm install && npm run build
node dist/index.js
Prerequisites
- 1Password CLI (
op) installed - A service account token or signed-in
opsession
Configuration
Claude Code
{
"mcpServers": {
"1password": {
"type": "stdio",
"command": "npx",
"args": ["-y", "op-mcp"],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "your-token-here"
}
}
}
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
OP_SERVICE_ACCOUNT_TOKEN |
Recommended | Service account token (skips biometric) |
OP_PATH |
No | Path to op binary (default: /opt/homebrew/bin/op) |
Tools
| Tool | Description |
|---|---|
vault_list |
List all accessible vaults |
item_lookup |
Search items by name, URL, or tag |
password_read |
Read a field via op:// reference or get full item |
password_create |
Create a new login/password/note item |
password_update |
Update fields on an existing item |
password_generate |
Generate a random password |
item_delete |
Delete or archive an item |
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.