Skip to content

@1pass/mcp — Drive logi from Claude/Cursor ​

Manage logi in natural language from AI tools that support MCP, such as Claude Code, Claude Desktop, and Cursor.

For example: "Show me my last 10 logi sign-in events," or "Add a staging redirect URI to the easybracket app."

Dev-time only tool

@1pass/mcp is a temporary development tool used only while onboarding an RP onto logi. It is not a runtime dependency — your deployed application runs without this MCP server, and authentication is handled entirely by the SDK/OAuth flow.

Its purpose is setup assistance: checking your OAuth apps, adding and removing redirect URIs, looking up docs during integration, and so on. Once onboarding is done, you can unmount (remove) it.

Two usage modes ​

ModeWhoWhat
End-user modeRegular usersReview your own sign-in activity, passkeys, and connected apps
Developer modeOAuth app developersView your OAuth apps, add and remove redirect URIs

All 15 tools (end-user 8 · developer 4 · docs 3) are always listed. If your PAK (Personal API Key) lacks the scope a tool needs, the server rejects the call with 403 insufficient_scope.

Installation ​

The package is published on npm as @1pass/mcp. For Claude Code, installing the plugin is the simplest option (see the AI assistant guide). Manual setup looks like this:

~/.claude.json (Claude Code):

json
{
  "mcpServers": {
    "logi": {
      "command": "npx",
      "args": ["-y", "@1pass/mcp"],
      "env": {
        "LOGI_API_URL": "https://api.1pass.dev",
        "LOGI_API_KEY": "logi_pak_xxxxxxxxxxxxx"
      }
    }
  }
}

Always set LOGI_API_URL; without it the server connects to http://localhost:3000. Node 20 or later is required.

Issue a PAK from start.1pass.dev → API Keys or /api/v1/me/api_keys, choosing scopes for the tools you plan to use.

  • End-user mode: login_history:read · login_history:write · passkeys:read · passkeys:manage · profile:read (logi_whoami, the connection check, also needs apps:read)
  • Developer mode: apps:read (view) · apps:manage (change redirect URIs)

End-user mode tools (8) ​

ToolDescriptionRequired scope
logi_whoamiCheck the PAK connection (verifies the key by listing apps)apps:read or apps:manage
logi_list_login_historyRecent sign-in activitylogin_history:read
logi_delete_login_logSoft-delete a specific log (recoverable for 90 days)login_history:write
logi_list_trashed_logsView the trashlogin_history:write
logi_restore_login_logRestorelogin_history:write
logi_list_passkeysList passkeyspasskeys:read
logi_delete_passkeyDelete a passkey (irreversible)passkeys:manage
logi_list_connected_appsThird-party apps you authorized + the data shared with eachprofile:read

Docs tools (3, no auth required) ​

These work even without API key configuration. They fetch the public markdown mirror at docs.1pass.dev/llms/* — designed so the agent references the correct docs on its first attempt when integrating logi (the LangChain mcpdoc pattern).

ToolDescriptionRequired scope
logi_fetch_quickstartThe agent quickstart guide (lang=ko|en)—
logi_get_docFetch a specific doc path (allowed prefixes: guide/, oauth/, cli/, and so on)—
logi_list_docsThe llms.txt sitemap — a list of available doc paths—
> How do I integrate logi? (→ logi_fetch_quickstart)
> Tell me about the OAuth scope types (→ logi_get_doc path=oauth/scopes.md)
> What logi docs are there? (→ logi_list_docs)

Examples ​

> Show me my last 10 logi sign-in events
> Were there any suspicious logins yesterday? Filter to outside Korea only.
> Clean up the passkeys I no longer use
> Which apps can see my email?

Developer mode tools (4) ​

View the OAuth apps (RPs) you own and change their redirect URIs.

ToolDescriptionRequired scope
logi_list_appsApps you own (id · client_id · status · redirect URIs)apps:read or apps:manage
logi_show_appFull settings for one appapps:read or apps:manage
logi_add_redirect_uriAdd a redirect URI (no-op if already present)apps:manage
logi_remove_redirect_uriRemove a redirect URI (refuses to remove the last one)apps:manage

logi_list_connected_apps lists other apps you authorized as a user; logi_list_apps lists the apps you own as a developer.

Creating apps, rotating client_secret, deleting apps, inviting team members, and viewing audit logs have no MCP tools. Use the Developer Console (web). None of these are ever exposed in the native iOS/Android apps.

Developer examples ​

> Show me my logi apps
> Add https://staging.easybracket.org/auth/callback to the easybracket app
> Remove the old onrender.com callback URL

Flow

Claude calls a tool, gets the result, and suggests the next step. For example, after adding a redirect URI it checks the change with logi_show_app.

Security ​

  • The PAK is set only through an environment variable and sent only in the Authorization: Bearer header. On startup the MCP server prints only the server URL and whether a key is set (set/MISSING), never the key itself.
  • When a redirect URI is added or removed, the server validates the URI shape and allowed hosts and records the change.
  • The irreversible passkey deletion tool and the redirect URI tools tell the agent in their descriptions to confirm with the user before calling. Deleted logs can be restored within 90 days.

Remove after onboarding ​

Because @1pass/mcp is a dev-time tool, you can remove (unmount) it from your AI tool's configuration once RP onboarding is complete (app registration, redirect URIs, secrets, integration checks). Removing it does not affect sign-in for your deployed app — the runtime does not depend on the MCP.

1. Delete the logi block from your config

Delete the entire logi entry under mcpServers in ~/.claude.json (Claude Code). This is the block to remove:

json
{
  "mcpServers": {
    "logi": {
      "command": "npx",
      "args": ["-y", "@1pass/mcp"],
      "env": {
        "LOGI_API_URL": "https://api.1pass.dev",
        "LOGI_API_KEY": "logi_pak_xxxxxxxxxxxxx"
      }
    }
  }
}

If logi is the only entry, you can empty or remove the mcpServers object entirely.

For other tools such as Cursor and Claude Desktop, delete the logi block from their respective MCP config files (for example, claude_desktop_config.json for Claude Desktop, .cursor/mcp.json for Cursor).

2. Restart the AI tool

Restart Claude Code / Claude Desktop / Cursor so the logi MCP tools are no longer loaded.

3. (Optional) Revoke the PAK

For a PAK you no longer need, we recommend revoking it at start.1pass.dev → API Keys.

If you later need to change redirect URIs again, you can re-mount at any time by repeating the Installation steps.

Next ​

Identity가 제품의 신뢰를 만듭니다.