SQLite Cloud MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SQLite Cloud MCP Serverlist tables in the database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Model Context Protocol (MCP) Server for SQLite Cloud
This project is currently in the experimental phase. Feel free to explore, report issues, and share your feedback.
Overview
The MCP Server for SQLite Cloud enables seamless interaction with SQLite Cloud databases using the AI models. It utilizes the Model Context Protocol (MCP) to provide tools for executing queries, managing schemas, and analyzing query performance.
Related MCP server: mcp-sqlite-manager
Features
Query Execution: Perform
SELECT,INSERT,UPDATE, andDELETESQL operations on SQLite Cloud databases.Schema Management: Create tables, list existing ones, and retrieve schema details.
Command Execution: Run predefined commands supported by SQLite Cloud.
Performance Analysis: Identify slow queries, analyze query plans, and reset query statistics.
Tools
The MCP Server offers the following tools:
read-query: Perform
SELECTqueries and fetch results.write-query: Perform
INSERT,UPDATE, orDELETEoperations.create-table: Create new database tables.
list-tables: Display all tables in the database.
describe-table: Retrieve schema details for a specific table.
list-commands: List available commands and access external documentation.
execute-command: Run commands from the
list-commandstool.list-analyzer: Analyze slow queries with optional filters.
analyzer-plan-id: Gather details about query plans and indexes.
analyzer-reset: Reset query statistics for specific queries, groups, or databases.
Getting Started
To use the MCP Server, create a free account on SQLite Cloud and get your Connection String.
Start the server with the following command:
npx @sqlitecloud/mcp-server --connectionString <your_connection_string>Replace <your_connection_string> with your SQLite Cloud connection string.
Configure Your AI model
Requirements
Ensure Node.js is installed on your machine with:
node --versionIf Node.js is not installed, you can download it from nodejs.org.
VSCode Integration
Refer to the official documentation for detailed instructions.
In the root of your project create the file
.vscode/mcp.jsonAdd the following configuration (choose the server configuration you prefer):
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "sqlitecloud-connection-string",
"description": "Set the SQLite Cloud Connection String",
"password": true
}
],
"servers": {
"sqlitecloud-mcp-server-dev": {
"type": "stdio",
"command": "node",
"args": [
"./build/index.js",
"--connectionString",
"${input:sqlitecloud-connection-string}"
]
},
"sqlitecloud-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sqlitecloud/mcp-server",
"--connectionString",
"${input:sqlitecloud-connection-string}"
]
},
"sqlitecloud-mcp-server-sse": {
"type": "sse",
"url": "<YOUR_NODE_ADDRESS>/v1/mcp/sse",
"headers": {
"Authorization": "Bearer ${input:sqlitecloud-connection-string}"
}
}
}
}
}Development
Build
npm run buildRun
After building the package, run it with:
node dist/main.js --connectionString <CONNECTION_STRING>Local Testing
To locally test the package:
Pack the package:
npm packRun the packed file:
npx <PACKAGE_FILENAME>.tgz --connectionString <CONNECTION_STRING>Inspection
Use the inspector to test stdio and sse transports. First, build the package, then run:
npx @modelcontextprotocol/inspector@latestAccess the inspector at: http://127.0.0.1:6274/
Stdio Transport
Transport Type:
stdioCommand:
npxArguments:
~/<PATH_TO_PACKAGE_FOLDER> --connectionString <CONNECTION_STRING>
Note: Use the PATH_TO_PACKAGE_FOLDER from your home directory to avoid permission issues.
SSE Transport
To test sse transport with a remote or local server:
URL:
http://localhost:8090/v1/mcp/sse
This server cannot be deployed
Maintenance
Related MCP Connectors
Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
Your Supabase account in natural language: run SQL, apply migrations, manage tables, storage, edge f
Ask data questions in natural language. Get SQL, insights, and charts from your databases.
- dataOAuthco.thinair
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLM agents to perform complete database operations on SQLite databases, including creating tables, executing queries, and managing data through CRUD operations with schema inspection capabilities.21 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables SQLite database interactions including querying, updating, and schema management through structured tools.3MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to connect to and interact with PostgreSQL, MySQL, SQLite, and MongoDB databases through natural language, supporting schema exploration, query execution, data export, and more.13MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage and query SQLite databases through MCP tools, supporting CRUD operations, schema management, and saved views.4 npmMIT