Skip to main content
Glama

MCP SQLite Server

by johnnyoshika

MCP SQLite サーバー

公式Pythonリファレンスに基づいた、モデルコンテキストプロトコルSQLiteサーバーのNode.js実装。このバージョンは、 LibreChatなど、PythonのUVXランナーが利用できない環境向けに、npxベースの代替手段を提供します。

Claude Desktop で使用する

Smithery経由でインストール

Smithery経由で Claude Desktop 用の MCP SQLite Server を自動的にインストールするには:

npx -y @smithery/cli install mcp-server-sqlite-npx --client claude

手動でインストールする

claude_desktop_config.jsonに以下を追加します。

{ "mcpServers": { "sqlite": { "command": "/absolute/path/to/npx", "args": [ "-y", "mcp-server-sqlite-npx", "/absolute/path/to/database.db" ], "env": { "PATH": "/absolute/path/to/executables", "NODE_PATH": "/absolute/path/to/node_modules" } } } }

macOS で nvm を使用する場合の完全な例:

{ "mcpServers": { "sqlite": { "command": "/Users/{username}/.nvm/versions/node/v22.12.0/bin/npx", "args": [ "-y", "mcp-server-sqlite-npx", "/Users/{username}/projects/database.db" ], "env": { "PATH": "/Users/{username}/.nvm/versions/node/v22.12.0/bin:/usr/local/bin:/usr/bin:/bin", "NODE_PATH": "/Users/{username}/.nvm/versions/node/v22.12.0/lib/node_modules" } } } }

Windows で nvm を使用する場合の完全な例:

{ "mcpServers": { "sqlite": { "command": "C:\\Program Files\\nodejs\\npx.cmd", "args": [ "-y", "mcp-server-sqlite-npx", "C:\\Users\\{username}\\projects\\database.db" ], "env": { "PATH": "C:\\Program Files\\nodejs;%PATH%", "NODE_PATH": "C:\\Program Files\\nodejs\\node_modules" } } } }

発達

  1. 依存関係をインストールします:
npm ci
  1. TypeScript コードをビルドします。
npm run build

MCP Inspectorによるテスト

MCP Inspector ツールを使用してサーバーをテストできます。

npx @modelcontextprotocol/inspector node dist/index.js /absolute/path/to/database.db

サーバーの使用を開始するには、 ConnectToolsに移動します。

Claude Desktop によるテスト

claude_desktop_config.jsonに以下を追加します。

{ "mcpServers": { "sqlite": { "command": "/absolute/path/to/node", "args": [ "/absolute/path/to/dist/index.js", "/absolute/path/to/database.db" ] } } }

例:

  • /absolute/path/to/node : /Users/{username}/.nvm/versions/node/v20.18.1/bin/node
  • /absolute/path/to/index.js : /Users/{username}/projects/mcp-server-sqlite-npx/dist/index.js
  • /absolute/path/to/database.db : /Users/{ユーザー/Users/{username}/projects/database.db

公開

  • package.json のバージョンをアップグレードする
  • npm install
  • メッセージ付きコミット: Release {version, eg 0.1.6}
-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

SQLite を使用したモデル コンテキスト プロトコル サーバーの Node.js 実装。Python の UVX ランナーがない環境に npx ベースの代替手段を提供します。

  1. Claude Desktop で使用する
    1. Smithery経由でインストール
    2. 手動でインストールする
  2. 発達
    1. MCP Inspectorによるテスト
    2. Claude Desktop によるテスト
    3. 公開

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that provides database interaction capabilities through SQLite, enabling users to run SQL queries, analyze business data, and automatically generate business insight memos.
    Last updated -
    6
    9
    TypeScript
    MIT License
    • Apple
  • -
    security
    A
    license
    -
    quality
    A Model Context Protocol server that enables seamless execution of commands, Python code, web content fetching, and reusable task management with secure credentials handling.
    Last updated -
    2
    Python
    MIT License
    • Apple
  • -
    security
    F
    license
    -
    quality
    A Node.js application that provides a Model Context Protocol server for interacting with Harbor container registry, supporting operations for projects, repositories, tags, and Helm charts.
    Last updated -
    TypeScript
  • -
    security
    -
    license
    -
    quality
    A Model Context Protocol server that provides tools for connecting to and interacting with various database systems (SQLite, PostgreSQL, MySQL/MariaDB, SQL Server) through a unified interface.
    Last updated -
    Python

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/johnnyoshika/mcp-server-sqlite-npx'

If you have feedback or need assistance with the MCP directory API, please join our Discord server