Skip to main content
Glama
oneguard-mcp

oneguard-mcp

Official
by oneguard-sa

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ONEGUARD_API_KEYNoInitializes the session on the first tool call. Without it, the agent must call oneguard_init with a key you supply.
ONEGUARD_CLI_PATHNoAbsolute path to the binary, when it is not on PATH.oneguard
ONEGUARD_MCP_HOMENoIsolated credential store for the agent's session.~/.oneguard-mcp
ONEGUARD_MCP_READONLYNo1 hides every mutating tool.false
ONEGUARD_MCP_TIMEOUT_MSNoPer-command timeout.60000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
oneguard_initA

Initializes this server's isolated OneGuard session with an API key and verifies it against the backend. Normally you do NOT need to call this: if ONEGUARD_API_KEY is configured on the server, the session initializes itself on the first tool call. Call this only when another tool reports that the server is not initialized, and only with a key the user gave you in this conversation — never invent one. The key is kept for this session only and does not affect the user's own oneguard login in their terminal.

oneguard_statusA

Verifies that the OneGuard CLI is installed, the session is initialized, and the backend is reachable. Returns the organization id and whether the configured API key may write. Use this first when something is not working, or before a batch of changes.

oneguard_env_syncA

THE MAIN TOOL. Fetches the secret linked to a directory and writes it into that directory's .env file, then remembers the link for next time. Call it with only project_dir when the directory is already linked (it re-pulls the latest values). If it is not linked yet, this returns the list of vaults (or secrets) to choose from — show those to the user, let THEM pick, then call again with vault and secret. Returns only the variable NAMES that were written; values go to disk and are never shown.

oneguard_env_statusB

Reports whether a directory is linked to a OneGuard secret, which one, and which variable names its .env currently holds. Read-only.

oneguard_env_pushA

Uploads the variables in a directory's .env file into the secret that directory is linked to, REPLACING what the secret held. The reverse of oneguard_env_sync. Confirm with the user first, and tell them which variable names are about to be uploaded. To add a single generated value without touching the rest, use oneguard_secrets_generate instead.

oneguard_env_unlinkA

Removes the .oneguard link file from a directory. The .env file on disk is left untouched. Equivalent to oneguard env sync --reset.

oneguard_vault_listA

Lists every vault in the organization, with the 8-character id prefix that other tools accept as a vault argument. A vault is the container that secrets live in.

oneguard_vault_addA

Creates a new vault in the organization and returns its id. A vault is the container that secrets live in.

oneguard_vault_renameA

Renames an existing vault. Secrets, links and ids are unaffected — only the display name changes.

oneguard_secrets_listA

Lists the secrets of a vault: id prefix, name, and whether it is archived. Values are never returned by any tool in this server.

oneguard_secrets_addA

Creates a new secret in a vault from a local .env file (preferred) or from a single key/value pair. Prefer from_env_file: passing a value directly means the secret value travels through this conversation. To create a secret holding a NEW generated value, create it here and then use oneguard_secrets_generate, which never reveals the value. Never invent secret values — only use what the user explicitly provided or what is already in their .env file.

oneguard_secrets_editA

Replaces a secret's stored payload. IMPORTANT: this overwrites the whole payload — a single key/value pair replaces every key the secret held. To change one variable while keeping the rest: for a generated value use oneguard_secrets_generate (which merges), otherwise sync the secret to a .env file, edit that file, and push it back with from_env_file. Confirm with the user before calling this.

oneguard_secrets_archiveA

Archives a secret. It stops appearing as active but is not deleted. Confirm with the user before calling.

oneguard_secrets_deleteA

Permanently deletes a secret and everything stored in it. This cannot be undone. Only call this after the user has explicitly asked for this specific secret to be deleted, and read the secret name back to them first.

oneguard_generateA

Generates one or more random values locally and returns them. Nothing is stored anywhere. Note that the returned value passes through this conversation — if the value is going into a OneGuard secret, use oneguard_secrets_generate instead, which stores it without ever revealing it.

oneguard_secrets_generateA

Generates a random value and stores it in a secret under the given key, WITHOUT returning the value. This merges: every other variable in the secret is preserved (unlike oneguard_secrets_edit, which replaces the whole payload). Use this whenever the user wants a new password, token or key created for a service — it is the safe path, because the value never enters this conversation. Fails if the key already exists unless force is true.

oneguard_keys_listA

Lists the organization API keys with their permission, status, expiry, capabilities and vault scope. Requires the current key to have the "Can create API keys" permission; otherwise OneGuard refuses with a 403.

oneguard_keys_createA

Creates a new API key and returns the raw secret exactly once. The new key can never be broader than the current key: no extra permission, vault scope, capabilities or lifetime. Use oneguard_keys_list first if you need the current key scope. Only call this when the user explicitly asked to create a key.

oneguard_keys_updateA

Changes an existing key permission, key-management capability, vault-creation capability or vault scope. Omitted fields keep their current value. The current key must have key-management permission, and it can never grant a scope wider than its own. The key can be named by id / 8-character prefix, or exact name.

oneguard_keys_revokeA

Disables an API key immediately, cutting off every client using it. This is not reversible from the CLI. Only call this after the user explicitly asked for this specific key, and confirm the exact key name first.

oneguard_teams_listA

Lists the members of the organization with their roles and the 8-character id prefix other team tools accept.

oneguard_teams_inviteA

Sends an invitation to join the organization. This emails a real person and grants them access once accepted, so only call it when the user explicitly asked, with the exact address they gave.

oneguard_teams_set_roleA

Changes an existing member's role in the organization. Promoting to owner or admin grants broad access to every secret, so confirm the person and the role with the user first. The member can be named by email or by their 8-character id prefix. Note that an admin caller cannot modify owners, other admins, or promote anyone to admin or owner — the server enforces this.

oneguard_teams_removeA

Removes a member from the organization and revokes their access to every secret in it. This cannot be undone — they would have to be invited again. Only call this after the user explicitly asked for this specific person to be removed, and read their email back to the user first.

oneguard_logs_listA

Returns the organization audit log — who did what to which resource, and when. Useful for answering "who changed this secret" questions.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 25 tools

Disambiguation4/5

Tools are cleanly grouped by resource (vault, secrets, keys, env, teams, logs, session) and descriptions actively cross-reference the risky pairs, e.g. oneguard_generate vs oneguard_secrets_generate and oneguard_secrets_edit vs oneguard_secrets_generate vs oneguard_env_push. Still, there are four different write paths into a secret payload (add, edit, generate, env_push) and init vs status both concern session state, so a few selections remain judgment calls.

Naming Consistency4/5

The dominant pattern is oneguard_<resource>_<action> (vault_list, secrets_add, keys_revoke, teams_set_role, env_sync), which is predictable and readable. Deviations are minor: singular 'vault' vs plural 'secrets/keys/teams/logs', 'vault_add'/'secrets_add' vs 'keys_create', and three bare tools (oneguard_init, oneguard_status, oneguard_generate) that drop the resource segment.

Tool Count4/5

25 tools is on the heavy side, but the domain genuinely spans six sub-areas (vaults, secrets, env linking, API keys, team members, audit logs) plus session bootstrap, and each tool maps to a distinct operation with its own safety semantics. Only oneguard_vault_rename and oneguard_init feel marginal, and both serve real lifecycle needs.

Completeness4/5

Secrets (list/add/edit/delete/archive/generate), API keys (list/create/update/revoke), env linking (sync/status/push/unlink), and team management (list/invite/set_role/remove) all have full lifecycle coverage. Gaps are minor: no vault delete, no way to unarchive a secret, and audit logs are read-only with a single list tool.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues