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.
相關伺服器
Alpha Vantage MCP Server
贊助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Reloaderoo
A local MCP server for developers that mirrors your in-development MCP server, allowing seamless restarts and tool updates so you can build, test, and iterate on your MCP server within the same AI session without interruption.
Health Microservice API
A FastAPI microservice for health-related operations, featuring JWT authentication and a PostgreSQL database with Alembic migrations.
Azure DevOps MCP Server for Cursor
An MCP server for Azure DevOps with tools for project management, work items, pull requests, builds, tests, and more.
MCP Performance Analysis Server
A server for detecting critical performance issues in code, providing concise analysis and output.
GhostMCP
Injectable MCP server for AI-driven reverse engineering inside processes
Remote MCP Server on Cloudflare (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication, featuring customizable tools.
SettleGrid
Per-call billing and monetization for MCP servers — add usage metering, API key validation, and Stripe payouts to any MCP tool with 2 lines of code.
Remote MCP Server for Odoo
An example of a remote MCP server for Odoo, deployable on Cloudflare Workers without authentication.
Safe Local Python Executor
A tool for safely executing local Python code without requiring external data files.
OpenAPI Invoker
Invokes any OpenAPI specification through a Model Context Protocol (MCP) server.