FF

fivetran/fivetran-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

27 stars 16 forks 品質 85 トレンド 14MIT

これは、Festtran ユーザーが独自の環境でクローン、設定、実行できるモデルコンテキストプロトコル(MCP)サーバーです.

概要

知っておく価値のある4つのこと: - マニフェストは、Fivetran APIのすべてのエンドポイントを運びます。そのため、システムキーとユーザーAPIキー操作は、FIVETRAN SCOPEに付与されたものの範囲内で到達可能です。 推奨するデニリストを設定して、到達範囲を保ちましょう。サーバーは、呼び出し可能なまま起動時に警告します。 system-keys:write と system-keys:delete は有効な DISALLOWED ACTIONS トークンです。 - 0.3.2 で固定 — サービス コネクタ config は、共有された schema format * の refs をサイレントに欠落させました。これにより、コンフィグ全体で条件のないフィールドのみが保持されます。 get schema/connections write によるコネクター作成が失敗したり、不完全な状態に戻った場合、修正しました。 - 、stdio の代わりに --transport の streamable-http (または MCP Transport) を経由して。 HTTP 上で実行する (advanced) を参照してください。 - 実際のトークン検証はまだ実装されていないため、ストリーム可能な http モードは、暫定的なヘッダフォワードフォーム(FIVETRAN AUTH ISSUER unset)でのみ動作します.

概要(AI 翻訳)

**バージョン0.3からアップグレードする 知っておくべき4つのこと:

  • 必須エンドポイントは[DISALLOWED_ACTIONS]によって管理されます。 マニフェストはFivetran APIですべてのエンドポイントを運びます。そのため、システムキーとユーザーAPIキーの操作は、付与する FIVETRAN_SCOPE] 内で到達可能です。 推奨するデニリストを設定して、到達範囲を保ちましょう。サーバーは、呼び出し可能なまま起動時に警告します。[system-keys:write]と[system-keys:delete]]は有効なDISALLOWED_ACTIONSトークンです。
  • 必須の宛先schema フィールドをドロップするのに使用される[[get_schema(service=X)]。** 0.3.2 で固定 — サーバのコネクタのコンフィグは、設定全体でのみ無条件 [required] フィールドを運ぶ共有 [schema_format_*] の ref をサイレントに欠落していました。 [get_schema/[connections_write]を介してコネクタ作成が失敗したり、不完全に戻った場合は、修正されました。
  • サーバはホストされた HTTP サーバ として、stdio の代わりに [[[T10] (または MCP_TRANSPORT) を介して実行できるようになりました。 HTTP 上で実行する (advanced) を参照してください。
  • **OAuth リソースサーバのサポートは、まだ機能的ではなく、インフラの不足です.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Fivetran MCP Server

Upgrading from version 0.3? Four things worth knowing:

  • Credential endpoints are governed by DISALLOWED_ACTIONS. The manifest carries every endpoint in the Fivetran API, so system-key and user-API-key operations are reachable within whatever FIVETRAN_SCOPE you grant. Set the recommended denylist to keep them out of reach; the server warns at startup while any remain callable. system-keys:write and system-keys:delete are valid DISALLOWED_ACTIONS tokens.
  • get_schema(service=X) used to drop required destination-schema fields. Fixed in 0.3.2 — per-service connector configs were silently missing the shared schema_format_* refs, which carry the only unconditional required field in the whole config. If connector creation through get_schema/connections_write ever failed or came back incomplete, that’s now fixed.
  • The server can now run as a hosted HTTP server, via --transport streamable-http (or MCP_TRANSPORT), instead of only stdio. See Running over HTTP (advanced).
  • OAuth resource-server support is infrastructure scaffolding only, not yet functional. Real token verification isn’t implemented yet, so streamable-http mode today only works in its interim header-forwarding form (leave FIVETRAN_AUTH_ISSUER unset).

An MCP server that you can use to interact with your Fivetran environment. It allows you to ask read-only questions like “when was the last time my postgres connection completed a sync?” and “are any of my connections broken?” Set FIVETRAN_SCOPE to read/write or read/write/delete to unlock write and delete operations, and use DISALLOWED_ACTIONS to carve exceptions out of that tier (for example, system-keys:write to deny both write and delete operations on system keys). Write and delete operations are marked with advisory instructions telling the client model to confirm with you before execution; the server does not enforce confirmation.

Using the tools

The server exposes two discovery tools plus one execution tool for each allowed resource/action pair:

  • list_endpoints discovers API endpoints. Call it without arguments for category counts, with category to list a resource such as connections, or with search to find endpoints by name, summary, or path.
  • get_schema returns the parameters, request body, and response schema for an endpoint. For connection and destination create/modify endpoints, pass service (for example, postgres) to include the service-specific configuration fields.
  • _ tools execute endpoints in that group. Examples include connections_read, connections_write, and destinations_delete. Pass the endpoint name plus any path_params, query, or body values required by its schema.
GitHub で README 全文を見る

インストール

uvx --from git+https://github.com/fivetran/fivetran-mcp fivetran-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "fivetran": { "command": "uvx", "args": ["--from", "git+https://github.com/fivetran/fivetran-mcp", "fivetran-mcp"], "env": { "FIVETRAN_API_KEY": "your-api-key", "FIVETRAN_API_SECRET": "your-api-secret", "FIVETRAN_SCOPE": "read", "DISALLOWED_ACTIONS": "system-keys:read,users:read:get_user_api_key,users:read:list_api_keys,users:write:create_user_api_key,users:write:rotate_user_api_key,users:delete:delete_user_api_keys" } } } }