Android Sqlite
БесплатноНе проверенEnables AI agents to directly access and query Android app databases (SQLite/Room) via ADB, supporting schema inspection and live SQL CRUD operations.
Описание
Enables AI agents to directly access and query Android app databases (SQLite/Room) via ADB, supporting schema inspection and live SQL CRUD operations.
README
A Model Context Protocol (MCP) server to connect AI agents directly to the embedded SQLite/Room databases of your Android applications.
What problem does this solve?
Accessing embedded databases (SQLite, Room, SQLDelight) on Android devices during development has historically been a cumbersome process. It requires running adb shell run-as commands, manually copying files, dealing with .db-wal (Write-Ahead Logging) files to prevent data loss, and then using external SQL clients to read the information.
This MCP server automates the entire process. It allows any AI agent (like Claude, Cursor, or Antigravity) to inspect tables, read schemas, and execute live SQL queries (SELECT, INSERT, UPDATE, DELETE) on your application's database, right from the chat window.
Features
- 📥 Secure Extraction: Uses
adb exec-out run-asto safely extract data without corruption and without requiring root access. - 🗄️ Smart Caching: Stores local copies organized in
~/.android-sqlite-mcp/cache/. - 🔍 Search and Inspection: Tools to search installed packages, list databases, view tables, and retrieve full DDL schemas.
- ⚡ Queries (CRUD): Executes raw SQL queries locally and returns the results in JSON format to the AI.
Technical Prerequisites
- Node.js: Version 18 or higher.
- Android Debug Bridge (ADB): Must be installed and configured in your system's
PATH(verify withadb version). - Device/Emulator: A device or emulator must be connected (
adb devices). - Debuggable App: The Android app must be compiled in debug mode (
android:debuggable="true").
Getting Started (Standard Configuration)
There is no need to manually download or build this repository. You can run the server on the fly using npx.
The standard format to register an MCP server in any client is the following:
{
"mcpServers": {
"android-sqlite": {
"command": "npx",
"args": ["-y", "android-sqlite-mcp"]
}
}
}
AI Client Installation Guides
1. Antigravity
Add the server by editing the
mcp_settings.json file in your global directory (e.g., ~/.gemini/antigravity/mcp_settings.json):{
"mcpServers": {
"android-sqlite": {
"command": "npx",
"args": ["-y", "android-sqlite-mcp"]
}
}
}
2. Claude Code (CLI)
If you are using Anthropic's official terminal tool, you can register the server directly with this command:
claude mcp add android-sqlite npx -y android-sqlite-mcp
3. Cursor IDE
In Cursor, MCPs are configured via the graphical interface:
- Go to Cursor Settings > Features > MCP.
- Click on "+ Add New MCP Server".
- Fill in the details:
- Type:
command - Name:
android-sqlite - Command:
npx -y android-sqlite-mcp
- Type:
- Save and verify that the indicator changes to "Connected" (green).
4. Claude Desktop
Edit your configuration file (located at
~/.config/Claude/claude_desktop_config.json on macOS/Linux or %APPDATA%\Claude\claude_desktop_config.json on Windows) and add the JSON block from the Getting Started section. Remember to restart the application after saving the changes.
Установка Android Sqlite
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Feliicks/android-sqlite-mcpFAQ
Android Sqlite MCP бесплатный?
Да, Android Sqlite MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Android Sqlite?
Нет, Android Sqlite работает без API-ключей и переменных окружения.
Android Sqlite — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Android Sqlite в Claude Desktop, Claude Code или Cursor?
Открой Android Sqlite на 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.
автор: modelcontextprotocolCompare Android Sqlite with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории data
