mcp-server-sqlseed
Model Context Protocol tools for sqlseed: derive a YAML configuration from database schema, then generate test data. Both tools use offline Core rules and require no LLM.
Installation
These instructions target version 0.2.6. Check Releases for publication status; use the source installation below to test an unpublished candidate. Use a Python 3.10+ virtual environment:
python -m pip install "mcp-server-sqlseed==0.2.6"
Core 0.2.4 and older lack the shared diagnostic interfaces required by this version. For development, install Core and the required local plugins together from the repository root:
python -m pip install -e . -e ./plugins/mcp-server-sqlseed
MCP client configuration
Use the executable from the environment where the package is installed:
{
"mcpServers": {
"sqlseed": {
"command": "mcp-server-sqlseed"
}
}
}
If the client does not inherit that environment's PATH, use the executable's absolute
path. The server runs over stdio. python -m mcp_server_sqlseed is also supported.
Tools
| Tool | Input and result |
|---|---|
sqlseed_generate_yaml |
Takes db_path and table_name; returns a rule-driven YAML string |
sqlseed_execute_fill |
Takes db_path, table_name, count=1000, optional yaml_config, and enrich=False; returns the table, committed count, elapsed time, and errors |
The db_path argument accepts an existing SQLite .db/.sqlite/.sqlite3 file or a
database URL. For PostgreSQL, install the Core postgres extra. Tables must already
exist. The schema mapper chooses generators deterministically; no model request is
made by either tool. Both tools use the required Faker provider with the en_US
locale, matching the generated template; Mimesis is not required.
When yaml_config is supplied, it must be a YAML mapping containing the requested
table. Empty documents, unknown tables, and configurations for a different table fail
before generation. The UTF-8 size limit is 256 KiB. Tool arguments select the database,
table, row count, and enrichment; YAML contributes only the matching table's column
rules, seed, and clear_before setting. Top-level YAML provider and locale
settings do not change this server's engine or locale.
A typical client workflow is:
- Call
sqlseed_generate_yamlfor an existing table. - Review the YAML and desired row count.
- Call
sqlseed_execute_filland check itserrorsand committedcount.
Earlier committed batches can remain after a later batch fails. The YAML tool returns
# Error: ... for handled errors; the fill tool returns an error field for handled
request failures. Check these in addition to MCP transport success.
Separate AI MCP server
This package exposes exactly the two tools above. Schema resources and a standalone schema-inspection tool are not provided. For LLM analysis, install the separate AI MCP extra:
python -m pip install "sqlseed-ai[mcp]==0.2.6"
mcp-server-sqlseed-ai
For a source checkout, use python -m pip install -e . -e ./plugins/sqlseed-cli -e "./plugins/sqlseed-ai[mcp]".
Its YAML tool is
sqlseed_ai_generate_yaml; its executable is mcp-server-sqlseed-ai. The old
mcp-server-sqlseed[ai] installation does not describe the current package layout.
Requirements
These metadata requirements apply to version 0.2.6 and its source candidates. Use local Core and plugins together when developing from source.
- Python
>=3.10 sqlseed>=0.2.5.dev0,<0.3mcp>=1.0,<2
See the user guide, migration guide, and server source.
License: AGPL-3.0-or-later. The distribution includes the full LICENSE text.
Metadata
Release files for mcp-server-sqlseed 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_server_sqlseed-0.2.6.tar.gz | 29.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_sqlseed-0.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.7 kB
Release files / mcp_server_sqlseed-0.2.6.tar.gz
| Download URL | mcp_server_sqlseed-0.2.6.tar.gz |
|---|---|
| Size | 29.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb373f069afad831aef72931e3b5a82860bc7a17e34e6dd8cb2eb543b3014e46
|
|
BLAKE2b-256 checksum How to use checksums |
e935e4cea8238cca78924e17653489e156670f04c469f88c3cde72b1800894c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logRelease files / mcp_server_sqlseed-0.2.6-py3-none-any.whl
| Download URL | mcp_server_sqlseed-0.2.6-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3df221539767ce4dfa352af9fdde04881c3b523fa793695100bf6e41c728260
|
|
BLAKE2b-256 checksum How to use checksums |
6140afa16565ec93a1e695030613247e971bfea0ef27d902026ff4ab76cb1750
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency log