io.github.atarkowska/fastmcp-sqltools

Registre officiel Données et bases de données

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

Que pouvez-vous faire avec io.github.atarkowska/fastmcp-sqltools ?

  • 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

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

PYPI package fastmcp-sqltools
Claude Code
claude mcp add fastmcp-sqltools -- uvx fastmcp-sqltools==0.3.0
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "fastmcp-sqltools": {
            "command": "uvx",
            "args": [
                "fastmcp-sqltools==0.3.0"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. FastMCP SQL Tools
  2. Features
  3. Supported Databases
  4. Configuration
  5. License

FastMCP SQL Tools

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.

Questions fréquentes

Qu'est-ce que io.github.atarkowska/fastmcp-sqltools ?

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

Comment installer io.github.atarkowska/fastmcp-sqltools ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add fastmcp-sqltools -- uvx fastmcp-sqltools==0.3.0. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.atarkowska/fastmcp-sqltools ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

io.github.atarkowska/fastmcp-sqltools est-il open source ?

Oui. Son code est sur GitHub sous licence AGPL-3.0.

Qui maintient io.github.atarkowska/fastmcp-sqltools ?

Il est publié par atarkowska. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.