SQLite Remote
MCP server for remote SQLite databases via Turso/libSQL.
Что умеет
- Sqlite Query: Execute a SELECT query on the SQLite database and return rows as a JSON array. Use this for reading data — supports any valid SELECT statement with optional parameter binding for safe qu
- Sqlite Execute: Execute a write statement (INSERT, UPDATE, DELETE, CREATE, ALTER, DROP) on the SQLite database. Returns the number of rows changed and the last inserted row ID. Use parameter binding f
- Sqlite Run Script: Execute multiple SQL statements in a single transaction. All statements succeed or all fail (atomic). Separate statements with semicolons. Use for migrations, seed data, or batch op
Какие данные видит
Нужен ли аккаунт
Нужен API-ключ из настроек сервиса
MCP server for remote SQLite databases via Turso/libSQL.
- 15 tools for query, schema, indexes, and optimization.
- Connect to cloud-hosted SQLite databases using libsql://URLs.
Features:
- Execute SQL queries and statements with parameter binding
- Full schema management (tables, columns, indexes, foreign keys)
- Database analysis (size, table stats, integrity check)
- WAL mode enabled for better concurrency
Install (Claude Desktop / Cursor): npx -y @node2flow/sqlite-mcp
Tool categories:
- Query (3): execute_query, execute_run, execute_many
- Schema (4): list_tables, describe_table, list_indexes, list_foreign_keys
- Table (3): create_table, alter_table, drop_table
- Index (2): create_index, drop_index
- Database (3): get_info, vacuum, integrity_check
Configuration:
- SQLITE_DB_URL (required) — Path to your Turso URL SQLite database.
- SQLITE_AUTH_TOKEN — Auth token for Turso (required for authenticated databases)
Как подключить
Как подключить SQLite Remote к Claude
Адрес сервера, который нужно вставить в настройках Claude:
https://sqlite-remote--node2flow.run.tools
- Откройте Claude (сайт claude.ai или приложение для компьютера).
- Перейдите в Настройки → Коннекторы (в английском интерфейсе: Settings → Connectors).
- Нажмите Добавить пользовательский коннектор (Add custom connector).
- Вставьте адрес сервера, скопированный ниже, в поле URL удалённого MCP-сервера и нажмите Добавить.
- В чате нажмите + → Коннекторы и включите новый коннектор.
Пользовательские коннекторы доступны на тарифах Free, Pro, Max, Team и Enterprise. На Free можно добавить только один. В Team и Enterprise коннектор сначала добавляет владелец организации в Настройки организации → Коннекторы.
Авторизация
После нажатия Добавить откроется окно входа в сервис. Войдите под своим аккаунтом и подтвердите доступ. Пароль Claude не видит.
Как подключить SQLite Remote к ChatGPT
Адрес сервера, который нужно вставить в настройках ChatGPT:
https://sqlite-remote--node2flow.run.tools
- Откройте ChatGPT в браузере (chatgpt.com). Нужен тариф Plus, Pro, Business, Enterprise или Edu.
- Один раз включите режим разработчика: Настройки → Приложения → Дополнительные настройки → Режим разработчика (Settings → Apps → Advanced settings → Developer mode).
- Откройте Настройки → Коннекторы и нажмите Создать (Create).
- Заполните форму: Название (любое), Описание (одна фраза, что делает сервис), URL MCP-сервера (скопируйте ниже).
- В поле Аутентификация выберите OAuth, если сервис требует вход, иначе Нет. Нажмите Создать.
- В новом чате откройте + → Приложения/Коннекторы и включите коннектор.
Название раздела у OpenAI менялось (Connectors → Apps/Plugins). Если пункт называется иначе, ищите «режим разработчика» в настройках. В рабочих пространствах Business/Enterprise администратор должен разрешить пользовательские коннекторы.
Авторизация
При первом использовании ChatGPT откроет окно входа в сервис. Войдите и подтвердите доступ.
Как подключить SQLite Remote к Cursor
Адрес сервера, который нужно вставить в настройках Cursor:
https://sqlite-remote--node2flow.run.tools
Быстрый способ: нажмите кнопку Открыть в Cursor ниже, Cursor сам предложит добавить сервер.
Вручную:
- В Cursor откройте Settings → Cursor Settings → MCP и нажмите Add new global MCP server.
- Вставьте JSON, скопированный ниже, в открывшийся файл
~/.cursor/mcp.json(для одного проекта:.cursor/mcp.jsonв корне проекта). - Сохраните файл. Сервер появится в списке MCP; при необходимости пройдите авторизацию по кнопке рядом с ним.
Авторизация
Если сервис требует вход, рядом с сервером в списке MCP появится кнопка авторизации.
Список инструментов сервера (15)
Технические названия из tools/list. Нужны только разработчикам.
| sqlite_query | Execute a SELECT query on the SQLite database and return rows as a JSON array. Use this for reading data — supports any valid SELECT statement with optional parameter binding for safe queries. |
| sqlite_execute | Execute a write statement (INSERT, UPDATE, DELETE, CREATE, ALTER, DROP) on the SQLite database. Returns the number of rows changed and the last inserted row ID. Use parameter binding for safe writes. |
| sqlite_run_script | Execute multiple SQL statements in a single transaction. All statements succeed or all fail (atomic). Separate statements with semicolons. Use for migrations, seed data, or batch operations. |
| sqlite_list_tables | List all tables and views in the database with their row counts. Use this as the first step to explore an unfamiliar database. Returns table name, type (table or view), and row count. |
| sqlite_describe_table | Get the column schema of a table — column names, data types, NOT NULL constraints, default values, and primary key flags. Also returns the CREATE TABLE SQL statement. |
| sqlite_list_indexes | List all indexes on a table — index name, uniqueness, origin (manual or auto-created), and whether it is a partial index. |
| sqlite_list_foreign_keys | List foreign key constraints on a table — referenced table, local and remote columns, ON UPDATE and ON DELETE actions. |
| sqlite_create_table | Create a new table with column definitions. Each column has a name, type, and optional constraints (PRIMARY KEY, NOT NULL, UNIQUE, DEFAULT). Use ifNotExists to skip if the table already exists. |
| sqlite_alter_table | Alter an existing table — add a new column, rename a column, or rename the table. SQLite does not support dropping columns via ALTER TABLE. |
| sqlite_drop_table | Drop (delete) a table and all its data permanently. This action is irreversible. Use ifExists to avoid errors if the table does not exist. |
| sqlite_create_index | Create an index on one or more columns to speed up queries. Optionally create a UNIQUE index to enforce uniqueness. Index name is auto-generated if not provided. |
| sqlite_drop_index | Drop (delete) an index by name. Does not affect the table data, only removes the index. Use ifExists to avoid errors if the index does not exist. |
| sqlite_get_info | Get database metadata — file path, file size, table count, page count, page size, journal mode, WAL status, encoding, and SQLite version. Use this to understand the database state. |
| sqlite_vacuum | Optimize and compact the database file by rebuilding it. Reclaims space from deleted rows and defragments the file. Returns file size before and after. May take time on large databases. |
| sqlite_integrity_check | Run PRAGMA integrity_check to verify the database is not corrupted. Returns "ok" if the database is healthy, or a list of issues found. Use after crashes or suspicious behavior. |