Skip to main content
Glama
credential-use-mcp

credential-use-mcp

by aorizondo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CREDUSE_KDBX_PATHNoThe KDBX file~/.config/credential-use/credentials.kdbx
CREDUSE_KDBX_GROUPNoGroup where new entries gocredential-use
CREDUSE_URL_ACCESSNoWhere pages are offered: `loopback`, `opentunnel`, `both`loopback
CREDUSE_KDBX_CREATENoCreate the file when missingtrue
CREDUSE_KDBX_KEYFILENoKeePass key file (alone or with a password)
CREDUSE_SECRET_INPUTNoPreferred way to ask: `form` or `url`form
CREDUSE_APPROVAL_USESNoRequests proposed (0: propose a time limit only)0
CREDUSE_KDBX_PASSWORDNoMaster password
CREDUSE_APPROVAL_MINUTESNoMinutes proposed when approving a proxy15
CREDUSE_KDBX_PASSWORD_ENVNoName of another environment variable that holds the master password
CREDUSE_MIN_SECRET_LENGTHNoShorter secrets are refused6
CREDUSE_KDBX_PASSWORD_FILENoFile whose first line is the master password

Instructions

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

credential-use keeps passwords, tokens and API keys in a KeePassXC (KDBX) file. You manage them yourself, and the user approves every step in a form or page.

  • A task needs a secret the user has not stored: cred_add {name, kind, url…} without "secret"; the user types it and you never see it. Never ask for a secret in the chat.

  • You already have the secret (you generated it, or the user gave it to you): cred_add or cred_edit with "secret" and the other fields. The user checks or edits your values; nothing is saved until they submit.

  • To call an HTTP API with a stored credential: proxy_open {credential}. The user approves it for some minutes and/or requests; then send your requests to the returned http://127.0.0.1 URL (curl, fetch…). The proxy adds the authentication, so do not add your own. Close it with proxy_close when done. A 403 from a proxy means its approval ran out: call proxy_open again.

  • You need the value itself (a CLI flag, a config file) and a proxy cannot help: cred_reveal {name, reason}. The user approves each read. Never echo the value back. If it arrives as a marker like [SECRET:…], your host redacts secrets: use the marker as it is in tool arguments and the host restores the value when the tool runs.

  • cred_list shows names, kinds and hosts only. cred_remove deletes one after the user confirms.

  • The event "credentials.changed" fires when a credential is added, updated or removed. For worked examples read the skill credential-use.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}
extensions
{
  "io.modelcontextprotocol/events": {},
  "io.modelcontextprotocol/skills": {
    "directoryRead": true
  }
}

Tools

Functions exposed to the LLM to take actions

NameDescription
cred_listA

List the stored credentials: name, kind, host and username only, never a secret.

cred_addA

Store a new password, token or API key. Everything you pass comes prefilled in a form or page the user checks, edits and submits; nothing is stored until then. Without secret the user types it, so you never see it: do that whenever a task needs a secret the user has not stored, and never ask for one in the chat. Pass secret only when you already have it (you generated it, or the user gave it to you). You get public metadata back; then use the credential through proxy_open.

cred_editA

Change a stored credential. The form comes prefilled with its public fields plus the changes you propose (rename, kind, URL, username, header, notes, and a new secret only if you already have it); the user checks, edits and submits. Propose nothing to let the user make the changes. The stored secret is never shown to you.

cred_removeA

Delete a stored credential after the user confirms it.

cred_revealA

Get a stored secret's value, after the user approves this one read (they see your reason). Use it only when the secret itself is needed (a CLI flag, a config file) and proxy_open cannot do the job; for HTTP APIs use proxy_open. Do not repeat the value in your messages or write it anywhere it is not needed.

proxy_openA

Open a local proxy to a stored HTTP credential's service: requests to the returned http://127.0.0.1 URL reach the service with the credential's authentication added, so you never handle the secret. The user approves it for some minutes and/or requests; while that lasts, calling it again returns the same proxy without asking.

proxy_listA

List the open proxies (URL, target, requests made) and the approvals still valid.

proxy_closeA

Close a proxy (by credential name or proxy id) and, unless keepApproval is true, end its approval.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
credential-useManage and use passwords, tokens and API keys with the user's approval. Store a secret the user types in a form (cred_add) or one you propose for them to check, call services through an approved local proxy (proxy_open), and read a value only when approved (cred_reveal). Use whenever a task needs authentication or a stored secret.

TDQS

A4.3/5.0

Scored across 8 tools

Disambiguation5/5

The set splits cleanly into two namespaced groups: cred_* for credential CRUD/reveal and proxy_* for proxy lifecycle. Within each group every tool targets a distinct action, and the descriptions explicitly resolve the only potential confusion (cred_reveal vs proxy_open) by stating when each should be used.

Naming Consistency5/5

All eight tools follow a uniform snake_case prefix_verb pattern (cred_list, cred_add, cred_edit, cred_remove, cred_reveal, proxy_list, proxy_open, proxy_close). The two prefixes map predictably to the two resource families.

Tool Count5/5

Eight tools is well-scoped for a credential vault plus proxy surface, with no redundant or filler tools. Each tool earns its place in a clear lifecycle.

Completeness4/5

Credential lifecycle (list/add/edit/remove/reveal) and proxy lifecycle (list/open/close) are both covered, with no dead ends for core workflows. Minor gaps exist, such as no standalone way to inspect or revoke a single approval beyond closing its proxy, but these are workaroundable.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues