MCP server exposing sqlite3 library functionality
Project description
mcp-sqlite3
MCP server exposing sqlite3 library functionality
Install
pip install mcp-sqlite3
Usage
from mcp_sqlite3 import mcp_server
mcp_server.run()
CLI
mcp-sqlite3 --help
API
Exposes complete sqlite3 functionality as MCP tools.
Connection Tools
connect_database- Open a database connectionclose_connection- Close a database connectioncommit/rollback- Transaction control
SQL Execution Tools
execute_query- Execute a query and return resultsexecute_many- Execute with multiple parameter setsexecute_script- Execute a SQL script
Schema Tools
list_tables- List all tablesget_table_info- Get table schemacreate_table/drop_table- DDL operations
CRUD Tools
insert_row/update_rows/delete_rows/select_rows
Development
git clone https://github.com/dclavijo/mcp-sqlite3.git
cd mcp-sqlite3
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
MCP Server
mcp-name: io.github.dclavijo/mcp-sqlite3
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_sqlite3-0.1.1.tar.gz.
File metadata
- Download URL: mcp_sqlite3-0.1.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad8bcf28123eabab5677c915f6a669ef6942683ab3bb7c19b0dd3964098bf2b9
|
|
| MD5 |
635a77d64af8abb59135e18632936854
|
|
| BLAKE2b-256 |
c8022c2e212b18d5cc605e5f2640e2f362e87365ae583c9fe10a553a14091253
|
Provenance
The following attestation bundles were made for mcp_sqlite3-0.1.1.tar.gz:
Publisher:
pypi-publish.yml on daedalus/mcp-sqlite3
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_sqlite3-0.1.1.tar.gz -
Subject digest:
ad8bcf28123eabab5677c915f6a669ef6942683ab3bb7c19b0dd3964098bf2b9 - Sigstore transparency entry: 1202677387
- Sigstore integration time:
-
Permalink:
daedalus/mcp-sqlite3@52b2ef49befb394ef3b6ff0653f75074eda293a0 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@52b2ef49befb394ef3b6ff0653f75074eda293a0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_sqlite3-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mcp_sqlite3-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18402a2c1e692f0b111eff0dff6a09aa62e747181de1f95e9817d3d9c3919c2a
|
|
| MD5 |
c8652ecb4c01fe1be730eced201377e4
|
|
| BLAKE2b-256 |
627d6a9b2f0252abe76eae75d6fad5536347c3010aea86bf5f2b74ff72cdb7b3
|
Provenance
The following attestation bundles were made for mcp_sqlite3-0.1.1-py3-none-any.whl:
Publisher:
pypi-publish.yml on daedalus/mcp-sqlite3
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_sqlite3-0.1.1-py3-none-any.whl -
Subject digest:
18402a2c1e692f0b111eff0dff6a09aa62e747181de1f95e9817d3d9c3919c2a - Sigstore transparency entry: 1202677396
- Sigstore integration time:
-
Permalink:
daedalus/mcp-sqlite3@52b2ef49befb394ef3b6ff0653f75074eda293a0 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/daedalus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@52b2ef49befb394ef3b6ff0653f75074eda293a0 -
Trigger Event:
release
-
Statement type: