mcp-sqlite-tools
v0.0.11MCP server for local SQLite database operations
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
open_database ✓ SAFE: Open or create a SQLite database file
✓ SAFE: Open or create a SQLite database file
| Parameter | Type | Description |
|---|---|---|
path * | string | |
create | boolean |
close_database ✓ SAFE: Close a database connection
✓ SAFE: Close a database connection
| Parameter | Type | Description |
|---|---|---|
database | string |
list_databases ✓ SAFE: List available database files in a directory
✓ SAFE: List available database files in a directory
| Parameter | Type | Description |
|---|---|---|
directory | string |
database_info ✓ SAFE: Get information about a database (size, tables, etc.)
✓ SAFE: Get information about a database (size, tables, etc.)
| Parameter | Type | Description |
|---|---|---|
database | string |
list_tables ✓ SAFE: List all tables and views in a database
✓ SAFE: List all tables and views in a database
| Parameter | Type | Description |
|---|---|---|
database | string |
describe_table ✓ SAFE: Get schema information for a table
✓ SAFE: Get schema information for a table
| Parameter | Type | Description |
|---|---|---|
table * | string | |
database | string |
create_table ⚠️ SCHEMA CHANGE: Create a new table with specified columns
⚠️ SCHEMA CHANGE: Create a new table with specified columns
| Parameter | Type | Description |
|---|---|---|
columns * | array | |
name * | string | |
database | string |
drop_table ⚠️ DESTRUCTIVE: Permanently delete a table and all its data
⚠️ DESTRUCTIVE: Permanently delete a table and all its data
| Parameter | Type | Description |
|---|---|---|
table * | string | |
database | string |
backup_database ✓ SAFE: Create a backup copy of a database
✓ SAFE: Create a backup copy of a database
| Parameter | Type | Description |
|---|---|---|
backup_path | string | |
source_database | string |
vacuum_database ✓ MAINTENANCE: Optimize database storage by reclaiming unused space
✓ MAINTENANCE: Optimize database storage by reclaiming unused space
| Parameter | Type | Description |
|---|---|---|
database | string |
execute_read_query ✓ SAFE: Execute read-only SQL queries (SELECT, PRAGMA, EXPLAIN)
✓ SAFE: Execute read-only SQL queries (SELECT, PRAGMA, EXPLAIN)
| Parameter | Type | Description |
|---|---|---|
query * | string | |
database | string | |
params | object |
execute_write_query ⚠️ DESTRUCTIVE: Execute SQL that modifies data (INSERT, UPDATE, DELETE)
⚠️ DESTRUCTIVE: Execute SQL that modifies data (INSERT, UPDATE, DELETE)
| Parameter | Type | Description |
|---|---|---|
query * | string | |
database | string | |
params | object |
execute_schema_query ⚠️ SCHEMA CHANGE: Execute DDL queries (CREATE, ALTER, DROP)
⚠️ SCHEMA CHANGE: Execute DDL queries (CREATE, ALTER, DROP)
| Parameter | Type | Description |
|---|---|---|
query * | string | |
database | string | |
params | object |
bulk_insert ⚠️ DESTRUCTIVE: Insert multiple records efficiently in batches
⚠️ DESTRUCTIVE: Insert multiple records efficiently in batches
| Parameter | Type | Description |
|---|---|---|
data * | array | |
table * | string | |
batch_size | number | |
database | string |
begin_transaction ⚠️ TRANSACTION: Begin a database transaction
⚠️ TRANSACTION: Begin a database transaction
| Parameter | Type | Description |
|---|---|---|
database | string |
commit_transaction ✓ TRANSACTION: Commit the current database transaction
✓ TRANSACTION: Commit the current database transaction
| Parameter | Type | Description |
|---|---|---|
database | string |
rollback_transaction ⚠️ TRANSACTION: Rollback the current database transaction
⚠️ TRANSACTION: Rollback the current database transaction
| Parameter | Type | Description |
|---|---|---|
database | string |
export_schema ✓ SAFE: Export database schema as SQL or JSON
✓ SAFE: Export database schema as SQL or JSON
| Parameter | Type | Description |
|---|---|---|
database | string | |
format | ||
tables | array |
import_schema ⚠️ SCHEMA CHANGE: Import and execute schema from SQL or JSON
⚠️ SCHEMA CHANGE: Import and execute schema from SQL or JSON
| Parameter | Type | Description |
|---|---|---|
schema * | string | |
database | string | |
format |