This is a Model Context Protocol (MCP) server that provides comprehensive SQLite database interaction capabilities. - Complete CRUD operations (Create, Read, Update, Delete) - Database exploration and introspection - Execute custom SQL queries Define the command in your IDE's MCP Server settings: e.g. Cursor: e.g. VSCode: Your database path must be provided as an argument. Get detailed information
Add this skill
npx mdskills install jparkerweb/mcp-sqliteWell-documented MCP server with comprehensive SQLite tools and clear setup instructions
1# ๐ MCP SQLite Server2This is a Model Context Protocol (MCP) server that provides comprehensive SQLite database interaction capabilities.3456#### Maintained by7<a href="https://www.equilllabs.com">8 <img src="https://raw.githubusercontent.com/jparkerweb/eQuill-Labs/refs/heads/main/src/static/images/logo-text-outline.png" alt="eQuill Labs" height="32">9</a>1011## Features12- Complete CRUD operations (Create, Read, Update, Delete)13- Database exploration and introspection14- Execute custom SQL queries1516## Setup1718Define the command in your IDE's MCP Server settings:1920e.g. `Cursor`:21```json22{23 "mcpServers": {24 "MCP SQLite Server": {25 "command": "npx",26 "args": [27 "-y",28 "mcp-sqlite",29 "<path-to-your-sqlite-database.db>"30 ]31 }32 }33}34```3536e.g. `VSCode`:37```json38{39 "servers": {40 "MCP SQLite Server": {41 "type": "stdio",42 "command": "npx",43 "args": [44 "-y",45 "mcp-sqlite",46 "<path-to-your-sqlite-database.db>"47 ]48 }49 }50}51```52535455Your database path must be provided as an argument.5657## Available Tools5859### Database Information6061#### db_info6263Get detailed information about the connected database.6465Example:66```json67{68 "method": "tools/call",69 "params": {70 "name": "db_info",71 "arguments": {}72 }73}74```7576#### list_tables7778List all tables in the database.7980Example:81```json82{83 "method": "tools/call",84 "params": {85 "name": "list_tables",86 "arguments": {}87 }88}89```9091#### get_table_schema9293Get detailed information about a table's schema.9495Parameters:96- `tableName` (string): Name of the table9798Example:99```json100{101 "method": "tools/call",102 "params": {103 "name": "get_table_schema",104 "arguments": {105 "tableName": "users"106 }107 }108}109```110111### CRUD Operations112113#### create_record114115Insert a new record into a table.116117Parameters:118- `table` (string): Name of the table119- `data` (object): Record data as key-value pairs120121Example:122```json123{124 "method": "tools/call",125 "params": {126 "name": "create_record",127 "arguments": {128 "table": "users",129 "data": {130 "name": "John Doe",131 "email": "john@example.com",132 "age": 30133 }134 }135 }136}137```138139#### read_records140141Query records from a table with optional filtering.142143Parameters:144- `table` (string): Name of the table145- `conditions` (object, optional): Filter conditions as key-value pairs146- `limit` (number, optional): Maximum number of records to return147- `offset` (number, optional): Number of records to skip148149Example:150```json151{152 "method": "tools/call",153 "params": {154 "name": "read_records",155 "arguments": {156 "table": "users",157 "conditions": {158 "age": 30159 },160 "limit": 10,161 "offset": 0162 }163 }164}165```166167#### update_records168169Update records in a table that match specified conditions.170171Parameters:172- `table` (string): Name of the table173- `data` (object): New values as key-value pairs174- `conditions` (object): Filter conditions as key-value pairs175176Example:177```json178{179 "method": "tools/call",180 "params": {181 "name": "update_records",182 "arguments": {183 "table": "users",184 "data": {185 "email": "john.updated@example.com"186 },187 "conditions": {188 "id": 1189 }190 }191 }192}193```194195#### delete_records196197Delete records from a table that match specified conditions.198199Parameters:200- `table` (string): Name of the table201- `conditions` (object): Filter conditions as key-value pairs202203Example:204```json205{206 "method": "tools/call",207 "params": {208 "name": "delete_records",209 "arguments": {210 "table": "users",211 "conditions": {212 "id": 1213 }214 }215 }216}217```218219### Custom Queries220221#### query222223Execute a custom SQL query against the connected SQLite database.224225Parameters:226- `sql` (string): The SQL query to execute227- `values` (array, optional): Array of parameter values to use in the query228229Example:230```json231{232 "method": "tools/call",233 "params": {234 "name": "query",235 "arguments": {236 "sql": "SELECT * FROM users WHERE id = ?",237 "values": [1]238 }239 }240}241```242243## Built with244245- [Model Context Protocol SDK](https://github.com/modelcontextprotocol/typescript-sdk)246- [sqlite3](https://github.com/TryGhost/node-sqlite3)247248---249250## Appreciation251If you enjoy this library please consider sending me a tip to support my work ๐252### [๐ต tip me here](https://ko-fi.com/jparkerweb)253
Full transparency โ inspect the skill content before installing.