Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Fastmcp Sqltools

БесплатноНе проверен

A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.

GitHubEmbed

Описание

A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.

README

mcp-name: io.github.atarkowska/fastmcp-sqltools

A Model Context Protocol (MCP) server built with FastMCP that provides SQL database access with support for PostgreSQL, MySQL, and SQLite.

Features

  • list_tables: List all tables in the database
  • get_table_schema: Get detailed schema information for a table including columns, types, constraints, and indexes
  • execute_query: Execute any SQL query (INSERT, UPDATE, DELETE, DDL, etc.)
  • execute_safe_query: Execute read-only SELECT queries with additional safety checks

Supported Databases

  • PostgreSQL: Full support via asyncpg
  • MySQL: Full support via aiomysql
  • SQLite: Full support via aiosqlite

The server automatically detects the database type from the DATABASE_URL environment variable.

Configuration

Add the following to your claude_desktop_config.json:

{
    "mcpServers": {
        "sql-mcp-tools": {
            "command": "uvx",
            "args": [
                "fastmcp-sqltools"
            ],
            "env": {
                "DATABASE_URL": "<your-database-url>"
            }
        }
    }
}

Database URL Format

The DATABASE_URL should be in one of the following formats:

  • PostgreSQL: postgresql://user:password@host:port/database or postgres://user:password@host:port/database
  • MySQL: mysql://user:password@host:port/database
  • SQLite: sqlite:///path/to/database.db (use three slashes for absolute path)

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See the LICENSE file for details.

from github.com/atarkowska/fastmcp-sqltools

Установить Fastmcp Sqltools в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install fastmcp-sqltools

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add fastmcp-sqltools -- uvx fastmcp-sqltools

FAQ

Fastmcp Sqltools MCP бесплатный?

Да, Fastmcp Sqltools MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Fastmcp Sqltools?

Нет, Fastmcp Sqltools работает без API-ключей и переменных окружения.

Fastmcp Sqltools — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Fastmcp Sqltools в Claude Desktop, Claude Code или Cursor?

Открой Fastmcp Sqltools на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Fastmcp Sqltools with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории data