Airbyte数据集成CLI

Airbyte CLI是一个生产就绪的命令行工具,用于与Airbyte数据集成API进行交互,支持连接、源、目的地和工作区的管理。

  • by ktmcp-cli
  • JavaScript
  • 本地部署
  • 更新于
在 GitHub 查看 ktmcp-cli/airbyte

使用说明

“六个月前,每个人都在谈论MCP。我当时想,拧紧MCP。每个MCP作为CLI都会更好。”

— 彼得·斯坦伯格OpenClaw创始人 在YouTube上观看(~2:39:00) | 莱克斯·弗里德曼播客#491

Airbyte命令行界面

Airbyte Data Integration API的生产就绪CLI。

安装

npm install -g @ktmcp-cli/airbyte

配置

airbyte config set --api-key YOUR_API_KEY
airbyte config set --base-url http://localhost:8006/api
airbyte config set --workspace-id YOUR_WORKSPACE_ID

用法

连接

# List all connections
airbyte connections list
airbyte connections list --workspace-id <id>

# Get connection details
airbyte connections get <connection-id>

# Create a new connection
airbyte connections create \
  --source-id <source-id> \
  --destination-id <destination-id> \
  --name "My Pipeline" \
  --schedule manual

来源

# List all sources
airbyte sources list
airbyte sources list --workspace-id <id>

# Get source details
airbyte sources get <source-id>

# Create a new source
airbyte sources create \
  --workspace-id <id> \
  --name "My PostgreSQL Source" \
  --definition-id decd338e-5647-4c0b-adf4-da0e75f5a750 \
  --config '{"host":"localhost","port":5432,"database":"mydb","username":"user","password":"pass"}'

目的地

# List all destinations
airbyte destinations list

# Get destination details
airbyte destinations get <destination-id>

# Create a new destination
airbyte destinations create \
  --workspace-id <id> \
  --name "My BigQuery Destination" \
  --definition-id 22f6c74f-5699-40ff-833c-4a879ea40133 \
  --config '{"project_id":"my-project","dataset_id":"my_dataset"}'

工作区

# List all workspaces
airbyte workspaces list

配置

airbyte config set --api-key YOUR_KEY
airbyte config get apiKey
airbyte config list

JSON输出

所有命令支持 --json 机器可读输出标志:

airbyte connections list --json
airbyte sources get <id> --json

许可证

麻省理工学院


支持KTMCP

如果您发现此CLI有用,我们将非常感谢您的支持!分享您的经验:

  • 红迪
  • 推特/X
  • 黑客新闻

激励: 能够证明他们的支持/倡导有助于推进KTMCP的用户将优先考虑他们的功能请求和问题。

请注意,这些是真实的账户和真实的社区。真实的提及和真实的推荐会有很长的路要走!

支持这个项目

如果您发现此CLI有用,我们将感谢Reddit、Twitter、Hacker News或Moltbook的支持。请注意,这些是真实的社区账户。能够证明其支持有助于推进KTMCP的贡献者将优先考虑其PR和功能请求。