MCP Marketplace
BrowseHow It WorksFor CreatorsDocs
Sign inSign up
MCP Marketplace

The curated, security-first marketplace for AI tools.

Product

Browse ToolsSubmit a ToolDocumentationHow It WorksBlogFAQChangelog

Legal

Terms of ServicePrivacy PolicyCommunity Guidelines

Connect

support@mcp-marketplace.ioTwitter / XDiscord

MCP Marketplace © 2026. All rights reserved.

Back to Browse

Bintrail MCP Server

by Dbtrail
Developer ToolsLow Risk10.0MCP RegistryRemote
Free

Server data from the Official MCP Registry

MySQL change tracking with instant row-level recovery and forensic attribution for compliance.

About

MySQL change tracking with instant row-level recovery and forensic attribution for compliance.

Remote endpoints: streamable-http: https://api.dbtrail.com/mcp

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.

Endpoint verified · Requires authentication · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "com-dbtrail-dbtrail": {
      "url": "https://api.dbtrail.com/mcp"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

Bintrail

A CLI tool that parses MySQL ROW-format binary logs, indexes every row event into MySQL with full before/after images, and generates reversal SQL for point-in-time recovery — without needing the original binlog files.

Requirements

  • Go 1.24+
  • MySQL 8.0+ (index database)
  • Source MySQL server with binlog_format = ROW and binlog_row_image = FULL

Install

go install github.com/dbtrail/bintrail/cmd/bintrail@latest

Or build from source:

git clone https://github.com/dbtrail/bintrail
cd bintrail
go build ./cmd/bintrail

Quick start

# 1. Create index tables (run once)
bintrail init --index-dsn "user:pass@tcp(127.0.0.1:3306)/binlog_index"

# 2. Snapshot schema metadata from the source server
bintrail snapshot \
  --source-dsn "user:pass@tcp(source:3306)/" \
  --index-dsn  "user:pass@tcp(127.0.0.1:3306)/binlog_index"

# 3. Index binlog files (requires access to /var/lib/mysql on the source host)
bintrail index \
  --index-dsn  "user:pass@tcp(127.0.0.1:3306)/binlog_index" \
  --source-dsn "user:pass@tcp(source:3306)/" \
  --binlog-dir /var/lib/mysql \
  --all

# 4. Query the index
bintrail query \
  --index-dsn "user:pass@tcp(127.0.0.1:3306)/binlog_index" \
  --schema mydb --table orders --pk 12345

# 5. Generate recovery SQL
bintrail recover \
  --index-dsn "user:pass@tcp(127.0.0.1:3306)/binlog_index" \
  --schema mydb --table orders --event-type DELETE \
  --since "2026-02-19 14:00:00" --until "2026-02-19 14:05:00" \
  --output recovery.sql

Managed MySQL (RDS, Aurora, Cloud SQL)? Use bintrail stream instead of bintrail index — it connects over the replication protocol and requires no access to binlog files on disk. See Streaming.

New to bintrail? See the Practical Guide for DBAs for scenario-based walkthroughs and troubleshooting.

Commands

CommandDescription
initCreate index tables in the target MySQL database
snapshotCapture table and column metadata from the source server
indexParse binlog files from disk and write row events to the index
streamConnect as a replica and index row events in real-time
querySearch the index with flexible filters (schema, table, PK, time range, GTID)
recoverGenerate reversal SQL for matching events
reconstructRebuild row state at a point in time from baselines + binlog events
rotateDrop old partitions, add new ones, optionally archive to Parquet
statusShow indexed files, partition sizes, and event counts
dumpInvoke mydumper to create a logical dump of the source server
baselineConvert mydumper output to Parquet snapshots
uploadUpload local Parquet files to S3
config initGenerate a .bintrail.env configuration file
profileManage RBAC access profiles for query and recover
flagLabel tables and columns (e.g. pii, sensitive) for access rules
accessLink flags to profiles with allow/deny permissions
generate-keyGenerate an AES-256 encryption key for dump encryption

All commands accept --log-level (default info) and --log-format (default text). See each command's --help for flags and usage.

MCP Server

Bintrail ships an MCP server that exposes query, recover, and status as read-only tools — letting Claude (or any MCP client) explore your binlog index conversationally.

Claude Connector

The easiest way to connect — works from claude.ai, Claude Desktop, and Claude mobile:

  1. Deploy the MCP Gateway (handles OAuth + tenant routing)
  2. In Claude, go to Settings > Integrations > Add custom integration
  3. Enter your gateway URL (e.g. https://mcp.dbtrail.com/mcp)
  4. Authorize with your tenant ID — done

Claude Code (local)

The project ships .mcp.json which pre-registers the server using go run:

{
  "mcpServers": {
    "bintrail": {
      "command": "go",
      "args": ["run", "./cmd/bintrail-mcp"],
      "env": { "BINTRAIL_INDEX_DSN": "user:pass@tcp(127.0.0.1:3306)/binlog_index" }
    }
  }
}

Set BINTRAIL_INDEX_DSN to your index database DSN, then enable with claude mcp enable bintrail.

See MCP Server docs for HTTP mode, proxy setup, and tool details.

How it works

Source MySQL            Index MySQL
(information_schema) ──snapshot──► schema_snapshots
                                        │
Binlog files on disk ──index──►   binlog_events (partitioned)
                                  index_state
                                        │
Replication stream   ──stream──►  binlog_events (partitioned)
                                  stream_state (checkpoint)
                                        │
                          query / recover ──► stdout / .sql file

The index stores complete before and after row images for every event, so recovery never requires the original binlog files.

bintrail index reads binlog files directly from disk — best for self-managed MySQL where the binlog directory is accessible.

bintrail stream connects as a replica over the replication protocol — best for managed MySQL (RDS, Aurora, Cloud SQL) where binlog files are not directly accessible.

Documentation

GuideDescription
QuickstartZero to recovery in 10 minutes
Practical Guide for DBAsScenario-based walkthroughs and troubleshooting
IndexingFile-based indexing in depth
StreamingReal-time replication indexing
Streaming 101Getting started with stream
Query and RecoveryFilters, output formats, and recovery workflows
Rotation and StatusPartition management and monitoring
Dump and Baselinemydumper workflow and Parquet baselines
DDL TrackingSchema change detection and handling
Server IdentityMulti-server identity management
UploadParquet archive uploads to S3
MCP ServerMCP server setup, HTTP mode, and proxy
MCP GatewayOAuth gateway for Claude Connector
Deploymentcron, systemd, Ansible, and production setup
DockerContainer images and Docker Compose
Parquet DebuggingInspecting and troubleshooting Parquet archives

Agent exit codes

bintrail agent uses distinct process exit codes so a supervisor (e.g. systemd) can distinguish permanent failures from transient ones:

CodeMeaningSupervisor action
0Clean shutdown (SIGTERM/SIGINT)—
64Fatal auth/config error (missing, invalid, or revoked API key; wrong tenant mode)Fix credentials, restart manually
65Rate-limited by the serverContact support before restarting
1Transient/unknown errorSafe to respawn (default systemd behavior)

For systemd, add RestartPreventExitStatus=64 65 to the service unit so the agent is not respawned on permanent failures.

License

This project is licensed under the Business Source License 1.1. You may use bintrail for any purpose, including production use, except offering it as part of a competing commercial hosted service or managed consulting service. Each version converts to Apache License 2.0 four years after its release.

For alternative licensing arrangements, contact daniel@dbtrail.com.

Contributing

Contributions are welcome! Please read CONTRIBUTING.md before opening a pull request. All contributors must agree to the Contributor License Agreement — first-time contributors will be prompted automatically via CLA Assistant.

Reviews

No reviews yet

Be the first to review this server!

0

installs

New

no ratings yet

Is this your server?

Claim ownership to manage your listing, respond to reviews, and track installs from your dashboard.

Claim with GitHub

Sign up with the GitHub account that owns this repo

Links

Source CodeRemote Endpoint

Details

Published April 14, 2026
Version 0.1.0
0 installs
Remote Plugin

More Developer Tools MCP Servers

Git

Free

by Modelcontextprotocol · Developer Tools

Read, search, and manipulate Git repositories programmatically

80.0K
Stars
3
Installs
6.5
Security
No ratings yet
Local

Toleno

Free

by Toleno · Developer Tools

Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.

114
Stars
404
Installs
8.0
Security
4.8
Local

mcp-creator-python

Free

by mcp-marketplace · Developer Tools

Create, build, and publish Python MCP servers to PyPI — conversationally.

-
Stars
55
Installs
10.0
Security
5.0
Local

MarkItDown

Free

by Microsoft · Content & Media

Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption

89.9K
Stars
15
Installs
6.0
Security
5.0
Local

mcp-creator-typescript

Free

by mcp-marketplace · Developer Tools

Scaffold, build, and publish TypeScript MCP servers to npm — conversationally

-
Stars
14
Installs
10.0
Security
5.0
Local

FinAgent

Free

by mcp-marketplace · Finance

Free stock data and market news for any MCP-compatible AI assistant.

-
Stars
13
Installs
10.0
Security
No ratings yet
Local