This package provides a Node.js implementation of the Model Context Protocol (MCP) SQLite server, currently at version `0.8.0`. It serves as an npx-based alternative to the official Python reference implementation, specifically designed for environments where the Python UVX runner is unavailable or impractical, such as certain Node.js-centric applications like LibreChat. The server allows applications to interact with an SQLite database via the MCP protocol. Its release cadence appears to be driven by feature development and integration needs, rather than a fixed schedule. A key differentiator is its enablement of MCP SQLite functionality within Node.js ecosystems without requiring Python installations, making it suitable for environments where only Node.js is readily available.
npm install mcp-server-sqlite-npxVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to run the `mcp-server-sqlite-npx` server using the `npx @modelcontextprotocol/inspector` tool for local testing and interaction via its CLI interface.
Always use full, absolute file system paths for `command` (e.g., `/Users/user/.nvm/.../npx`), the database file argument (e.g., `/Users/user/projects/database.db`), and any paths specified within `env` variables like `PATH` or `NODE_PATH`. Be mindful of platform-specific path separators (e.g., `\` on Windows).
Interact with the `mcp-server-sqlite-npx` via its Model Context Protocol API as a separate process, typically launched through `npx` or configured in client applications (like Claude Desktop) to run as an external command. Treat it as an external service rather than an in-process module.
Ensure `NODE_PATH` points to the `node_modules` directory of the Node.js installation being used (e.g., `/Users/{username}/.nvm/versions/node/vX.Y.Z/lib/node_modules`). Similarly, `PATH` must include the directory containing the `node` and `npx` binaries (e.g., `/Users/{username}/.nvm/versions/node/vX.Y.Z/bin`). Use absolute paths and correctly handle platform-specific environment variable expansion (e.g., `%PATH%` on Windows).Install Node.js (which bundles npm and npx) from the official Node.js website. Verify that the Node.js installation directory is correctly added to your system's PATH environment variable.
Verify the absolute path to your SQLite database file. Ensure the file exists, or create an empty `.db` file if it's new. Check that the user account running the `mcp-server-sqlite-npx` process has read and write permissions to the database file and its parent directory.
Double-check the absolute path to your `npx` or `node` executable (e.g., `/Users/{username}/.nvm/versions/node/vX.Y.Z/bin/npx` on macOS/Linux, or `C:\Program Files\nodejs\npx.cmd` on Windows). Ensure the path is correct and accessible by the client application.No dependency data recorded yet.