1Password Enabled MySQL Server
БесплатноНе проверенProvides secure MySQL database access using credentials stored in 1Password, enabling AI assistants to query MySQL databases without exposing passwords.
Описание
Provides secure MySQL database access using credentials stored in 1Password, enabling AI assistants to query MySQL databases without exposing passwords.
README
A Model Context Protocol (MCP) server that provides secure MySQL database access using credentials stored in 1Password. This server allows AI assistants and other MCP clients to query MySQL databases while maintaining security best practices by keeping database credentials in 1Password rather than in configuration files. By combining this into a single tool, the AI model does not ever see any passwords.
Requirements
- Python 3.10+
- uv (Python package manager)
- 1Password Desktop App and 1Password CLI
- MySQL server access
Installation
MacOS
# Install dependencies
brew install uv 1password-cli
# Install Python dependencies
uv sync
Other Platforms
# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install 1Password CLI
# Visit: https://developer.1password.com/docs/cli/get-started/
# Install Python dependencies
uv sync
Setup
1. 1Password Configuration
Ensure 1Password CLI access is enabled. Can be enabled by going to Settings -> Developer -> "Integrate with 1Password CLI". You can verify this is installed correctly by running:
op vault list
Create database items in 1Password using the database type with the following fields:
hostname: MySQL server hostnameusername: MySQL usernamepassword: MySQL passworddatabase: Database nameport: MySQL port (optional, defaults to 3306)
2. Environment Configuration
Configure the following environment variables:
RO_DB_ENTRIES: Comma-separated list of 1Password item names for read-only databasesRW_DB_ENTRIES: Comma-separated list of 1Password item names for read-write databases
3. MCP Server Configuration
Add this to your MCP Server configuration file:
{
"mcpServers": {
"mysql": {
"command": "[PATH_TO]/uv",
"args": [
"--directory",
"[CODE_PATH]",
"run",
"main.py"
],
"env": {
"RO_DB_ENTRIES": "Dev Auth DB",
"RW_DB_ENTRIES": "Dev Dashboard DB,Dev Library DB"
}
}
}
}
Replace [PATH_TO]/uv with the actual path to your uv installation and [CODE_PATH] with the path to this project directory.
Установка 1Password Enabled MySQL Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/chrisdail/mcp-mysql-1password-serverFAQ
1Password Enabled MySQL Server MCP бесплатный?
Да, 1Password Enabled MySQL Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для 1Password Enabled MySQL Server?
Нет, 1Password Enabled MySQL Server работает без API-ключей и переменных окружения.
1Password Enabled MySQL Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить 1Password Enabled MySQL Server в Claude Desktop, Claude Code или Cursor?
Открой 1Password Enabled MySQL Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
автор: wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
автор: madhurprashPostgres
Query your database in natural language
автор: AnthropicPostgreSQL
Read-only database access with schema inspection.
автор: modelcontextprotocolCompare 1Password Enabled MySQL Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории data
