prophetkey-mcp

v2.1.0
io.github.LBZ558/prophetkey-mcp Checked 3 days ago Published 1 day ago

ProphetKey MCP bridge - encrypted local-first API key vault for AI agents, keys never exposed

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

prophetkey_list_keys List API keys

List every API key stored in the local ProphetKey vault, returning each key's name, provider, safe_key identifier, and health status. Call this first to discover which safe_key to pass to prophetkey_make_request. Reads local vault metadata only: it never returns real key values and never contacts a provider. To inspect one key in detail, use prophetkey_get_key_info instead.

ParameterTypeDescription
providerstringOptional provider filter, matched case-insensitively (e.g. 'openai', 'anthropic', 'cursor'). Omit to list keys from every provider.

prophetkey_get_key_info Get API key details

Return full details for exactly one vault key, looked up by its exact name: provider, status, safe_key, created date, last-used time, and a health/expiry summary. Use this when you already know the key name and need that one key's details; to enumerate all keys, use prophetkey_list_keys instead. Reads local metadata only and never returns the real key value.

ParameterTypeDescription
name *stringExact key name as returned by prophetkey_list_keys (case-sensitive).

prophetkey_proxy_status Get proxy status

Report the state of the local ProphetKey proxy: whether it is running, its port (default 1421), how many keys are loaded, and the total number of requests handled. Use this to diagnose connectivity before calling prophetkey_make_request, or to confirm the proxy is up after the desktop app starts. Read-only, takes no arguments, and makes no provider calls; if the desktop app is not running it returns running=false rather than an error.

prophetkey_health_check Check key health

Check every stored API key and report which are healthy, expiring soon, over their usage budget, or flagged by the security score. Use this for a vault-wide status sweep; use prophetkey_get_key_info for a single key. May contact provider APIs to validate keys, so it can be slower than the other tools. Read-only: it never modifies, rotates, or deletes keys.

prophetkey_make_request Call a provider API via the proxy

Send one HTTP request to an AI provider through the local ProphetKey proxy, which injects the real API key for the given safe_key. The agent never sees or transmits the real key. Call prophetkey_list_keys first to get a safe_key. Works with OpenAI-compatible endpoints (e.g. /v1/chat/completions). Consequential: POST/PUT/DELETE can create, update, or delete provider-side resources and may incur cost. Returns the provider response body as text; error cases return an isError result with the reason — 402 when the budget is exceeded, 403 when the safe_key is revoked, unknown, or blocked by a usag…

ParameterTypeDescription
endpoint *stringProvider API path starting with '/', e.g. '/v1/chat/completions'. Scheme, host, and port are set by the proxy — do not include them.
method *stringHTTP method: GET to read, POST to create, PUT to update, DELETE to remove.
safe_key *stringsafe_key identifier of the vault key to use, obtained from prophetkey_list_keys. The proxy maps it to the real key on-device; passing a real provider key here is rejected.
bodyobjectJSON request body. Used for POST and PUT; ignored for GET and DELETE.