/AI coding agents

Get started

AI coding agents

Let Claude Code, Cursor and other agents protect keys without ever seeing them.

Vallkey has an MCP server, so AI coding agents such as Claude Code, Cursor and Windsurf can protect and manage keys for you. The agent never sees a real key: to protect one, it names the .env file and the variable, and the server on your computer reads the key, creates the ghost key and writes it back. Only the key id goes back to the agent.

Claude Code
npx vallkey loginclaude mcp add vallkey -- npx -y vallkey mcp
Cursor, Windsurf and other MCP clients
1{2  "mcpServers": {3    "vallkey": { "command": "npx", "args": ["-y", "vallkey", "mcp"] }4  }5}
ToolWhat it does
scan_projectFinds API keys in the project and .env files, masked.
protect_env_keySwaps a key in a .env file for a ghost key, and adds the base URL where the SDK reads one.
list_keys, get_keyLists your ghost keys, and shows one key's rules and status.
get_activityRecent requests, with the reason for each refused one. Agents use it to fix failing calls.
list_providersThe services Vallkey knows, with their default rules.
update_rulesChanges some rules. Looser rules still wait for the safety delay.
list_real_keys, create_ghost_keyLists real keys shared by several ghost keys, and makes another ghost key for one, inside its outer rules.
kill_keyStops a key right away. Reviving it is left to a person, in the dashboard.

The server uses the sign-in from npx vallkey login, or an API token in VALLKEY_TOKEN. Your MCP client asks before each tool runs, and every action is in your audit log.

Still have a question?

We read every email, usually within a day.

Contact support