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
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@API Managerlist my API keys"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ 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:
git clone https://github.com/yourusername/API_Manager_MCPServer.git
cd API_Manager_MCPServerInstall dependencies:
pip install -r requirements.txtConfigure for Claude Desktop:
Add to your Claude Desktop configuration file (claude_desktop_config.json):
{
"mcpServers": {
"api-manager": {
"command": "python",
"args": ["/path/to/API_Manager_MCPServer/api_manager.py"],
"env": {}
}
}
}Configure for Claude Code:
Add to your Claude Code MCP settings:
{
"mcp": {
"servers": {
"api-manager": {
"command": "python",
"args": ["/path/to/API_Manager_MCPServer/api_manager.py"]
}
}
}
}Basic Usage
Once configured, you can use the API Manager through Claude with natural language:
"List my API keys"
"Add a new OpenAI API key"
"Search for Discord keys"
"Show statistics about my API keys"
"Create a backup of my environment file"๐ 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
python api_manager.py --help
python api_manager.py --version
python api_manager.py --env-file /custom/path/.env
python api_manager.py --log-level DEBUGEnvironment 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/.envEnvironment variable:
API_MANAGER_ENV_FILE
๐ง Configuration
Environment File Format
# API Manager Environment File
# Created on 2024-01-01 12:00:00
# AI Services
ANTHROPIC_API_KEY=sk-ant-1234567890abcdef
OPENAI_API_KEY=sk-1234567890abcdef
# Database Services
SUPABASE_API_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
# Communication
DISCORD_BOT_TOKEN=ODcyNzM0NjI5NjU2MjE3NjAwSecurity 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=falsewhen listing keysLogging: Monitor the log file for any suspicious activity
Access Control: Limit access to the environment file location
๐งช Testing
Run the test suite:
# Install test dependencies
pip install pytest pytest-asyncio pytest-cov
# Run tests
pytest tests/
# Run with coverage
pytest tests/ --cov=api_manager --cov-report=html๐ Monitoring and Logs
The API Manager creates detailed logs in api_manager.log:
# View recent activity
tail -f api_manager.log
# Search for specific operations
grep "Tool called" api_manager.log๐ง Development
Project Structure
API_Manager_MCPServer/
โโโ api_manager.py # Main MCP server
โโโ requirements.txt # Dependencies
โโโ setup.py # Package configuration
โโโ README.md # This file
โโโ LICENSE # License file
โโโ tests/ # Test suite
โ โโโ __init__.py
โ โโโ test_api_manager.py
โ โโโ test_integration.py
โโโ docs/ # Documentation
โ โโโ configuration.md
โ โโโ security.md
โ โโโ troubleshooting.md
โโโ examples/ # Usage examples
โโโ claude_desktop_config.json
โโโ usage_examples.mdContributing
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.