What is read-only mode and how do I enable it?
Set `READ_ONLY=true` in the `.env` file. Write operations like `insert_sample_data` and `add_feedback` are disabled in read-only mode.
@madhavarora1988
基本情報
simple poc to demostrate an mcp server on top of sqlite db
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp_sqlite_poc": {
"command": "python",
"args": [
"server.py"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
A Model Context Protocol (MCP) server implementation that enables AI models to interact with SQLite databases through standardized tools. It provides query execution, schema discovery, row counting, and sample data insertion.
Install dependencies with pip install -r requirements.txt, configure the .env file (set DB_PATH, MCP_PORT, READ_ONLY), then start the server with python server.py on port 8080. Add it to Claude Desktop via the mcpServers configuration.
Set `READ_ONLY=true` in the `.env` file. Write operations like `insert_sample_data` and `add_feedback` are disabled in read-only mode.
Python 3.8+ and the packages listed in `requirements.txt`. Install them with `pip install -r requirements.txt`.
Data is stored in a single SQLite file specified by the `DB_PATH` environment variable (default: `sample.db`). The server creates a sample database with tables for products, customers, orders, and feedback if none exists.
The server offers six tools: `execute_query`, `list_tables`, `describe_table`, `count_rows`, `insert_sample_data`, and `add_feedback`. The last two are disabled in read-only mode.
Add the server to your Claude Desktop configuration file with the command `<Path to UV>`, arguments `["--directory", "<Absolute Path to Project Workspace>", "run", "server.py"]`, and the server name `sqlite`.

Model Context Protocol Servers
Connect ClickHouse to your AI assistants.
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently

Model Context Protocol Servers
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
コメント