Skip to content

Commit b02b0ed

Browse files
docs: recommend uvx with airbyte@latest and --python flag for MCP setup (#811)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 3617a93 commit b02b0ed

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

airbyte/mcp/__init__.py

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,23 @@
6767
First install `uv` (`brew install uv`).
6868
6969
Then, create a file named `server_config.json` (or the file name required by your MCP client)
70-
with the following content:
70+
with the following content. This uses `uvx` (from `brew install uv`) to run the MCP
71+
server. If a matching version Python is not yet installed, a `uv`-managed Python
72+
version will be installed automatically. This will also auto-update to use the
73+
"latest" Airbyte MCP release at time of launch. You can alternatively pin to a
74+
specific version of Python and/or of the Airbyte library if you have special
75+
requirements.
7176
7277
```json
7378
{
7479
"mcpServers": {
7580
"airbyte": {
7681
"command": "uvx",
77-
"args": ["--from=airbyte", "airbyte-mcp"],
82+
"args": [
83+
"--python=3.11",
84+
"--from=airbyte@latest",
85+
"airbyte-mcp"
86+
],
7887
"env": {
7988
"AIRBYTE_MCP_ENV_FILE": "/path/to/my/.mcp/airbyte_mcp.env"
8089
}
@@ -83,8 +92,9 @@
8392
}
8493
```
8594
86-
If you prefer to pre-install, first run `uv install airbyte` or `pipx install airbyte`,
87-
and then create the configuration file as follows:
95+
Alternatively, if you prefer to pre-install (though `uvx` with `airbyte@latest` is
96+
recommended for automatic updates), first run `uv tool install airbyte` or
97+
`pipx install airbyte`, and then create the configuration file as follows:
8898
8999
```json
90100
{

0 commit comments

Comments
 (0)