MCP and API interfaces that let the agents do the admin work
Project description
airbyte-ops-mcp
MCP and API interfaces that let the agents do the admin work.
Installing Ops MCP in your Client
This config example will help you add the MCP server to your client:
{
"mcpServers": {
"airbyte-ops-mcp": {
"type": "stdio",
"command": "uv",
"args": [
"run",
"--project=/Users/aj.steers/repos/airbyte-ops-mcp/",
"airbyte-ops-mcp"
],
"env": {
"AIRBYTE_MCP_ENV_FILE": "/Users/{user-id}/.mcp/airbyte_mcp.env"
}
},
"airbyte-coral-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"--python=3.11",
"--from=airbyte@latest",
"airbyte-mcp"
],
"env": {
"AIRBYTE_MCP_ENV_FILE": "/Users/{user-id}/.mcp/airbyte_mcp.env"
}
}
}
}
Your .env file should include the following values:
# Creds for Airbyte Cloud OAuth
AIRBYTE_CLOUD_CLIENT_ID="..."
AIRBYTE_CLOUD_CLIENT_SECRET="..."
# Required for elevated admin operations
AIRBYTE_INTERNAL_ADMIN_FLAG=airbyte.io
AIRBYTE_INTERNAL_ADMIN_USER={my-id}@airbyte.io
# Workspace ID for Testing
AIRBYTE_CLOUD_TEST_WORKSPACE_ID="..."
Onboarding
If this is your first time working with Airbyte's connector tooling, see ONBOARDING.md for instructions on setting up required credentials like GCP_GSM_CREDENTIALS.
Connector Registry 2.0 Migration
For details on known, intentional differences between the new Registry 2.0 generation pipeline and the legacy pipeline, see Connector Registry 2.0 Migration Changes in CONTRIBUTING.md.
Getting Started
Once configured, use the test_my_tools prompt by typing "/test" into your agent and selecting the auto-complete option for the test_my_tools prompt.
This prompt will step through all the tools, demoing their capabilities.
Usage Examples
Testing MCP Tools Locally
Use the mcp-tool-test poe task to test tools directly:
# List connectors in a repo
poe mcp-tool-test list_connectors_in_repo '{"repo_path": "/path/to/airbyte"}'
# Get cloud connector version
poe mcp-tool-test get_cloud_connector_version '{"workspace_id": "...", "actor_id": "..."}'
Using Cloud SQL Proxy for Database Tools
Some tools (like list_org_connections_by_source_type_db) require access to the Airbyte Cloud Prod DB Replica. To test these locally:
-
Authenticate with GCP:
gcloud auth login gcloud auth application-default login
-
Start Cloud SQL Proxy using one of the following methods:
Option A: Using the CLI (Recommended)
Pre-install the CLI tool:
uv tool install airbyte-internal-ops airbyte-ops cloud db start-proxy --port=15432
Or use as a single-step command:
uvx --from=airbyte-internal-ops airbyte-ops cloud db start-proxy --port=15432
Option B: Manual startup
cloud-sql-proxy prod-ab-cloud-proj:us-west3:prod-pgsql-replica --port=15432
-
Run the tool with proxy environment variables:
USE_CLOUD_SQL_PROXY=1 DB_PORT=15432 poe mcp-tool-test list_org_connections_by_source_type_db \ '{"organization_id": "...", "connector_canonical_name": "source-youtube-analytics"}'
Instructions for Agents
When working with a user to set up and use this MCP server, agents should follow these steps for authentication:
GCP Authentication Flow
For tools that require GCP access (database queries, secret manager, etc.), guide the user through authentication:
-
Check if gcloud is installed. If not, install it:
curl -sSL https://sdk.cloud.google.com | bash -s -- --disable-prompts
-
Run gcloud auth login with
--no-launch-browserto get a verification URL:gcloud auth login --no-launch-browser
Send the verification URL to the user and ask them to complete sign-in and provide the verification code.
-
Set up Application Default Credentials (ADC) for library access:
gcloud auth application-default login --no-launch-browser
Again, send the URL to the user and collect the verification code.
-
For database tools, start Cloud SQL Proxy on an available port and use the
USE_CLOUD_SQL_PROXYandDB_PORTenvironment variables.
Airbyte Cloud Authentication
For tools that interact with Airbyte Cloud API, ensure the user has configured:
AIRBYTE_CLOUD_CLIENT_IDandAIRBYTE_CLOUD_CLIENT_SECRETin their.envfile- For admin operations:
AIRBYTE_INTERNAL_ADMIN_FLAG=airbyte.ioandAIRBYTE_INTERNAL_ADMIN_USER
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file airbyte_internal_ops-0.33.2.tar.gz.
File metadata
- Download URL: airbyte_internal_ops-0.33.2.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cab81a9d04e3e8df28a95c28c9f66f6b5d401f81b93bdcb8f40ca3da85199f77
|
|
| MD5 |
55328c4d340c5ea506b5b6363776e1ed
|
|
| BLAKE2b-256 |
921cec9676b8af630dcf6b22aa1a3d139f5117335fc46e1967170f8427f86ddd
|
Provenance
The following attestation bundles were made for airbyte_internal_ops-0.33.2.tar.gz:
Publisher:
publish.yml on airbytehq/airbyte-ops-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
airbyte_internal_ops-0.33.2.tar.gz -
Subject digest:
cab81a9d04e3e8df28a95c28c9f66f6b5d401f81b93bdcb8f40ca3da85199f77 - Sigstore transparency entry: 1164843054
- Sigstore integration time:
-
Permalink:
airbytehq/airbyte-ops-mcp@ccfeee40d26c0d8dc2f36a7183521b9ed9a26602 -
Branch / Tag:
refs/tags/v0.33.2 - Owner: https://github.com/airbytehq
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ccfeee40d26c0d8dc2f36a7183521b9ed9a26602 -
Trigger Event:
release
-
Statement type:
File details
Details for the file airbyte_internal_ops-0.33.2-py3-none-any.whl.
File metadata
- Download URL: airbyte_internal_ops-0.33.2-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9942d98552f9ca5ffe2217642b931afce2e074d3caf1128271c4a83f53448447
|
|
| MD5 |
bea4fa8f266e3a054a3c28b07b796f7c
|
|
| BLAKE2b-256 |
d4a136cdc1e5e30e48ce264246094d2eaff88f401bd33048803b5f57cdb29132
|
Provenance
The following attestation bundles were made for airbyte_internal_ops-0.33.2-py3-none-any.whl:
Publisher:
publish.yml on airbytehq/airbyte-ops-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
airbyte_internal_ops-0.33.2-py3-none-any.whl -
Subject digest:
9942d98552f9ca5ffe2217642b931afce2e074d3caf1128271c4a83f53448447 - Sigstore transparency entry: 1164843158
- Sigstore integration time:
-
Permalink:
airbytehq/airbyte-ops-mcp@ccfeee40d26c0d8dc2f36a7183521b9ed9a26602 -
Branch / Tag:
refs/tags/v0.33.2 - Owner: https://github.com/airbytehq
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ccfeee40d26c0d8dc2f36a7183521b9ed9a26602 -
Trigger Event:
release
-
Statement type: