# Vscode Schemaforge

> VS Code extension for SchemaForge — live schema preview, quick convert, diff, and format detection

- **Type:** MCP server
- **Install:** `agentstack add mcp-coding-dev-tools-vscode-schemaforge`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Coding-Dev-Tools](https://agentstack.voostack.com/s/coding-dev-tools)
- **Installs:** 0
- **Category:** [Databases](https://agentstack.voostack.com/c/databases)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Coding-Dev-Tools](https://github.com/Coding-Dev-Tools)
- **Source:** https://github.com/Coding-Dev-Tools/vscode-schemaforge
- **Website:** https://github.com/Coding-Dev-Tools/schemaforge

## Install

```sh
agentstack add mcp-coding-dev-tools-vscode-schemaforge
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# SchemaForge VS Code Extension

[](https://github.com/Coding-Dev-Tools/vscode-schemaforge/actions/workflows/ci.yml)
[](LICENSE)

Bidirectional schema converter extension for VS Code — convert between SQL DDL, Prisma, Django, TypeORM, SQLAlchemy, Alembic, JSON Schema, GraphQL, EF Core, and Scala case classes.

Part of the [DevForge](https://devforge.revenueholdings.dev) open-source CLI tool suite by [Revenue Holdings](https://revenueholdings.dev).

## Features

- **Live Preview** — side panel showing your active schema file converted to all 11 formats
- **Quick Convert** — `Ctrl+Alt+S` to convert the active editor's schema to your target format
- **Format Detection** — `Ctrl+Alt+D` to detect schema format
- **Schema Diff** — diff two schema files in VS Code's native diff editor
- **Right-Click** — convert or detect from the file explorer context menu
- **Custom Editor** — rich conversion preview for `.schemaforge` files

## Prerequisites

Requires [SchemaForge](https://github.com/Coding-Dev-Tools/schemaforge) CLI installed:

```bash
pip install git+https://github.com/Coding-Dev-Tools/schemaforge.git
```

The CLI must be available on your PATH.

## Extension Settings

| Setting | Default | Description |
|---------|---------|-------------|
| `schemaforge.cliPath` | `schemaforge` | Path to the schemaforge CLI executable |
| `schemaforge.defaultTargetFormat` | `sql` | Default conversion target (`sql`, `prisma`, `drizzle`, `typeorm`, `django`, `sqlalchemy`, `alembic`, `json_schema`, `graphql`, `ef`, `scala`) |
| `schemaforge.livePreview.enabled` | `true` | Enable live preview when editing schema files |

## Commands

| Command | Keybinding | Description |
|---------|------------|-------------|
| SchemaForge: Convert Schema File... | — | Select a schema file and target format to convert |
| SchemaForge: Quick Convert (Active Editor) | `Ctrl+Alt+S` (`Cmd+Alt+S` on Mac) | Convert the active editor content to default target format |
| SchemaForge: Diff Two Schema Files | — | Select two files and view differences |
| SchemaForge: Detect Format | `Ctrl+Alt+D` (`Cmd+Alt+D` on Mac) | Detect the format of the active editor's content |

## Development

```bash
# Clone
git clone https://github.com/Coding-Dev-Tools/vscode-schemaforge.git
cd vscode-schemaforge

# Install dependencies
npm install

# Compile
npm run compile

# Lint
npm run lint

# Launch Extension Development Host
# Press F5 in VS Code
```

### Project Structure

```
src/
├── cli.ts                # SchemaForge CLI wrapper
├── commands/
│   ├── convert.ts        # Convert command handler
│   ├── detect.ts         # Format detection handler
│   └── diff.ts           # Schema diff handler
├── output.ts             # Shared cached OutputChannel helper
├── panels/
│   └── previewPanel.ts   # Live preview WebView panel
├── providers/
│   └── schemaEditorProvider.ts  # Custom editor provider
├── runCommand.ts         # Command wrapper: surface errors + forward URIs
└── extension.ts          # Extension entry point + activation
```

## License

MIT — see [LICENSE](LICENSE) for details.

## Security

See [SECURITY.md](SECURITY.md) for our security policy.

## Changelog

See [CHANGELOG.md](CHANGELOG.md) for version history.

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Coding-Dev-Tools](https://github.com/Coding-Dev-Tools)
- **Source:** [Coding-Dev-Tools/vscode-schemaforge](https://github.com/Coding-Dev-Tools/vscode-schemaforge)
- **License:** MIT
- **Homepage:** https://github.com/Coding-Dev-Tools/schemaforge

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-coding-dev-tools-vscode-schemaforge
- Seller: https://agentstack.voostack.com/s/coding-dev-tools
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
