airbyte-agent-mcp 0.1.33__py3-none-any.whl → 0.1.60__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airbyte_agent_mcp/_vendored/connector_sdk/auth_strategies.py +2 -5
- airbyte_agent_mcp/_vendored/connector_sdk/auth_template.py +1 -1
- airbyte_agent_mcp/_vendored/connector_sdk/cloud_utils/client.py +26 -26
- airbyte_agent_mcp/_vendored/connector_sdk/connector_model_loader.py +11 -4
- airbyte_agent_mcp/_vendored/connector_sdk/constants.py +1 -1
- airbyte_agent_mcp/_vendored/connector_sdk/executor/hosted_executor.py +10 -11
- airbyte_agent_mcp/_vendored/connector_sdk/executor/local_executor.py +163 -34
- airbyte_agent_mcp/_vendored/connector_sdk/extensions.py +43 -5
- airbyte_agent_mcp/_vendored/connector_sdk/http/response.py +2 -0
- airbyte_agent_mcp/_vendored/connector_sdk/http_client.py +50 -43
- airbyte_agent_mcp/_vendored/connector_sdk/introspection.py +262 -0
- airbyte_agent_mcp/_vendored/connector_sdk/logging/logger.py +9 -9
- airbyte_agent_mcp/_vendored/connector_sdk/logging/types.py +10 -10
- airbyte_agent_mcp/_vendored/connector_sdk/observability/config.py +179 -0
- airbyte_agent_mcp/_vendored/connector_sdk/observability/models.py +6 -6
- airbyte_agent_mcp/_vendored/connector_sdk/observability/session.py +41 -32
- airbyte_agent_mcp/_vendored/connector_sdk/performance/metrics.py +3 -3
- airbyte_agent_mcp/_vendored/connector_sdk/schema/base.py +20 -18
- airbyte_agent_mcp/_vendored/connector_sdk/schema/components.py +59 -58
- airbyte_agent_mcp/_vendored/connector_sdk/schema/connector.py +22 -33
- airbyte_agent_mcp/_vendored/connector_sdk/schema/extensions.py +102 -9
- airbyte_agent_mcp/_vendored/connector_sdk/schema/operations.py +32 -32
- airbyte_agent_mcp/_vendored/connector_sdk/schema/security.py +44 -34
- airbyte_agent_mcp/_vendored/connector_sdk/secrets.py +2 -2
- airbyte_agent_mcp/_vendored/connector_sdk/telemetry/events.py +9 -8
- airbyte_agent_mcp/_vendored/connector_sdk/telemetry/tracker.py +9 -5
- airbyte_agent_mcp/_vendored/connector_sdk/types.py +7 -3
- airbyte_agent_mcp/server.py +34 -1
- {airbyte_agent_mcp-0.1.33.dist-info → airbyte_agent_mcp-0.1.60.dist-info}/METADATA +1 -1
- {airbyte_agent_mcp-0.1.33.dist-info → airbyte_agent_mcp-0.1.60.dist-info}/RECORD +31 -29
- {airbyte_agent_mcp-0.1.33.dist-info → airbyte_agent_mcp-0.1.60.dist-info}/WHEEL +0 -0
airbyte_agent_mcp/server.py
CHANGED
|
@@ -12,8 +12,41 @@ from airbyte_agent_mcp.secret_manager import DotEnvSecretsBackend, SecretsManage
|
|
|
12
12
|
|
|
13
13
|
logger = logging.getLogger(__name__)
|
|
14
14
|
|
|
15
|
+
# =============================================================================
|
|
16
|
+
# Server Instructions
|
|
17
|
+
# =============================================================================
|
|
18
|
+
# This text is provided to AI agents via the MCP protocol's "instructions" field.
|
|
19
|
+
# It helps agents understand when to use this server's tools, especially when
|
|
20
|
+
# tool search is enabled. For more context, see:
|
|
21
|
+
# - FastMCP docs: https://gofastmcp.com/servers/overview
|
|
22
|
+
# - Claude tool search: https://www.anthropic.com/news/tool-use-improvements
|
|
23
|
+
# =============================================================================
|
|
24
|
+
|
|
25
|
+
MCP_SERVER_INSTRUCTIONS = """
|
|
26
|
+
Airbyte agent connector execution server, enabling CRUD operations on
|
|
27
|
+
pre-configured data connectors.
|
|
28
|
+
|
|
29
|
+
Use this server for:
|
|
30
|
+
- Executing operations on configured connectors (execute tool): perform CRUD
|
|
31
|
+
actions like list, get, create, update, delete on connector entities
|
|
32
|
+
- Discovering available connectors (discover_connectors tool): list all
|
|
33
|
+
connectors defined in configured_connectors.yaml
|
|
34
|
+
- Describing connector capabilities (describe_connector tool): get available
|
|
35
|
+
entities and supported actions for a specific connector
|
|
36
|
+
|
|
37
|
+
Configuration:
|
|
38
|
+
- Connectors are defined in configured_connectors.yaml
|
|
39
|
+
- Secrets are loaded from .env file via the secrets manager
|
|
40
|
+
- Supports both local connector packages and remote registry connectors
|
|
41
|
+
|
|
42
|
+
Typical workflow:
|
|
43
|
+
1. Call discover_connectors to see available connectors
|
|
44
|
+
2. Call describe_connector to understand a connector's entities and actions
|
|
45
|
+
3. Call execute to perform operations on connector entities
|
|
46
|
+
""".strip()
|
|
47
|
+
|
|
15
48
|
# Initialize FastMCP server
|
|
16
|
-
mcp = FastMCP("airbyte-agent-mcp")
|
|
49
|
+
mcp = FastMCP("airbyte-agent-mcp", instructions=MCP_SERVER_INSTRUCTIONS)
|
|
17
50
|
|
|
18
51
|
|
|
19
52
|
def _serialize_exception(e: Exception) -> dict:
|
|
@@ -5,54 +5,56 @@ airbyte_agent_mcp/connector_manager.py,sha256=FLkN2AfBS6YDckokyPGwhcL_TwSIl-a93x
|
|
|
5
5
|
airbyte_agent_mcp/models.py,sha256=yTA9Syu_RVQbZT8CisIfSBpL0Iee4-qEmXQWxYgFjLg,5001
|
|
6
6
|
airbyte_agent_mcp/registry_client.py,sha256=_boYT9ZzY8pAsb7LHTgOz7IHfhrbqKRQ_n-cTPDh4dE,3278
|
|
7
7
|
airbyte_agent_mcp/secret_manager.py,sha256=BeDWcYX4d_SxtCBdNoaYarV39qCJBbZcqJcy3LUumDE,2600
|
|
8
|
-
airbyte_agent_mcp/server.py,sha256=
|
|
8
|
+
airbyte_agent_mcp/server.py,sha256=bj0gYLCc7Y2fo9TW2kjP-hu357IsW5dYxRM5m9eac8E,9921
|
|
9
9
|
airbyte_agent_mcp/_vendored/__init__.py,sha256=ILl7AHXMui__swyrjxrh9yRa4dLiwBvV6axPWFWty80,38
|
|
10
10
|
airbyte_agent_mcp/_vendored/connector_sdk/__init__.py,sha256=T5o7roU6NSpH-lCAGZ338sE5dlh4ZU6i6IkeG1zpems,1949
|
|
11
|
-
airbyte_agent_mcp/_vendored/connector_sdk/auth_strategies.py,sha256=
|
|
12
|
-
airbyte_agent_mcp/_vendored/connector_sdk/auth_template.py,sha256=
|
|
13
|
-
airbyte_agent_mcp/_vendored/connector_sdk/connector_model_loader.py,sha256=
|
|
14
|
-
airbyte_agent_mcp/_vendored/connector_sdk/constants.py,sha256=
|
|
11
|
+
airbyte_agent_mcp/_vendored/connector_sdk/auth_strategies.py,sha256=BdjAzFRTwXCmLFqYWqZ4Dx9RsqtI7pAkw-8NynSK4sQ,39914
|
|
12
|
+
airbyte_agent_mcp/_vendored/connector_sdk/auth_template.py,sha256=nju4jqlFC_KI82ILNumNIyiUtRJcy7J94INIZ0QraI4,4454
|
|
13
|
+
airbyte_agent_mcp/_vendored/connector_sdk/connector_model_loader.py,sha256=Cx9wPhKwWfzkc8i63IevL0EsN3iWUl_OA-_jA9EKNcE,34877
|
|
14
|
+
airbyte_agent_mcp/_vendored/connector_sdk/constants.py,sha256=AtzOvhDMWbRJgpsQNWl5tkogHD6mWgEY668PgRmgtOY,2737
|
|
15
15
|
airbyte_agent_mcp/_vendored/connector_sdk/exceptions.py,sha256=ss5MGv9eVPmsbLcLWetuu3sDmvturwfo6Pw3M37Oq5k,481
|
|
16
|
-
airbyte_agent_mcp/_vendored/connector_sdk/extensions.py,sha256=
|
|
17
|
-
airbyte_agent_mcp/_vendored/connector_sdk/http_client.py,sha256=
|
|
18
|
-
airbyte_agent_mcp/_vendored/connector_sdk/
|
|
19
|
-
airbyte_agent_mcp/_vendored/connector_sdk/
|
|
16
|
+
airbyte_agent_mcp/_vendored/connector_sdk/extensions.py,sha256=XWRRoJOOrwUHSKbuQt5DU7CCu8ePzhd_HuP7c_uD77w,21376
|
|
17
|
+
airbyte_agent_mcp/_vendored/connector_sdk/http_client.py,sha256=NdccrrBHI5rW56XnXcP54arCwywIVKnMeSQPas6KlOM,27466
|
|
18
|
+
airbyte_agent_mcp/_vendored/connector_sdk/introspection.py,sha256=2CyKXZHT74-1Id97uw1RLeyOi6TV24_hoNbQ6-6y7uI,10335
|
|
19
|
+
airbyte_agent_mcp/_vendored/connector_sdk/secrets.py,sha256=J9ezMu4xNnLW11xY5RCre6DHP7YMKZCqwGJfk7ufHAM,6855
|
|
20
|
+
airbyte_agent_mcp/_vendored/connector_sdk/types.py,sha256=CStkOsLtmZZdXylkdCsbYORDzughxygt1-Ucma0j-qE,8287
|
|
20
21
|
airbyte_agent_mcp/_vendored/connector_sdk/utils.py,sha256=G4LUXOC2HzPoND2v4tQW68R9uuPX9NQyCjaGxb7Kpl0,1958
|
|
21
22
|
airbyte_agent_mcp/_vendored/connector_sdk/validation.py,sha256=CDjCux1eg35a0Y4BegSivzIwZjiTqOxYWotWNLqTSVU,31792
|
|
22
23
|
airbyte_agent_mcp/_vendored/connector_sdk/cloud_utils/__init__.py,sha256=4799Hv9f2zxDVj1aLyQ8JpTEuFTp_oOZMRz-NZCdBJg,134
|
|
23
|
-
airbyte_agent_mcp/_vendored/connector_sdk/cloud_utils/client.py,sha256=
|
|
24
|
+
airbyte_agent_mcp/_vendored/connector_sdk/cloud_utils/client.py,sha256=YxdRpQr9XjDzih6csSseBVGn9kfMtaqbOCXP0TPuzFY,7189
|
|
24
25
|
airbyte_agent_mcp/_vendored/connector_sdk/executor/__init__.py,sha256=EmG9YQNAjSuYCVB4D5VoLm4qpD1KfeiiOf7bpALj8p8,702
|
|
25
|
-
airbyte_agent_mcp/_vendored/connector_sdk/executor/hosted_executor.py,sha256=
|
|
26
|
-
airbyte_agent_mcp/_vendored/connector_sdk/executor/local_executor.py,sha256=
|
|
26
|
+
airbyte_agent_mcp/_vendored/connector_sdk/executor/hosted_executor.py,sha256=ydHcG-biRS1ITT5ELwPShdJW-KYpvK--Fos1ipNgHho,6995
|
|
27
|
+
airbyte_agent_mcp/_vendored/connector_sdk/executor/local_executor.py,sha256=CMuknflYNY6_f83xrxvqewfI52MLYdPin3Rvz6HS3wU,67610
|
|
27
28
|
airbyte_agent_mcp/_vendored/connector_sdk/executor/models.py,sha256=lYVT_bNcw-PoIks4WHNyl2VY-lJVf2FntzINSOBIheE,5845
|
|
28
29
|
airbyte_agent_mcp/_vendored/connector_sdk/http/__init__.py,sha256=y8fbzZn-3yV9OxtYz8Dy6FFGI5v6TOqADd1G3xHH3Hw,911
|
|
29
30
|
airbyte_agent_mcp/_vendored/connector_sdk/http/config.py,sha256=6J7YIIwHC6sRu9i-yKa5XvArwK2KU60rlnmxzDZq3lw,3283
|
|
30
31
|
airbyte_agent_mcp/_vendored/connector_sdk/http/exceptions.py,sha256=eYdYmxqcwA6pgrSoRXNfR6_nRBGRH6upp2-r1jcKaZo,3586
|
|
31
32
|
airbyte_agent_mcp/_vendored/connector_sdk/http/protocols.py,sha256=eV7NbBIQOcPLw-iu8mtkV2zCVgScDwP0ek1SbPNQo0g,3323
|
|
32
|
-
airbyte_agent_mcp/_vendored/connector_sdk/http/response.py,sha256=
|
|
33
|
+
airbyte_agent_mcp/_vendored/connector_sdk/http/response.py,sha256=Q-RyM5D0D05ZhmZVJk4hVpmoS8YtyXNOTM5hqBt7rWI,3475
|
|
33
34
|
airbyte_agent_mcp/_vendored/connector_sdk/http/adapters/__init__.py,sha256=gjbWdU4LfzUG2PETI0TkfkukdzoCAhpL6FZtIEnkO-s,209
|
|
34
35
|
airbyte_agent_mcp/_vendored/connector_sdk/http/adapters/httpx_adapter.py,sha256=dkYhzBWiKBmzWZlc-cRTx50Hb6fy3OI8kOQvXRfS1CQ,8465
|
|
35
36
|
airbyte_agent_mcp/_vendored/connector_sdk/logging/__init__.py,sha256=IZoE5yXhwSA0m3xQqh0FiCifjp1sB3S8jnnFPuJLYf8,227
|
|
36
|
-
airbyte_agent_mcp/_vendored/connector_sdk/logging/logger.py,sha256=
|
|
37
|
-
airbyte_agent_mcp/_vendored/connector_sdk/logging/types.py,sha256=
|
|
37
|
+
airbyte_agent_mcp/_vendored/connector_sdk/logging/logger.py,sha256=GKm03UgDMNlvGuuH_c07jNcZmUccC3DISG269Ehj1Uo,8084
|
|
38
|
+
airbyte_agent_mcp/_vendored/connector_sdk/logging/types.py,sha256=z0UiSdXP_r71mtwWkJydo0InsNpYOMyI7SVutzd2PEo,3172
|
|
38
39
|
airbyte_agent_mcp/_vendored/connector_sdk/observability/__init__.py,sha256=ojx1n9vaWCXFFvb3-90Pwtg845trFdV2v6wcCoO75Ko,269
|
|
39
|
-
airbyte_agent_mcp/_vendored/connector_sdk/observability/
|
|
40
|
+
airbyte_agent_mcp/_vendored/connector_sdk/observability/config.py,sha256=uWvRAPHnEusVKviQQncqcpnHKNhoZ4ZoFK6nUOSVClY,5372
|
|
41
|
+
airbyte_agent_mcp/_vendored/connector_sdk/observability/models.py,sha256=IRGjlJia28_IU7BMSBb5RHWs47yAOLvE20JIIXHazLY,448
|
|
40
42
|
airbyte_agent_mcp/_vendored/connector_sdk/observability/redactor.py,sha256=HRbSwGxsfQYbYlG4QBVvv8Qnw0d4SMowMv0dTFHsHqQ,2361
|
|
41
|
-
airbyte_agent_mcp/_vendored/connector_sdk/observability/session.py,sha256=
|
|
43
|
+
airbyte_agent_mcp/_vendored/connector_sdk/observability/session.py,sha256=WYRIB3bVz9HhpElkUO9CILCRIrWs9p2MR2hmf8uJm3E,3086
|
|
42
44
|
airbyte_agent_mcp/_vendored/connector_sdk/performance/__init__.py,sha256=Sp5fSd1LvtIQkv-fnrKqPsM7-6IWp0sSZSK0mhzal_A,200
|
|
43
45
|
airbyte_agent_mcp/_vendored/connector_sdk/performance/instrumentation.py,sha256=_dXvNiqdndIBwDjeDKNViWzn_M5FkSUsMmJtFldrmsM,1504
|
|
44
|
-
airbyte_agent_mcp/_vendored/connector_sdk/performance/metrics.py,sha256=
|
|
46
|
+
airbyte_agent_mcp/_vendored/connector_sdk/performance/metrics.py,sha256=FRff7dKt4iwt_A7pxV5n9kAGBR756PC7q8-weWygPSM,2817
|
|
45
47
|
airbyte_agent_mcp/_vendored/connector_sdk/schema/__init__.py,sha256=Uymu-QuzGJuMxexBagIvUxpVAigIuIhz3KeBl_Vu4Ko,1638
|
|
46
|
-
airbyte_agent_mcp/_vendored/connector_sdk/schema/base.py,sha256=
|
|
47
|
-
airbyte_agent_mcp/_vendored/connector_sdk/schema/components.py,sha256=
|
|
48
|
-
airbyte_agent_mcp/_vendored/connector_sdk/schema/connector.py,sha256=
|
|
49
|
-
airbyte_agent_mcp/_vendored/connector_sdk/schema/extensions.py,sha256=
|
|
50
|
-
airbyte_agent_mcp/_vendored/connector_sdk/schema/operations.py,sha256=
|
|
51
|
-
airbyte_agent_mcp/_vendored/connector_sdk/schema/security.py,sha256=
|
|
48
|
+
airbyte_agent_mcp/_vendored/connector_sdk/schema/base.py,sha256=RcsVLrO0L57g4kWfpDWjfc9gelvecplmoy43Zi-7GEY,4944
|
|
49
|
+
airbyte_agent_mcp/_vendored/connector_sdk/schema/components.py,sha256=x3YCM1p2n_xHi50fMeOX0mXUiPqjGlLHs3Go8jXokb0,7895
|
|
50
|
+
airbyte_agent_mcp/_vendored/connector_sdk/schema/connector.py,sha256=mSZk1wr2YSdRj9tTRsPAuIlCzd_xZLw-Bzl1sMwE0rE,3731
|
|
51
|
+
airbyte_agent_mcp/_vendored/connector_sdk/schema/extensions.py,sha256=YuA40iwQeioPYIxJRM7VBY6CrbtT9AKYFoJrF3lFN3M,6239
|
|
52
|
+
airbyte_agent_mcp/_vendored/connector_sdk/schema/operations.py,sha256=RpzGtAI4yvAtMHAfMUMcUwgHv_qJojnKlNb75_agUF8,5729
|
|
53
|
+
airbyte_agent_mcp/_vendored/connector_sdk/schema/security.py,sha256=zQ9RRuF3LBgLQi_4cItmjXbG_5WKlmCNM3nCil30H90,8470
|
|
52
54
|
airbyte_agent_mcp/_vendored/connector_sdk/telemetry/__init__.py,sha256=RaLgkBU4dfxn1LC5Y0Q9rr2PJbrwjxvPgBLmq8_WafE,211
|
|
53
55
|
airbyte_agent_mcp/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
|
|
54
|
-
airbyte_agent_mcp/_vendored/connector_sdk/telemetry/events.py,sha256=
|
|
55
|
-
airbyte_agent_mcp/_vendored/connector_sdk/telemetry/tracker.py,sha256=
|
|
56
|
-
airbyte_agent_mcp-0.1.
|
|
57
|
-
airbyte_agent_mcp-0.1.
|
|
58
|
-
airbyte_agent_mcp-0.1.
|
|
56
|
+
airbyte_agent_mcp/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
|
|
57
|
+
airbyte_agent_mcp/_vendored/connector_sdk/telemetry/tracker.py,sha256=Ftrk0_ddfM7dZG8hF9xBuPwhbc9D6JZ7Q9qs5o3LEyA,5579
|
|
58
|
+
airbyte_agent_mcp-0.1.60.dist-info/METADATA,sha256=KRW4oLq5QYG2rUlpeCpSMXtfpytf0BEiVHe5wg7f5nk,3009
|
|
59
|
+
airbyte_agent_mcp-0.1.60.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
60
|
+
airbyte_agent_mcp-0.1.60.dist-info/RECORD,,
|
|
File without changes
|