Skip to main content
Glama
fivetran-mcp

fivetran-mcp

by YimingYAN

Fivetran MCP Server

PyPI version License: MIT Python 3.10+ Built by Claude Code

Note: This repository is built and maintained entirely by Claude Code, Anthropic's AI coding assistant.

An MCP (Model Context Protocol) server for controlling Fivetran data pipelines. Enables AI assistants like Claude to manage syncs, monitor connection status, and control data pipelines through natural language.

Features

  • List connections - View all Fivetran connections with status

  • Check sync status - Get detailed status for any connection including tasks and warnings

  • Trigger syncs - Start syncs on demand

  • Historical resync - Trigger full data resync or resync specific tables

  • Pause/Resume - Control connection scheduling

  • List groups - View all destination groups

  • Test connection - Diagnose connectivity and configuration issues

  • Schema visibility - View schemas, tables, and columns for any connection

  • Reload schema - Refresh schema configuration from the source

Related MCP server: DB-MCP

Quick Start

Step 1: Get Fivetran API Credentials

  1. Log in to Fivetran Dashboard

  2. Click your username (top right corner)

  3. Click API Key

  4. Click Generate API key

  5. Copy both the API Key and API Secret (secret shown only once!)

See Fivetran API Getting Started for more details.

Step 2: Store Credentials

Add to your ~/.env.local (or equivalent):

# Fivetran API
export FIVETRAN_API_KEY="your-api-key"
export FIVETRAN_API_SECRET="your-api-secret"

Then reload:

source ~/.env.local

Step 3: Verify Credentials

Test that your credentials work:

curl -s -X GET "https://api.fivetran.com/v1/account/info" \
  -H "Accept: application/json" \
  -H "Authorization: Basic $(echo -n "$FIVETRAN_API_KEY:$FIVETRAN_API_SECRET" | base64)"

Expected response:

{"code":"Success","data":{"account_id":"...","account_name":"..."}}

Step 4: Configure Claude Code

Add to your ~/.claude.json:

{
  "mcpServers": {
    "fivetran": {
      "type": "stdio",
      "command": "uvx",
      "args": ["fivetran-mcp@latest"],
      "env": {
        "FIVETRAN_API_KEY": "${FIVETRAN_API_KEY}",
        "FIVETRAN_API_SECRET": "${FIVETRAN_API_SECRET}"
      }
    }
  }
}

Step 5: Restart Claude Code

Restart Claude Code to load the new MCP server. You should now have access to Fivetran tools.

Available Tools

Connection Management

Tool

Description

list_connections

List all connections, optionally filtered by group

get_connection_status

Get detailed status including tasks, warnings, and sync details

trigger_sync

Start a sync for a connection (optional force flag)

trigger_resync

Trigger full historical resync

resync_tables

Resync specific tables only (e.g., ["schema.table_name"])

pause_connection

Pause a connection

resume_connection

Resume a paused connection

list_groups

List all groups/destinations

test_connection

Run diagnostic tests to identify connectivity/configuration issues

Schema & Table Visibility

Tool

Description

get_connection_schema

Get schema info with optional table filter (includes columns when filtering)

get_schema

Get complete raw schema configuration for a connection

list_tables

List all tables with enabled status and sync mode

get_table_columns

Get column details for a specific table

reload_schema

Refresh schema configuration from the source

Limitations

The following capabilities are not available via Fivetran's REST API:

Capability

Status

Notes

Column data types

Not available

Query your destination database directly for type info

Sync history/logs

Not available

Fivetran uses Log Service which streams to external destinations

Detailed error logs for past syncs

Not available

Only current tasks/warnings are accessible

Row-level sync status

Not available

Not exposed via API

Data quality metrics

Not available

Not exposed via API

For sync logs and historical data, consider setting up Fivetran's Log Service to stream logs to your data warehouse.

Environment Variables

The server supports two naming conventions:

Preferred

Alternative

FIVETRAN_API_KEY

FIVETRAN_SYNC_API_KEY

FIVETRAN_API_SECRET

FIVETRAN_SYNC_API_SECRET

Development

# Clone the repository
git clone https://github.com/YimingYAN/fivetran-mcp.git
cd fivetran-mcp

# Install dependencies
uv sync

# Run the server locally
uv run fivetran-mcp

Cloud Deployment

Cloudflare Workers (Free)

Deploy to Cloudflare Workers for a hosted MCP endpoint:

cd cloudflare
uv tool install workers-py
npx wrangler login
npx wrangler secret put FIVETRAN_API_KEY
npx wrangler secret put FIVETRAN_API_SECRET
uv run pywrangler deploy

See cloudflare/README.md for detailed instructions.

License

MIT

Available Tools

15 tools
get_connection_schemaA

Retrieve schema information for a Fivetran connection with optional table filter.

When called without a table parameter, returns all schemas and tables. When a table is specified (format: "schema.table_name"), returns detailed information for that specific table including all column metadata.

