Metadata-Version: 2.4
Name: migraflow-mcp
Version: 1.0.0
Summary: MigraFlow MCP Server - AI-powered database migration tools for Cursor and Claude Desktop
Author-email: MigraFlow <contato@migraflow.com.br>
License: Proprietary
Keywords: mcp,database,migration,schema,ai,cursor,claude
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Database
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.27
Requires-Dist: mcp>=1.0.0

# MigraFlow MCP Server

AI-powered database migration tools for Cursor, Claude Desktop and any MCP-compatible IDE.

## Installation

```bash
pip install migraflow-mcp
```

## Configuration

### Cursor

Add to your MCP settings:

```json
{
  "migraflow": {
    "command": "python",
    "args": ["-m", "migraflow_mcp"],
    "env": {
      "MIGRAFLOW_API_KEY": "mk_consultant_xxx",
      "MIGRAFLOW_API_URL": "https://api.migraflow.com.br/api/v1"
    }
  }
}
```

### Claude Desktop

**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`

**Mac:** `~/Library/Application Support/Claude/claude_desktop_config.json`

```json
{
  "mcpServers": {
    "migraflow": {
      "command": "python",
      "args": ["-m", "migraflow_mcp"],
      "env": {
        "MIGRAFLOW_API_KEY": "mk_consultant_xxx",
        "MIGRAFLOW_API_URL": "https://api.migraflow.com.br/api/v1"
      }
    }
  }
}
```

## Available Tools

### validate_schema(ddl)
Quick syntax check and dialect detection before full analysis.

### analyze_schema(ddl, context, target_dialect)
Full schema analysis with mapping, risk score, migration SQL and rollback.

### review_migration(migration_sql, target_dialect, context)
AI-powered review of migration SQL with quality score and fixes.

### explain_mapping(mapping_id)
Explains why the AI made specific mapping decisions.

### parse_nosql(schema_json)
Parses NoSQL schemas (JSON Schema, Mongoose, sample documents).

### get_docs_url()
Returns documentation URL and quick reference.

## Supported Dialects

Oracle, SQL Server, MySQL, PostgreSQL, DB2, Sybase, Snowflake, BigQuery, Redshift

## Example Usage

In Cursor or Claude Desktop:

```
"Analyze this Oracle schema and generate a PostgreSQL migration plan"

"Validate this DDL before I run the full analysis"

"Review this migration SQL and tell me what indexes are missing"
```

## API Key

Request your Enterprise API key at: wimeisoftwares.com

## Documentation

docs.wimeisoftwares.com
