Credential Manager MCP Server

Credential Manager MCP Server

A secure MCP server for local API credential management using JSON storage and a read-only default mode. It allows users to list, retrieve, and manage credentials via simple command-line tools and environment-based configuration.

Category
Visit Server

README

๐Ÿ” Credential Manager MCP Server

Test License: MIT Python 3.13+

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured