Skip to main content

MCP server that exposes Airbyte Connector SDK as MCP tools

Project description

Airbyte MCP Server

Connect AI assistants to a growing catalog of data sources through the Model Context Protocol (MCP).

This project provides an MCP server that exposes Airbyte connectors as tools, enabling AI assistants like Claude to interact with your data sources directly.

Features

  • Growing Connector Catalog: Access any Airbyte connector (Salesforce, HubSpot, Stripe, databases, and more)
  • Two Execution Modes:
    • Local Mode: Direct API calls using your credentials
    • Cloud Mode: Execute through Airbyte Cloud for managed infrastructure
  • IDE Integration: One-command setup for Claude Code, Claude Desktop, Cursor, and Codex

Quick Start

  1. List available connectors:
uv run adp connectors list
  1. Generate a connector configuration (e.g., Gong):
uv run adp connectors configure --package airbyte-agent-gong -o connector-config.yaml
  1. Set your credentials in .env:
GONG_ACCESS_KEY=your-access-key
GONG_ACCESS_KEY_SECRET=your-secret
  1. Register with Claude Code:
uv run adp mcp add-to claude-code connector-config.yaml
  1. Restart Claude Code and start using your connector!

For Claude Desktop, use add-to claude-desktop instead in step 4. For Cursor, use add-to cursor.

Configuration

Local Mode (Direct API Access)

For local execution with your own credentials. This mode calls the data source API directly and only supports operations that the API provides (e.g., list, get by ID).

Arbitrary search/filter queries are not supported unless the underlying API supports them.

connector:
  type: package
  package: airbyte-agent-gong
  version: 0.1.13  # optional, defaults to latest
credentials:
  access_key: ${env.GONG_ACCESS_KEY}
  access_key_secret: ${env.GONG_ACCESS_KEY_SECRET}

Cloud Mode (Airbyte Cloud)

For execution through Airbyte Cloud. This mode supports arbitrary search and filter queries across all entities, as data is kept up to date and indexed in Airbyte's infrastructure.

connector:
  type: cloud
  connector_id: <connector-id>
credentials:
  airbyte_external_user_id: ${env.AIRBYTE_EXTERNAL_USER_ID}
  airbyte_client_id: ${env.AIRBYTE_CLIENT_ID}
  airbyte_client_secret: ${env.AIRBYTE_CLIENT_SECRET}

Local Development

For testing with a local connector (pass a local path as the package):

connector:
  type: package
  package: /path/to/your/connector
credentials:
  # connector-specific credentials

CLI Commands

All commands are run with uv run adp <command>.

Connector Commands

# List available connectors
uv run adp connectors list

# Filter by name
uv run adp connectors list --pattern salesforce

# Generate configuration for a package connector
uv run adp connectors configure --package airbyte-agent-gong -o connector-config.yaml

# Configure with specific version
uv run adp connectors configure --package airbyte-agent-gong --version 0.1.13 -o connector-config.yaml

# Generate configuration for an Airbyte Cloud connector (using connector ID)
uv run adp connectors configure --connector-id <connector-id> -o connector-config.yaml

# Configure a local connector (pass a local path as --package)
uv run adp connectors configure --package /path/to/connector -o connector-config.yaml

Cloud Commands

Manage Airbyte Cloud resources. Requires AIRBYTE_CLIENT_ID and AIRBYTE_CLIENT_SECRET environment variables.

# List workspaces
uv run adp cloud workspaces list

# List cloud connector sources for a workspace
uv run adp cloud connectors list --workspace-id <workspace-id>

# Get details for a cloud connector source
uv run adp cloud connectors get <connector-id>

MCP Server Commands

# Start with stdio transport (default, for Claude Code/Desktop)
uv run adp mcp serve connector-config.yaml

# Start with HTTP transport
uv run adp mcp serve connector-config.yaml --transport http --port 8080

# Start with SSE transport
uv run adp mcp serve connector-config.yaml --transport sse --port 8080

Chat Commands

Chat with your connector data using natural language, powered by Claude. Supports two modes:

# One-shot: pass a prompt and get a single answer (great for piping)
uv run adp chat connector-config.yaml "show me 5 users"

# Interactive REPL: omit the prompt for a conversation loop
uv run adp chat connector-config.yaml

# Options
uv run adp chat connector-config.yaml --model claude-opus-4-20250514
uv run adp chat connector-config.yaml "list recent calls" --quiet  # hide tool call details

In one-shot mode, tool call progress goes to stderr and the final answer to stdout, so you can pipe the output: uv run adp chat connector-config.yaml "summarize calls" > summary.md.

Requires the ANTHROPIC_API_KEY environment variable to be set.

IDE Integration Commands

# Register with Claude Code (user scope)
uv run adp mcp add-to claude-code connector-config.yaml

# Register with Claude Code (project scope, for team sharing)
uv run adp mcp add-to claude-code connector-config.yaml --scope project

# Register with Claude Desktop
uv run adp mcp add-to claude-desktop connector-config.yaml

# Register with Cursor (user scope)
uv run adp mcp add-to cursor connector-config.yaml

# Register with Cursor (project scope)
uv run adp mcp add-to cursor connector-config.yaml --scope project

# Register with OpenAI Codex CLI
uv run adp mcp add-to codex connector-config.yaml

# Custom server name (works with all commands)
uv run adp mcp add-to claude-code connector-config.yaml --name my-gong-server

MCP Tools

When running, the server exposes the following tools:

Tool Description
current_datetime Get the current date and time in UTC
get_instructions Get best-practice rules for action selection, filtering, and field selection
connector_info Get connector metadata, version, and available entities/actions
execute Execute operations on entities (list, get, search, etc.)
entity_schema Get JSON schema for a specific entity

Example Usage in Claude

Once configured, you can ask Claude things like:

  • "List all users from Gong"
  • "Get the details of call ID abc123"
  • "Search for calls from last week"
  • "What entities are available in this connector?"

Available Connectors

Airbyte connectors are published as separate packages with the naming convention airbyte-agent-<name>. Some popular ones:

Connector Package Description
Gong airbyte-agent-gong Sales conversation intelligence
Salesforce airbyte-agent-salesforce CRM platform
HubSpot airbyte-agent-hubspot Marketing & sales platform
Stripe airbyte-agent-stripe Payment processing
GitHub airbyte-agent-github Code collaboration

Find more connectors:

uv run adp connectors list

Environment Variables

Credentials support environment variable interpolation using ${env.VAR_NAME} syntax:

credentials:
  api_key: ${env.MY_API_KEY}
  secret: ${env.MY_SECRET}

Create a .env file in your project root:

MY_API_KEY=your-key
MY_SECRET=your-secret

The CLI automatically loads .env files.

Development

Setup

# Clone the repository
git clone https://github.com/airbytehq/airbyte-agent-connectors.git
cd airbyte-agent-connectors

# Install dependencies
uv sync --group dev

Running Tests

uv run poe test

Code Style

# Format and lint
uv run poe check

# Auto-format
uv run poe format

Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Links

Support

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airbyte_agent_mcp-0.1.115.tar.gz (207.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airbyte_agent_mcp-0.1.115-py3-none-any.whl (170.2 kB view details)

Uploaded Python 3

File details

Details for the file airbyte_agent_mcp-0.1.115.tar.gz.

File metadata

  • Download URL: airbyte_agent_mcp-0.1.115.tar.gz
  • Upload date:
  • Size: 207.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for airbyte_agent_mcp-0.1.115.tar.gz
Algorithm Hash digest
SHA256 c5005b47b0bb112e3c6cbc72944e1d84247bf27d51b3e24a91cb66efd55ed51f
MD5 7f8bd2cffc3c63cf208f6eae3fcf9ba2
BLAKE2b-256 9aadd151611c36a7c81bc3f727b39d11d451df3b4971acd23b75169e48812820

See more details on using hashes here.

File details

Details for the file airbyte_agent_mcp-0.1.115-py3-none-any.whl.

File metadata

File hashes

Hashes for airbyte_agent_mcp-0.1.115-py3-none-any.whl
Algorithm Hash digest
SHA256 c1ab70d4c84833579f58346638a1acf07781415ca0f00dba6e353fa8ff8aded4
MD5 ef4fa6f7f2da05ed04ad7fc75e58b234
BLAKE2b-256 6ec850be6079afd9f2eae58e49aaef26e13770f4ce4798da5b0c9cf86a14acba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page