This is useful for:

  • Debugging dbt model failures when columns are missing

  • Detecting schema changes

  • Building new models with accurate column metadata

  • Identifying which columns are actively synced vs excluded

Inputs: connection_id (required), table. Returns: object

get_connection_statusA

Get detailed status for a specific Fivetran connection.

Returns comprehensive information including sync state, tasks with full details, warnings, and scheduling configuration. Use this for investigating connection issues and understanding sync status.

Inputs: connection_id (required). Returns: object

get_schemaB

Retrieve the complete schema configuration for a Fivetran connection.

Returns all schemas and tables with their enabled/disabled status, sync modes, and configuration. Useful for understanding what data is being synced and investigating missing tables.

Inputs: connection_id (required). Returns: object

get_table_columnsA

Retrieve column details for a specific table in a Fivetran connection.

Returns column names, sync configuration, and metadata. Useful for investigating schema issues or understanding table structure.

Note: Column data types are not available via the Fivetran API. Data types can be queried directly from your destination database.

Inputs: connection_id (required), schema (required), table (required). Returns: object

get_table_statusA

Get per-table sync status for a Fivetran connection.

Returns detailed status for each table including enabled/disabled state, sync configuration, and metadata from the most recent successful sync. Useful for debugging large connectors with many tables, identifying stale tables, and monitoring data freshness.

For connectors with many tables (e.g., Airtable with 20+ bases, or Postgres with 50+ tables), this provides visibility into which specific tables are configured and their sync settings.

Note: Table metadata (like destination names) is only available after at least one successful sync has completed.

Inputs: connection_id (required), schema_filter, enabled_only. Returns: object

list_connectionsC

List all Fivetran connections in the account.

Inputs: limit, group_id. Returns: object

list_groupsA

List all Fivetran groups (destinations) in the account.

Groups represent destinations where data is synced to.

Inputs: limit. Returns: object

list_tablesA

List all tables in a Fivetran connection with their sync status.

Provides a flattened view of all tables across all schemas, showing enabled status, sync mode, and configuration. Useful for quickly seeing which tables are being synced.

Inputs: connection_id (required). Returns: object

pause_connectionA

Pause a Fivetran connection.

Paused connections will not sync data until resumed.

Inputs: connection_id (required). Returns: object

reload_schemaA

Reload the schema configuration from the source for a Fivetran connection.

Fetches the latest schema from the data source and updates the configuration. Useful after source schema changes to detect new tables or columns.

Inputs: connection_id (required). Returns: object

resume_connectionA

Resume a paused Fivetran connection.

The connection will start syncing according to its schedule.

Inputs: connection_id (required). Returns: object

resync_tablesA

Trigger a historical resync for specific tables within a connection.

This re-syncs historical data only for the specified tables, not the entire connection. Useful when you need to refresh specific tables without a full resync.

Inputs: connection_id (required), tables (required). Returns: object

test_connectionA

Test a Fivetran connection to diagnose connectivity and configuration issues.

Executes diagnostic tests to identify root causes when syncs fail, validate connection health proactively, and support incident response workflows.

Inputs: connection_id (required). Returns: object

trigger_resyncA

Trigger a full historical resync for a Fivetran connection.

This re-syncs all historical data from the source. Use with caution as it may take significant time and resources.

Inputs: connection_id (required). Returns: object

trigger_syncA

Trigger a data sync for a Fivetran connection.

This starts a sync without waiting for the next scheduled sync time. Does not override the standard sync frequency.

Inputs: connection_id (required), force. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 15 tools

    Disambiguation5/5

    All tools have distinct, well-defined purposes. Even similar-sounding tools like get_connection_schema and get_schema differ in scope (one optional table filter, the other full configuration), preventing ambiguity.

    Naming Consistency5/5

    All tools use a consistent snake_case pattern with clear verbs (get_, list_, pause_, resume_, reload_, resync_, trigger_, test_) followed by the resource. No mixing of conventions.

    Tool Count5/5

    With 15 tools, the set is well-scoped for a Fivetran management server. It covers essential operations without being overwhelming, and each tool serves a clear purpose.

    Completeness4/5

    The tool surface covers most common Fivetran operations: listing, schema retrieval, status, pause/resume, testing, and sync triggers. Minor gaps exist, such as the inability to modify schema configurations manually or create/delete connections, but these are acceptable for a typical use case.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A server implementation that enables AI assistants to interact with Fivetran's API, allowing for user management, connection listing, and triggering syncs.
      3
      2
      -
    • F
      license
      B
      quality
      D
      maintenance
      An MCP server that bridges AI assistants with data warehouses through Cube.js to enable governed, natural language semantic analytics queries. It provides tools for metadata discovery and secure query execution while enforcing governance policies like PII blocking and access limits.
      3
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables AI assistants to query databases, execute SQL, and manage Metabase resources like dashboards, cards, and collections through natural language.
      22
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      An MCP server that gives AI agents full visibility and control over your Dagster instance, enabling autonomous monitoring, diagnosis, and remediation of data pipelines.
      17
      3,962 PyPI
      18
      MIT