
Fastbcp Mcp
Wraps the FastBCP CLI tool to export database tables to files and cloud storage with parallel processing. Exposes six tools: preview commands before execution, validate connection parameters, suggest optimal parallelism methods based on database type, list supported formats, and execute exports with mandatory confirmation. Handles the usual suspects for sources (PostgreSQL, SQL Server, MySQL) and outputs (CSV, JSON, Parquet, XLSX), plus direct writes to S3, Azure Blob, and Data Lake. The two-step preview-then-execute pattern keeps you from accidentally launching expensive parallel exports, and all passwords get masked in logs. Good for moving large datasets out of databases when you need more control than a basic SQL export gives you.
- GitHub stars
- 1
- tools
- 6
- transport
- STDIO
- env vars
- 4
- last updated
- Mar 16, 2026
Tools
6 toolsPublic tool metadata for what this MCP can expose to an agent.
preview_export_commandBuild and preview a FastBCP export command WITHOUT executing it. Shows the exact command with passwords masked. Always use this first.
Build and preview a FastBCP export command WITHOUT executing it. Shows the exact command with passwords masked. Always use this first.
No parameter schema in public metadata yet.
execute_exportExecute a previously previewed command. Requires `confirmation: true` as a safety mechanism.
Execute a previously previewed command. Requires `confirmation: true` as a safety mechanism.
No parameter schema in public metadata yet.
validate_connectionValidate source database connection parameters (parameter check only, does not test actual connectivity).
Validate source database connection parameters (parameter check only, does not test actual connectivity).
No parameter schema in public metadata yet.
list_supported_formatsList all supported source databases, output formats, and storage targets.
List all supported source databases, output formats, and storage targets.
No parameter schema in public metadata yet.
suggest_parallelism_methodRecommend the optimal parallelism method based on source database type and table characteristics.
Recommend the optimal parallelism method based on source database type and table characteristics.
No parameter schema in public metadata yet.
get_versionReport the detected FastBCP binary version, supported types, and feature flags.
Report the detected FastBCP binary version, supported types, and feature flags.
No parameter schema in public metadata yet.
Sponsors
Configuration
FASTBCP_PATHPath to the FastBCP binary (optional — server runs in preview-only mode without it)
FASTBCP_TIMEOUTExecution timeout in seconds (default: 1800)
FASTBCP_LOG_DIRDirectory for execution logs (default: ./logs)
LOG_LEVELLogging level: DEBUG, INFO, WARNING, ERROR (default: INFO)
Readme
FastBCP MCP Server
A Model Context Protocol (MCP) server that exposes FastBCP functionality for exporting data from databases to files (CSV, TSV, JSON, BSON, Parquet, XLSX, Binary) with optional cloud storage targets.
Overview
FastBCP is a high-performance CLI tool for exporting data from databases to files. This MCP server wraps FastBCP functionality and provides:
Details
- Repository
- github.com/arpe-io/fastbcp-mcp
- Category
- Databases
- Package
fastbcp-mcp- Transport
- STDIO
- Registry
- MCP registry, active