# Orangerail

> Orangerail is an open-source MCP server. Turns your Prisma schema into typed MCP tools, with destructive writes gated behind human approval. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/kimhyeongrae0/orangerail
- **MCP Registry name:** io.github.KimHyeongRae0/orangerail
- **Listing updated:** 2026-11-13

## About

Turns your Prisma schema into typed MCP tools, with destructive writes gated behind human approval

## Install

### Claude Code (Terminal)

```sh
claude mcp add orangerail --env DATABASE_URL='<DATABASE_URL>' -- npx -y orangerail
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "orangerail": {
      "command": "npx",
      "args": [
        "-y",
        "orangerail"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "orangerail": {
      "command": "npx",
      "args": [
        "-y",
        "orangerail"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "orangerail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "orangerail"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "orangerail": {
      "command": "npx",
      "args": [
        "-y",
        "orangerail"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "orangerail": {
      "command": "npx",
      "args": [
        "-y",
        "orangerail"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

## FAQ

### Is Orangerail free?

Yes. Orangerail is open source, so you can use and self-host it for free.

### How do I add Orangerail to Claude Code?

Run this command in your terminal: claude mcp add orangerail --env DATABASE_URL='<DATABASE_URL>' -- npx -y orangerail

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/orangerail
