@ktmcp-cli/1password
v1.0.0
Published
Production-ready CLI for 1Password Secrets/Connect API - Kill The MCP
Maintainers
Readme
"Six months ago, everyone was talking about MCPs. And I was like, screw MCPs. Every MCP would be better as a CLI."
— Peter Steinberger, Founder of OpenClaw Watch on YouTube (~2:39:00) | Lex Fridman Podcast #491
1Password CLI
Production-ready CLI for 1Password Secrets/Connect API.
Installation
npm install -g @ktmcp-cli/1passwordConfiguration
1password config set --token YOUR_CONNECT_TOKEN
1password config set --base-url https://your-connect-server.example.comUsage
Vaults
# List all vaults
1password vaults list
# Get vault details
1password vaults get <vault-id>Items
# List items in a vault
1password items list <vault-id>
# Filter items by title
1password items list <vault-id> --filter "database"
# Get a specific item
1password items get <vault-id> <item-id>
# Create a new item
1password items create <vault-id> --title "My Login" --category LOGIN \
--fields '[{"label":"username","value":"myuser","type":"STRING"},{"label":"password","value":"secret","type":"CONCEALED"}]'
# Update an item
1password items update <vault-id> <item-id> --title "Updated Title"
# Delete an item
1password items delete <vault-id> <item-id>Files
# List files attached to an item
1password files list <vault-id> <item-id>
# Get file metadata
1password files get <vault-id> <item-id> <file-id>Configuration
# Set a config value
1password config set --token YOUR_TOKEN
# Get a config value
1password config get token
# List all config
1password config listJSON Output
All commands support --json flag for machine-readable output:
1password vaults list --json
1password items get <vault-id> <item-id> --jsonLicense
MIT
