Metadata-Version: 2.4
Name: mcp-server-sqlseed
Version: 0.1.11
Summary: MCP server for sqlseed - AI-powered SQLite test data generation
Project-URL: Homepage, https://github.com/sunbos/sqlseed
Project-URL: Repository, https://github.com/sunbos/sqlseed/tree/main/plugins/mcp-server-sqlseed
Author-email: SunBo <1443584939@qq.com>
License-Expression: AGPL-3.0-or-later
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Requires-Dist: mcp>=1.0
Requires-Dist: sqlseed>=0.1.0
Provides-Extra: ai
Requires-Dist: sqlseed-ai; extra == 'ai'
Description-Content-Type: text/markdown

# mcp-server-sqlseed

[Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for [sqlseed](https://github.com/sunbos/sqlseed) — enabling AI assistants to generate SQLite test data.

## Overview

`mcp-server-sqlseed` exposes sqlseed's capabilities as MCP tools, allowing AI assistants (Claude, Cursor, etc.) to inspect database schemas, generate YAML configurations, and execute data fills seamlessly.

### MCP Tools

| Tool | Description |
|------|-------------|
| `sqlseed_inspect_schema` | Inspect database table structure, columns, indexes, and sample data |
| `sqlseed_generate_yaml` | Generate a YAML configuration file for data generation |
| `sqlseed_execute_fill` | Execute data generation and fill a database table |

### MCP Resource

- `sqlseed://schema/{db_path}/{table_name}` — Read-only schema information for a specific table

## Installation

```bash
pip install mcp-server-sqlseed
```

## Configuration

Add to your MCP client configuration (e.g., Claude Desktop):

```json
{
  "mcpServers": {
    "sqlseed": {
      "command": "mcp-server-sqlseed"
    }
  }
}
```

## Requirements

- Python >= 3.10
- `sqlseed >= 0.1.0`
- `mcp >= 1.0`

## License

AGPL-3.0-or-later
