get-mcp-keys

0
0 Reviews
7 Stars
get-mcp-keys is a lightweight utility designed to securely load API keys for Cursor MCP servers from your home directory, preventing accidental exposure in repositories. It reads your ~/.mcprc file, injects the keys as environment variables, and runs your MCP server commands with the secrets available, ensuring secure and seamless integration with AI coding assistants.
Added on:
Created by:
Mar 19 2025
get-mcp-keys

get-mcp-keys

0 Reviews
7
0
get-mcp-keys
get-mcp-keys is a lightweight utility designed to securely load API keys for Cursor MCP servers from your home directory, preventing accidental exposure in repositories. It reads your ~/.mcprc file, injects the keys as environment variables, and runs your MCP server commands with the secrets available, ensuring secure and seamless integration with AI coding assistants.
Added on:
Created by:
Mar 19 2025
Stu Mason
Featured

What is get-mcp-keys?

get-mcp-keys is a security-focused tool that helps developers manage MCP server API keys safely. By loading keys from a local, protected file (~/.mcprc), it prevents secrets from being committed to version control systems. This utility reads the configuration file, sets the environment variables accordingly, and executes the specified MCP server commands, such as FireCrawl or Brave Search, with the secrets loaded. Its primary advantage is maintaining security without sacrificing functionality, making it ideal for developers who work with AI tools and need to keep their API keys confidential. The tool supports any MCP server that requires environment variables, offering flexible and secure secret management.

Who will use get-mcp-keys?

  • Developers using MCP servers
  • Security-conscious developers
  • AI and automation tool users
  • DevOps engineers
  • Anyone managing API keys for MCP servers

How to use the get-mcp-keys?

  • Step 1: Create a ~/.mcprc file in your home directory.
  • Step 2: Add your API keys to the ~/.mcprc file in key=value format.
  • Step 3: Make the ~/.mcprc file readable only by you (chmod 600 ~/.mcprc).
  • Step 4: Update your MCP server command to prepend 'npx @masonator/get-mcp-keys'.
  • Step 5: Run your MCP server command, and get-mcp-keys will load and inject the secrets automatically.

get-mcp-keys's Core Features & Benefits

The Core Features
  • Load API keys from local file (~/.mcprc)
  • Inject environment variables for MCP commands
  • Securely manage secrets without exposing in code or repositories
  • Support for any MCP server requiring environment variables
The Benefits
  • Enhanced security for API keys
  • Prevents accidental secret exposure
  • Seamless integration with existing workflows
  • Easy setup and usage

get-mcp-keys's Main Use Cases & Applications

  • Securing API keys in development environments
  • Automating MCP server startups with secrets
  • Managing multiple MCP keys securely
  • Integrating with AI coding assistants without hardcoding secrets

FAQs of get-mcp-keys

Developer

You may also like:

Developer Tools

A desktop application for managing server and client interactions with comprehensive functionalities.
A Model Context Protocol server for Eagle that manages data exchange between Eagle app and data sources.
A chat-based client that integrates and uses various MCP tools directly within a chat environment for enhanced productivity.
A Docker image hosting multiple MCP servers accessible through a unified entry point with supergateway integration.
Provides access to YNAB account balances, transactions, and transaction creation through MCP protocol.
A fast, scalable MCP server for managing real-time multi-client Zerodha trading operations.
A remote SSH client facilitating secure, proxy-based access to MCP servers for remote tool utilization.
A Spring-based MCP server integrating AI capabilities for managing and processing Minecraft mod communication protocols.
A minimalistic MCP client with essential chat features, supporting multiple models and contextual interactions.
A secure MCP server enabling AI agents to interact with Authenticator App for 2FA codes and passwords.

Security

A Python-based MCP server enabling secure management and automation of OPNsense firewalls via API.
Enables interaction with SharePoint Online via REST API, supporting site, list, and user management functions.
A MCP server wrapper enabling full protocol utilization without tool limits or context overload.
A server that provides access to repositories, code quality analysis, security, and coverage metrics via API.
A wrapper around MCP server to select which tools to expose to mcp clients, enhancing control and safety.
Securely run MCP servers without modifying configs by managing secrets safely through the launcher.
An advanced SSH client supporting MCP with security checks, session management, and confidential logging features.
Provides secure, relative filesystem access for AI agents with batch operations and detailed error reporting.
A client for connecting to MCP servers, enabling AI agents to discover and utilize tools via MCP protocol.
A server for sending notifications to self-hosted ntfy servers with secure token authentication support.