Credential Manager
A server for securely managing API credentials locally through the Model Context Protocol (MCP).
๐ 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-mcp
Common 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.
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Ghost MCP
An MCP server for the Ghost blogging platform with Server-Sent Events (SSE) transport support.
Sleep MCP Server
Provides a sleep/wait tool to add delays between operations, such as waiting between API calls or testing eventually consistent systems.
AgentMode
An all-in-one MCP server for developers, connecting coding AI to databases, data warehouses, data pipelines, and cloud services.
Docfork
Provides up-to-date documentation for over 9000 libraries directly within AI code editors.
Coding Standards
An MCP server for enforcing coding standards and best practices.
OTP MCP Server
Generates secure One-Time Passwords (OTP) using TOTP and HOTP algorithms.
MCPatterns
A server for storing and retrieving personalized coding patterns from a local JSONL file.
AWS Nova Canvas
Generate images using Amazon Nova Canvas with text prompts and color guidance.
Assistant MCP Server
An MCP server that dynamically loads tools from an external JSON file configured via an environment variable.
Luskad MCP
Provides access to coding rules and examples for your projects.