aws / aws/agentcore-cli

feat(gateway): surface streaming / streamable-HTTP transport configuration

Aperta
#1,355 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
283
Fork
95
Merge medio
1g 2h
PR unite (30g)
183

Descrizione

### Description

AgentCore Gateway supports MCP streamable-HTTP transport on the data plane, but neither the CLI nor `AWS::BedrockAgentCore::Gateway` (CFN) surface any streaming configuration. The CFN [`MCPGatewayConfiguration`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.md) exposes only `Instructions`, `SearchType`, and `SupportedVersions` — there is no `Transport`, `StreamableHttp`, or analog property.

Customers building MCP clients want to (a) confirm streaming is enabled, (b) configure transport-level knobs (e.g. heartbeat / keep-alive intervals if any), and (c) see whether streaming is supported on a given gateway via `agentcore status`.

### Acceptance Criteria

- [ ] Confirm with the AgentCore service team which streaming-related parameters are exposed on the data plane (control-plane API, not CFN).
- [ ] If knobs exist on the data plane: add a `streaming` block to `AgentCoreGatewaySchema` (e.g. `streaming: { enabled?: boolean; transport?: 'STREAMABLE_HTTP' | 'SSE' }`) and apply via control-plane `UpdateGateway` (or analog) post-CFN deploy in the same imperative-call pattern used by other post-deploy actions.
- [ ] If no knobs are exposed today: add a doc/banner explaining streaming is enabled by default and link to the MCP spec.
- [ ] Surface streaming status in `agentcore status` for gateways.
- [ ] If/when CFN adds streaming properties, deprecate the imperative path in favor of CFN.

### Additional Context

- CFN support: **NO** — `MCPGatewayConfiguration` does not model streaming. ([docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.md))
- Control-plane: streaming behavior is implicit/internal as of 2026-05-21; needs internal confirmation on whether knobs exist.
- This may collapse to a "documentation-only" issue if there is nothing to configure today.
- Pattern to follow: see #542 (resource-based policies — imperative call pattern for things CFN doesn't yet support).

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Per prima cosa, conferma con il AgentCore service team quali parametri di streaming espone la control-plane API, usando come contesto la limitazione di CFN MCPGatewayConfiguration e la MCP specification. Poi esamina AgentCoreGatewaySchema, il pattern di imperative-call post-deploy di #542 e l'output di agentcore status gateway. Il lavoro è completato quando vengono esposti la configurazione di streaming e lo stato, oppure viene documentato il comportamento supportato per impostazione predefinita se non esistono controlli.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, typescript
Ambito
cli, cloud
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.