
Fastbcp Mcp
io.github.arpe-ioPublished by GitHub account arpe-iov0.1.5Updated Oct 24, 2026
MCP server for FastBCP — high-performance parallel database export to files and cloud
Overview
MCP server that wraps the FastBCP CLI so an assistant can preview, validate and run parallel database exports to files or cloud storage.
- What you can do
- Build and preview export commands with passwords masked, then execute them after explicit confirmation and review connection parameters before running an export. Look up supported source databases, output formats and storage targets, and get parallelism method recommendations for a given database and table. Report the detected FastBCP binary version and its supported features.
- When to use it
- Useful when you regularly export tables from databases such as PostgreSQL or SQL Server to CSV, Parquet or other formats, locally or to S3 and Azure storage, and want an assistant to assemble and check the FastBCP command before it runs.
- Requirements
- Runs locally over stdio with Python 3.10 or higher and a separately obtained FastBCP binary v0.29 or later, pointed to by FASTBCP_PATH; without it the server works in preview-only mode. Optional settings: FASTBCP_LOG_DIR, FASTBCP_TIMEOUT and LOG_LEVEL. Database credentials and cloud profiles are passed as export parameters.
Installation
In SourceWeft
- Open Fastbcp Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
FastBCP MCP Server
[PyPI] [License: MIT] [MCP Registry]
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:
- Safety-first approach: Preview commands before execution with user confirmation required
- Password masking: Credentials and connection strings are never displayed in logs or output
- Intelligent validation: Parameter validation with database-specific compatibility checks
- Smart suggestions: Automatic parallelism method recommendations
- Version detection: Automatic binary version detection with capability registry
- Comprehensive logging: Full execution logs with timestamps and results
MCP Tools
1. preview_export_command
Build and preview a FastBCP export command WITHOUT executing it. Shows the exact command with passwords masked. Always use this first.
2. execute_export
Execute a previously previewed command. Requires confirmation: true as a safety mechanism.
3. validate_connection
Validate source database connection parameters (parameter check only, does not test actual connectivity).
4. list_supported_formats
List all supported source databases, output formats, and storage targets.
5. suggest_parallelism_method
Recommend the optimal parallelism method based on source database type and table characteristics.
6. get_version
Report the detected FastBCP binary version, supported types, and feature flags.
Installation
Prerequisites
- Python 3.10 or higher
- FastBCP binary v0.29+ (obtain from Arpe.io)
- Claude Code or another MCP client
Setup
-
Clone or download this repository:
-
Install Python dependencies:
-
Configure environment:
-
Add to Claude Code configuration (
~/.claude.json): -
Restart Claude Code to load the MCP server.
-
Verify installation:
Configuration
Environment Variables
Edit .env to configure:
Connection Options
The server supports multiple ways to authenticate and connect:
Output Options
Export Options
Usage Examples
PostgreSQL to CSV Export
Export to Parquet with Compression
Export to S3
Check Version and Capabilities
Two-Step Safety Process
This server implements a mandatory two-step process:
- Preview - Always use
preview_export_commandfirst - Execute - Use
execute_exportwithconfirmation: true
You cannot execute without previewing first and confirming.
Security
- Passwords and connection strings are masked in all output and logs
- Sensitive flags masked:
--sourcepassword,--sourceconnectstring,-x,-g - Use environment variables for sensitive configuration
- Review commands carefully before executing
- Use minimum required database permissions
Testing
Run the test suite:
Project Structure
License
This MCP server wrapper is provided as-is. FastBCP itself is a separate product from Arpe.io.
Related Links
Source: README.md at commit 0b63a99
Tools
0Version history
1- v0.1.5LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts