Skip to content

Local MCP server + GUI that lets LLMs access your secrets - but only when you and your butler want them to

License

Notifications You must be signed in to change notification settings

Stillerman/secret-butler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SecretButler πŸ—οΈ

A secure local MCP server for managing API keys with user approval

Install MCP Server

SecretButler Logo

Overview

SecretButler provides a secure way to manage and share API keys with MCP clients like Claude Desktop and Cursor. It runs as a local server with a native GUI that requires explicit user approval before sharing any secrets.

SecretButler Example

✨ Features

  • πŸ”’ Secure: Stores API keys locally in ~/.secretbutler.toml
  • πŸ‘€ User-controlled: GUI popup requires explicit approval for each request
  • πŸ”Œ MCP compatible: Works with any MCP client
  • βš™οΈ Easy setup: Simple TOML configuration
  • 🍎 Native macOS: Uses native macOS GUI components

πŸš€ Installation

Add to your MCP client configuration:

{
    "mcpServers": {
        "SecretButler": {
            "command": "uvx",
            "args": ["secretbutler"],
            "env": {
                "CLIENT_NAME": "Claude"
            }
        }
    }
}

βš™οΈ Configuration

On first run, SecretButler creates ~/.secretbutler.toml:

[secrets]
OPENAI_API_KEY = "sk-..."
ANTHROPIC_API_KEY = "sk-ant-..."
HF_API_KEY = "hf_..."

Simply edit this file to add your API keys.

πŸ› οΈ MCP Tools

Tool Description
list_secrets() Returns available secret names (no approval needed)
request_secrets(secret_names, client_name) Request specific secrets with user approval

πŸ” Security

  • βœ… Secrets stored locally only
  • βœ… No sharing without explicit approval
  • βœ… Clear approval dialogs show requested secrets and client
  • βœ… Foreground GUI prevents unauthorized access

πŸ“„ License

MIT License

About

Local MCP server + GUI that lets LLMs access your secrets - but only when you and your butler want them to

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages