You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP: return structured results from Cloud deploy/connection/sync tools instead of prose strings #1306
Several Cloud MCP tools that create resources or start jobs return a prose sentence (-> str) instead of a structured object. An agent has to parse IDs and URLs out of free text, for example:
Sync started. Job ID is '<job_id>' and job URL is: <job_url>
We noticed this while testing the local stdio MCP end to end against Airbyte OSS 2.3.0. The deploy → connect → sync flow worked, but each step's IDs had to be scraped from sentences before the next call could use them.
Affected tools (airbyte/mcp/cloud.py):
deploy_connector_to_cloud (source and destination deploys)
deploy_noop_destination_to_cloud
create_connection_on_cloud
run_cloud_sync
Proposal
Return Pydantic result models, as the read/list tools already do, so FastMCP emits structuredContent plus an output schema. Pseudocode:
classCloudSyncStartedResult(BaseModel):
workspace_id: strconnection_id: strjob_id: intjob_url: strstatus: str|None# set when wait=TrueclassCloudConnectorDeployResult(BaseModel):
workspace_id: strconnector_id: str# source_id / destination_idconnector_name: strconnector_url: str
This changes the tool contract (return type and schema), so it should be a deliberate change on release-candidate/v1. It is separate from the workspace fix in #1305.
Activity