# API Key Case MCP server

> Protects sensitive API keys by allowing AI agents to check registration status and manage deployments without ever seeing the actual secret values.

- Repository: https://github.com/melavern/api-key-case
- Page: https://hostedmcp.org/servers/melavern/api-key-case
- Transport: stdio
- Stars: 0
- Latest version: 1.0.1

## Install

### Claude Code

```sh
claude mcp add api-key-case -- npx -y api-key-case
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "api-key-case": {
      "command": "npx",
      "args": [
        "-y",
        "api-key-case"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "api-key-case": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "api-key-case"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"api-key-case","type":"stdio","command":"npx","args":["-y","api-key-case"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "api-key-case": {
      "command": "npx",
      "args": [
        "-y",
        "api-key-case"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add api-key-case -- npx -y api-key-case
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.api-key-case]
command = "npx"
args = ["-y", "api-key-case"]
```

### Gemini CLI

```sh
gemini mcp add -s user api-key-case npx -- -y api-key-case
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "api-key-case": {
      "command": "npx",
      "args": [
        "-y",
        "api-key-case"
      ]
    }
  }
}
```

## FAQ

### Does the AI agent see my API keys?

No, the tool returns status to the agent but never the key value itself.

### How do I save a new secret?

You can use the command `npx -y api-key-case@latest save NAME --ask` to enter the value through a separate, secure human-only dialog.

### What operating systems are supported?

It requires Node.js 20 or later and supports Windows, macOS, and Linux, though feature availability varies by OS.
