Op Mcp Bun — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Op Mcp Bun (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
MCP (Model Context Protocol) server for 1Password CLI, implemented in Bun TypeScript.
This is a port of the Rust op-mcp implementation to TypeScript for use with Bun runtime.
op) as an MCP serverop) installed and in PATHThe server supports automatic authentication via environment variables:
export OP_SERVICE_ACCOUNT_TOKEN="your-service-account-token"export OP_ACCOUNT="my" # Your account shorthand
export OP_PASSWORD="your-password"When both OP_ACCOUNT and OP_PASSWORD are set, the server automatically signs in on startup.
export OP_ACCOUNT="my" # Your account shorthandThis sets the default account but requires you to be already signed in via op signin.
cd op-mcp.bun
bun installbun run start
# or
bun run src/index.tsAdd to your MCP client configuration file.
#### Claude Code (~/.claude.json)
Password-based auto-signin:
{
"mcpServers": {
"1password": {
"command": "bun",
"args": ["run", "/home/won/lab/config/op-mcp/op-mcp.bun/src/index.ts"],
"env": {
"OP_ACCOUNT": "my",
"OP_PASSWORD": "your-password"
}
}
}
}Service account token:
{
"mcpServers": {
"1password": {
"command": "bun",
"args": ["run", "/home/won/lab/config/op-mcp/op-mcp.bun/src/index.ts"],
"env": {
"OP_SERVICE_ACCOUNT_TOKEN": "ops_..."
}
}
}
}Default account (requires manual signin):
{
"mcpServers": {
"1password": {
"command": "bun",
"args": ["run", "/home/won/lab/config/op-mcp/op-mcp.bun/src/index.ts"],
"env": {
"OP_ACCOUNT": "my"
}
}
}
}#### Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json)
{
"mcpServers": {
"1password": {
"command": "/path/to/bun",
"args": ["run", "/path/to/op-mcp.bun/src/index.ts"],
"env": {
"OP_ACCOUNT": "my",
"OP_PASSWORD": "your-password"
}
}
}
}| Variable | Description |
|---|---|
OP_SERVICE_ACCOUNT_TOKEN | Service account token for authentication (takes priority) |
OP_ACCOUNT | Account shorthand (e.g., my, work) |
OP_PASSWORD | Password for auto-signin (requires OP_ACCOUNT) |
The server exposes 65 tools organized by domain:
whoami - Get current user infosignin - Sign in to 1Passwordsignout - Sign out of 1Passwordaccount_list - List configured accountsaccount_get - Get account detailsaccount_add - Add a new accountaccount_forget - Remove an account from devicevault_list - List vaultsvault_get - Get vault detailsvault_create - Create a vaultvault_edit - Edit a vaultvault_delete - Delete a vaultvault_user_list - List users with vault accessvault_user_grant - Grant user access to vaultvault_user_revoke - Revoke user access from vaultvault_group_list - List groups with vault accessvault_group_grant - Grant group access to vaultvault_group_revoke - Revoke group access from vaultitem_list - List itemsitem_get - Get item detailsitem_create - Create an itemitem_edit - Edit an itemitem_delete - Delete an itemitem_move - Move item to another vaultitem_share - Create shareable linkitem_template_list - List item templatesitem_template_get - Get template detailsdocument_list - List documentsdocument_get - Download documentdocument_create - Upload documentdocument_edit - Replace document contentdocument_delete - Delete documentuser_list - List usersuser_get - Get user detailsuser_provision - Create new useruser_confirm - Confirm pending useruser_edit - Edit useruser_suspend - Suspend useruser_reactivate - Reactivate useruser_delete - Delete usergroup_list - List groupsgroup_get - Get group detailsgroup_create - Create groupgroup_edit - Edit groupgroup_delete - Delete groupgroup_user_list - List group membersgroup_user_grant - Add user to groupgroup_user_revoke - Remove user from groupconnect_server_list - List Connect serversconnect_server_get - Get server detailsconnect_server_create - Create serverconnect_server_edit - Edit serverconnect_server_delete - Delete serverconnect_token_list - List tokensconnect_token_create - Create tokenconnect_token_edit - Edit tokenconnect_token_delete - Delete tokenconnect_vault_grant - Grant vault accessconnect_vault_revoke - Revoke vault accessservice_account_create - Create service accountservice_account_ratelimit - Check rate limitevents_api_create - Create Events API integrationsecret_read - Read secret by referencesecret_inject - Inject secrets into templatesecret_run - Run command with secrets# Type check
bun run typecheck
# Build (optional)
bun run buildThe project includes a comprehensive integration test suite that runs against a real 1Password account.
Ensure you're authenticated before running tests:
export OP_ACCOUNT="my"
export OP_PASSWORD="your-password"# Run all tests
bun test
# Run specific test suites
bun test:auth # Authentication tests
bun test:account # Account management tests
bun test:vault # Vault CRUD tests
bun test:item # Item CRUD tests
bun test:document # Document upload/download tests
bun test:user # User management tests (admin required)
bun test:group # Group management tests
bun test:connect # Connect server tests (Business/Teams required)
bun test:service # Service account tests
bun test:events # Events API tests (Business/Enterprise required)
bun test:secrets # Secret read/inject testsop-mcp-test prefix for easy identificationop-mcp-test-vault is created/reused for item and document testsMIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.