Skip to main content
Glama
johnnyoshika

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"
      }
    }
  }
}

Related MCP server: SQLite MCP Server

発達

  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}

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    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.
    3
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server implementation that enables AI assistants to execute SQL queries and interact with SQLite databases through a structured interface.
    7
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    A Model Context Protocol server that enables SQL operations (SELECT, INSERT, UPDATE, DELETE) and table management through a standardized interface with SQLite databases.
    7
    140
    1
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    A minimal, general-purpose implementation of the Model Context Protocol (MCP) for Node.js and Bare runtime, enabling creation of AI-interactive servers with tools, resources, and multiple transport options.
    11
    2
    MIT

Latest Blog Posts

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