# OpenFormatDB MCP server

> Identifies file formats, finds compatible open-source tools, and performs local file conversions using WebAssembly engines.

- Repository: https://github.com/openformatdb/openformatdb
- Page: https://hostedmcp.org/servers/openformatdb/openformatdb
- Transport: stdio
- Stars: 1
- License: AGPL-3.0
- Latest version: 0.3.0

## Install

### Claude Code

```sh
claude mcp add openformatdb -- npx -y @openformatdb/mcp
```

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

```json
{
  "mcpServers": {
    "openformatdb": {
      "command": "npx",
      "args": [
        "-y",
        "@openformatdb/mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "openformatdb": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@openformatdb/mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"openformatdb","type":"stdio","command":"npx","args":["-y","@openformatdb/mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "openformatdb": {
      "command": "npx",
      "args": [
        "-y",
        "@openformatdb/mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add openformatdb -- npx -y @openformatdb/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.openformatdb]
command = "npx"
args = ["-y", "@openformatdb/mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user openformatdb npx -- -y @openformatdb/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "openformatdb": {
      "command": "npx",
      "args": [
        "-y",
        "@openformatdb/mcp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `OFDB_REPO` | no | no |  |

## FAQ

### What tools are used for file conversion?

The server uses open-source converters compiled to WebAssembly, including ImageMagick, resvg, FFmpeg, Pandoc, 7-Zip, GDAL, and Assimp.

### How are the conversion engines managed?

Engines are downloaded once on first use, pinned, and SHA-256 checked into a local cache directory.
