MCPGUARD is a local-first CLI tool designed to eliminate the risks of plaintext API keys in MCP config files. By securely migrating credentials to your OS keychain, it ensures that sensitive information is never written to disk. Easily audit, migrate, and manage your credentials to maintain the integrity of your systems.
MCPGUARD - The 1Password for AI Agents
MCPGUARD is a powerful solution designed to enhance the security of your MCP (Model Context Protocol) server credentials. By replacing plaintext API keys in configuration files with secure, encrypted vault references, MCPGUARD ensures that sensitive information remains protected in your operating system's keychain and is never stored in plaintext on disk.
A significant percentage of MCP servers (53%) currently use plaintext API keys, leading to serious security vulnerabilities:
mcpguard audit command.mcpguard migrate command, ensuring credentials are securely stored in the OS keychain.Audit existing configurations:
mcpguard audit
Migrate plaintext credentials to the vault:
mcpguard migrate
Add a new credential manually:
mcpguard add github
MCPGUARD operates by scanning for and identifying plaintext credentials and then storing these credentials securely using:
MCPGUARD can automatically scan and secure credentials from various MCP configuration files, including:
~/.config/claude/claude_desktop_config.json~/.cursor/mcp.jsonThe roadmap includes anticipated features such as OAuth flows, team vaults, CI/CD integration, and more, aimed at creating a comprehensive security framework for all AI-related operations.
MCPGUARD is essential for any user leveraging the MCP landscape, providing a secure, efficient means to manage credentials while safeguarding against the risks posed by plaintext storage. For more information or to contribute, please visit the MCPGUARD GitHub repository.
No comments yet.
Sign in to be the first to comment.