Enables secure management of Airtable API keys for database and spreadsheet operations
Manages Discord bot tokens and API keys for chat bot and server integrations
Provides secure management of environment variables and API keys stored in .env files with automatic categorization and backup functionality
Enables secure storage and management of Firebase API keys for backend services and authentication
Manages GitHub API tokens and keys for repository operations and development workflows
Provides secure management of Google AI and cloud service API keys
Enables management of Heroku API keys for cloud application deployment and hosting
Manages Neo4j database connection credentials and API keys for graph database operations
Provides secure storage of Netlify API keys for static site deployment and hosting
Enables secure management of OpenAI API keys for AI model interactions and completions
Supports testing framework integration for validating API key management functionality
Built on Python runtime for cross-platform API key management capabilities
Manages Railway platform API keys for cloud deployment and hosting services
Provides secure management of Slack API tokens and bot credentials for workspace integrations
Enables secure storage and management of Supabase API keys for database and authentication services
Manages Telegram bot tokens and API credentials for messaging and bot integrations
Provides secure management of Twilio API keys for SMS, voice, and communication services
Enables management of Vercel API keys for serverless deployment and hosting platforms
🔐 API Manager MCP Server
An enhanced MCP (Model Context Protocol) server for securely managing API keys that works seamlessly with Claude Desktop and Claude Code.
✨ Features
🔒 Security First
Secure file permissions (600) for environment files
Atomic file operations to prevent corruption
Automatic backups before deletions
Value masking for safe display
Input validation for all operations
📊 Smart Organization
Automatic categorization of API keys based on service providers
Advanced search across key names and categories
Statistics and analytics for your API key usage
Export functionality in multiple formats
🛠️ Enhanced Functionality
Comprehensive logging for audit trails
Command-line interface with flexible options
Error handling with detailed feedback
Backup management with timestamped backups
🎯 Supported Categories
AI/LLM Services: Anthropic, OpenAI, Google AI, Groq, Mistral, DeepSeek, etc.
Database & Storage: Supabase, Neo4j, Qdrant, Pinecone, Airtable, etc.
Communication: Discord, Slack, Twilio, Telegram, etc.
Development Tools: GitHub, Firebase, Vercel, Netlify, etc.
Cloud & Hosting: AWS, Azure, GCP, Railway, Heroku, etc.
And many more...
🚀 Quick Start
Prerequisites
Python 3.8 or higher
Claude Desktop or Claude Code
Installation
Clone the repository:
Install dependencies:
Configure for Claude Desktop:
Add to your Claude Desktop configuration file (claude_desktop_config.json
):
Configure for Claude Code:
Add to your Claude Code MCP settings:
Basic Usage
Once configured, you can use the API Manager through Claude with natural language:
📖 Detailed Usage
Available Commands
🔍 Query Commands
list_api_keys
- List all API keys with categories
show_values
: Show actual values (default: false)category
: Filter by specific category
get_api_key
- Get a specific API key by name
key_name
: Name of the key to retrieve
search_api_keys
- Search for API keys by name or category
query
: Search termshow_values
: Show actual values (default: false)
list_categories
- List all categories with counts
📝 Management Commands
add_api_key
- Add or update an API key
key_name
: Name of the API keyvalue
: The API key value
delete_api_key
- Delete an API key
key_name
: Name of the key to delete
🛠️ Utility Commands
backup_env_file
- Create timestamped backup
get_stats
- Show detailed statistics
export_keys
- Export keys in JSON or ENV format
format
: "json" or "env" (default: json)include_values
: Include actual values (default: false)
help
- Show comprehensive help
Command Line Options
Environment File Location
By default, API keys are stored in:
~/.config/api_manager/.env
You can specify a custom location using:
Command line:
--env-file /path/to/.env
Environment variable:
API_MANAGER_ENV_FILE
🔧 Configuration
Environment File Format
Security Best Practices
File Permissions: The environment file is automatically created with secure permissions (600)
Backups: Always create backups before making changes
Value Masking: Use
show_values=false
when listing keysLogging: Monitor the log file for any suspicious activity
Access Control: Limit access to the environment file location
🧪 Testing
Run the test suite:
📊 Monitoring and Logs
The API Manager creates detailed logs in api_manager.log
:
🔧 Development
Project Structure
Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
Submit a pull request
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
🤝 Support
Issues: GitHub Issues
Discussions: GitHub Discussions
Documentation: Full Documentation
🚧 Roadmap
Web UI for API key management
Integration with popular password managers
Multi-environment support (dev, staging, prod)
API key rotation notifications
Advanced audit logging
Team collaboration features
🙏 Acknowledgments
Built on the Model Context Protocol (MCP) by Anthropic
Inspired by the need for secure API key management in AI workflows
Community feedback and contributions
⚠️ Security Notice: API keys are sensitive credentials. Always follow security best practices and never commit API keys to version control systems.
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Enables secure management of API keys through an encrypted environment file with automatic categorization, search functionality, and backup operations. Provides comprehensive API key organization with value masking, audit trails, and export capabilities for safe credential management.