Sqlitecloud
БесплатноДавно не обновлялся (495д)Model Context Protocol server to interact with SQLite database on SQLite Cloud
Описание
Model Context Protocol server to interact with SQLite database on SQLite Cloud
README
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.
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 --version
If 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 build
Run
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 pack
- Run 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@latest
Access the inspector at: http://127.0.0.1:6274/
Stdio Transport
- Transport Type:
stdio - Command:
npx - Arguments:
~/<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
Установить Sqlitecloud в Claude Desktop, Claude Code, Cursor
unyly install sqlitecloudСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add sqlitecloud -- npx -y @sqlitecloud/mcp-serverПошаговые гайды: как установить Sqlitecloud
FAQ
Sqlitecloud MCP бесплатный?
Да, Sqlitecloud MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Sqlitecloud?
Нет, Sqlitecloud работает без API-ключей и переменных окружения.
Sqlitecloud — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Sqlitecloud в Claude Desktop, Claude Code или Cursor?
Открой Sqlitecloud на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Изменения
Версии и запрашиваемые доступы со временем.
- Новая версия опубликована
- Новая версия опубликована
Похожие MCP
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
автор: wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
автор: madhurprashPostgres
Query your database in natural language
автор: AnthropicPostgreSQL
Read-only database access with schema inspection.
автор: modelcontextprotocolRedis
Interact with Redis key-value stores.
автор: modelcontextprotocolSQLite
Database interaction and business intelligence capabilities.
автор: modelcontextprotocolmxcp
Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.
автор: raw-labstadas-github/a2asearch-mcp
MCP server to search 4,800+ MCP servers, AI agents, CLI tools and agent skills. Install: npx -y a2asearch-mcp. Ask Claude: "Find MCP servers for database access
автор: tadas-githubjulien040/anyquery
Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by desi
автор: julien040drakonkat/wizzy-mcp-tmdb
A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.
автор: drakonkatCompare Sqlitecloud with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории data
