io.github.YimingYAN/fivetran-mcp

平台与服务

by yimingyan

面向 Fivetran API 的 MCP server,可管理 syncs、检查运行状态,并控制数据管道的执行流程。

什么是 io.github.YimingYAN/fivetran-mcp

面向 Fivetran API 的 MCP server,可管理 syncs、检查运行状态,并控制数据管道的执行流程。

README

Fivetran MCP Server

<!-- mcp-name: io.github.YimingYAN/fivetran-mcp -->

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

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):

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

Then reload:

bash
source ~/.env.local

Step 3: Verify Credentials

Test that your credentials work:

bash
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:

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

Step 4: Configure Claude Code

Add to your ~/.claude.json:

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

ToolDescription
list_connectionsList all connections, optionally filtered by group
get_connection_statusGet detailed status including tasks, warnings, and sync details
trigger_syncStart a sync for a connection (optional force flag)
trigger_resyncTrigger full historical resync
resync_tablesResync specific tables only (e.g., ["schema.table_name"])
pause_connectionPause a connection
resume_connectionResume a paused connection
list_groupsList all groups/destinations
test_connectionRun diagnostic tests to identify connectivity/configuration issues

Schema & Table Visibility

ToolDescription
get_connection_schemaGet schema info with optional table filter (includes columns when filtering)
get_schemaGet complete raw schema configuration for a connection
list_tablesList all tables with enabled status and sync mode
get_table_columnsGet column details for a specific table
reload_schemaRefresh schema configuration from the source

Limitations

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

CapabilityStatusNotes
Column data typesNot availableQuery your destination database directly for type info
Sync history/logsNot availableFivetran uses Log Service which streams to external destinations
Detailed error logs for past syncsNot availableOnly current tasks/warnings are accessible
Row-level sync statusNot availableNot exposed via API
Data quality metricsNot availableNot 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:

PreferredAlternative
FIVETRAN_API_KEYFIVETRAN_SYNC_API_KEY
FIVETRAN_API_SECRETFIVETRAN_SYNC_API_SECRET

Development

bash
# 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:

bash
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

常见问题

io.github.YimingYAN/fivetran-mcp 是什么?

面向 Fivetran API 的 MCP server,可管理 syncs、检查运行状态,并控制数据管道的执行流程。

相关 Skills

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描171.4k

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描171.4k

接口测试套件

by alirezarezvani

Universal
热门

扫描 Next.js、Express、FastAPI、Django REST 的 API 路由,自动生成覆盖鉴权、参数校验、错误码、分页、上传与限流场景的 Vitest 或 Pytest 测试套件。

帮你把API与集成测试自动化跑顺,减少回归漏测;能力全面,尤其适合复杂接口场景的QA团队。

平台与服务
未扫描24.9k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
89.7k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
80.0k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
72.9k

评论