Back to MCP Directory
SQLite
Model Context Protocol moderate risk

SQLite

The MCP SQLite Server enables comprehensive interaction with SQLite databases, including CRUD operations, schema exploration, and custom SQL queries, posing moderate risks.

Connections & Capabilities

Connects To

GitHubSQLite

Capabilities

readwriteexecadmin

Quickstart

Config

{
    "mcpServers": {
        "MCP SQLite Server": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-sqlite",
                "<path-to-your-sqlite-database.db>"
            ]
        }
    }
}

Exposed MCP Tools (8)

safe
db_info

Retrieves detailed information about the connected SQLite database.

Read-only operation with no side effects.

safe
list_tables

Lists all tables present within the connected SQLite database.

Read-only operation; only lists table names.

safe
get_table_schema

Provides the schema information for a specified table.

Read-only operation; retrieves table structure.

moderate
create_record

Inserts a new record into a specified table.

Modifies data by adding new records.

safe
read_records

Queries records from a table, optionally filtered by conditions.

Read-only operation; retrieves data based on conditions.

high
update_records

Updates records in a table that match specified conditions.

Modifies existing data based on conditions.

critical
delete_records

Deletes records from a table that match specified conditions.

Destructive operation; removes data from the database.

critical
query

Executes a custom SQL query against the connected SQLite database.

Allows arbitrary SQL execution, posing a high risk of SQL injection and data breaches.

Safety Assessment

This server is relatively safe for read-only operations and basic CRUD if the database is properly secured. However, the 'query' tool and lack of authentication make it risky when handling untrusted inputs or operating in sensitive environments. Always sanitize inputs and limit database access privileges.

  • No inherent network exposure as it operates locally.
  • CRUD operations are contained within the database.
  • Clear separation of concerns with defined tool functionalities.
  • Database access is limited to the specified SQLite file.
  • Custom SQL queries ('query' tool) introduce a high risk of SQL injection if not carefully managed.
  • Lack of built-in authentication mechanisms.
  • Potential for data modification or deletion via CRUD operations.
  • No sandboxing or resource limits are mentioned, which could lead to resource exhaustion.
SQLite Review, Pricing & Alternatives (2026) | Flaex AI