credential-manager-mcp
Credential Manager
Documentation
🔐 Credential Manager MCP Server
A secure MCP server for managing API credentials locally. Read-only by default with simple JSON storage.
✨ Features
- 🔒 Secure by default - Read-only mode prevents accidental changes
- 📁 Simple storage - `~/.credential-manager-mcp/credentials.json`
- 🔧 Easy setup - Interactive shell script
- 🔄 Multi-instance safe - Always reads fresh data from disk
- 🎯 Minimal exposure - Shows only essential data
🚀 Quick Start
1. Install & Configure
# Install from PyPI
uvx credential-manager-mcpCommon config (Claude Desktop):
{
"mcpServers": {
"credential-manager": {
"command": "uvx",
"args": ["credential-manager-mcp"],
"env": {
"CREDENTIAL_MANAGER_READ_ONLY": "false"
}
}
}
}Devlopment config (run from source):
{
"mcpServers": {
"credential-manager": {
"command": "uv",
"args": [
"--directory", "/path/to/credential-manager-mcp",
"run", "credential-manager-mcp"
],
"env": {
"CREDENTIAL_MANAGER_READ_ONLY": "false"
}
}
}
}2. Add Credentials
# Interactive mode
./add-credential.sh
# Command line
./add-credential.sh "GitHub" "https://api.github.com" "ghp_token" "username" "2024-12-31T23:59:59"🛠 Available Tools
Read-Only Mode (Default):
- `list_credentials()` - List credentials (id, app name only)
- `get_credential_details(credential_id)` - Get full details
Read-Write Mode:
- `add_credential(app, base_url, access_token, [user_name], [expires])`
- `update_credential(credential_id, [fields...])`
- `delete_credential(credential_id)`
📋 Usage Examples
# List all credentials
list_credentials()
# {"credentials": [{"id": "abc...", "app": "GitHub"}], "count": 1}
# Get credential details
get_credential_details("credential-id")
# Add new credential (write mode only)
add_credential("GitHub", "https://api.github.com", "ghp_token", "user", "2024-12-31T23:59:59")⚙️ Configuration
Environment Variables:
- `CREDENTIAL_MANAGER_READ_ONLY` - Set to `"false"` for write operations (default: `"true"`)
Expiration Format:
- `"2024-12-31T23:59:59"` - ISO datetime
- `"never"` - No expiration
🔒 Security
- Read-only by default
- Local storage only (`~/.credential-manager-mcp/credentials.json`)
- File locking for safe concurrent access
- Minimal data exposure in listings
🧪 Development
git clone https://github.com/mclamee/credential-manager-mcp.git
cd credential-manager-mcp
uv sync --dev
uv run pytest test/ -v📄 License
MIT License - see LICENSE file for details.
Frequently asked questions
What is credential-manager-mcp?
credential-manager-mcp is Credential Manager
How do I install credential-manager-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is credential-manager-mcp open source?
Yes — it is hosted on GitHub at https://github.com/mclamee/credential-manager-mcp.
Related MCP tools
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
Automate browser based workflows with AI
Hindsight: Agent Memory That Learns
A privacy-first app that strips AI watermarks from content you own.
Agent framework and applications built upon Qwen>=3.0, featuring Function Calling, MCP, Code Interpreter, RAG, Chrome extension, etc.
The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP