Skip to content

Commit 848ce7d

Browse files
committed
merge: resolve conflict with main, incorporate mcp.json gateway reset from #484
2 parents 76e0487 + d4aa281 commit 848ce7d

17 files changed

Lines changed: 708 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,59 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.3.0-preview.3.0] - 2026-03-02
6+
7+
### Added
8+
- feat: add npm cache ownership preflight check (#462) (f2942dd)
9+
- feat: implement gateway integration (#472) (3cf1342)
10+
- feat: add version-aware AWS CLI guidance to credential error messages (#452) (0e036a8)
11+
- feat: support custom package index (UV_DEFAULT_INDEX) for Container builds (#453) (478fde8)
12+
- feat: add VPC CLI flags to create and add commands [2/3] (#425) (c75f4cd)
13+
- feat: add VPC info messages to dev and invoke commands [3/3] (#426) (7a81b02)
14+
- feat: add VPC network mode to schema (#424) (4180646)
15+
- feat: show version update notification on CLI startup (#380) (dd17167)
16+
17+
### Fixed
18+
- fix: revert version to 0.3.0-preview.2.1 (accidentally bumped in #472) (#479) (f5cf41c)
19+
- fix: drop wip and statuses write from PR title workflow (#476) (d5a7a3b)
20+
- fix: add statuses write permission to PR title workflow (#475) (6d88468)
21+
- fix: add .venv/bin to PATH in container Dockerfile (#471) (571a610)
22+
- fix: prevent spurious agent startup in dev mode and remove tiktoken dep (#454) (ac62c4e)
23+
- fix: resolve all npm audit vulnerabilities (#422) (33523a6)
24+
- fix: container dev mode no longer assumes uv or bedrock_agentcore user (#433) (7c5b2f3)
25+
- fix: disallow underscores in deployment target names and sanitize stack names (#412) (5f2fbda)
26+
- fix: replace dead CDK test and update stale READMEs; enable strict tsconfig flags in vended CDK project (#379) (47da675)
27+
- fix: handle unhandled promise rejection in vended CDK main() (#409) (ecaedf8)
28+
- fix: surface Python errors during agentcore dev (#359) (c7eead8)
29+
- fix: avoid DEP0190 warning when spawning subprocesses with shell mode (#360) (e1d1e9b)
30+
- fix: e2e testing workflow with orphaned e2e deployments (#381) (c41b738)
31+
32+
### Other Changes
33+
- chore: remove VPC feature from CLI (#466) (3e8a72f)
34+
- chore: remove web-harness and update rollup to fix vulnerability (#463) (10272d2)
35+
- chore: disable npm caching in release workflow (#460) (ca5644f)
36+
- chore(deps): bump @aws-sdk/client-bedrock-agentcore from 3.993.0 to 3.995.0 (#398) (0b39e45)
37+
- chore(deps-dev): bump dev-dependencies group with 4 updates (#386) (515785d)
38+
- chore(deps): bump @aws-cdk/toolkit-lib from 1.15.1 to 1.16.0 (#388) (122bc65)
39+
- chore(deps): bump @aws-sdk/credential-providers from 3.993.0 to 3.995.0 (#387) (f44e250)
40+
- chore(deps): bump @smithy/shared-ini-file-loader from 4.4.3 to 4.4.4 (#393) (7806cd8)
41+
- chore(deps): bump @aws-sdk/client-resource-groups-tagging-api from 3.993.0 to 3.995.0 (#397) (15b33b6)
42+
- chore(deps): bump @aws-sdk/client-cloudformation from 3.993.0 to 3.995.0 (#399) (60f52d8)
43+
- chore(deps): bump @aws-sdk/client-bedrock-runtime from 3.993.0 to 3.995.0 (#400) (0aa8a30)
44+
- chore(deps-dev): bump typescript-eslint from 8.56.0 to 8.56.1 (#401) (d683b29)
45+
- chore(deps): bump @aws-sdk/client-sts from 3.993.0 to 3.995.0 (#402) (21953a1)
46+
- chore(deps-dev): bump @typescript-eslint/parser from 8.56.0 to 8.56.1 (#404) (7dad5d3)
47+
- chore(deps): bump @aws-sdk/client-bedrock-agentcore-control from 3.993.0 to 3.995.0 (#403) (7741d44)
48+
- ci: bump slackapi/slack-github-action from 2.0.0 to 2.1.1 (#394) (a267244)
49+
- ci: bump actions/checkout from 4 to 6 (#391) (99d3f29)
50+
- ci: bump actions/setup-node from 4 to 6 (#396) (81d1626)
51+
- ci: bump actions/download-artifact from 4 to 7 (#392) (bce7bc6)
52+
- ci: bump actions/cache from 4 to 5 (#389) (5424f89)
53+
- chore: add Dependabot configuration (#372) (fd5c9a9)
54+
- ci: add Slack notification workflow for new issues (#383) (53159e3)
55+
- ci: add feat/gateway-integration branch to workflow triggers (#376) (bbfcdc4)
56+
- chore: split e2e workflow into PR-focused and weekly full suite (#367) (fe1283a)
57+
558
## [0.3.0-preview.2.1] - 2026-02-20
659

760
### Added

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ Projects use JSON schema files in the `agentcore/` directory:
131131
- [CLI Commands Reference](docs/commands.md) - Full command reference for scripting and CI/CD
132132
- [Configuration](docs/configuration.md) - Schema reference for config files
133133
- [Frameworks](docs/frameworks.md) - Supported frameworks and model providers
134+
- [Gateway](docs/gateway.md) - Gateway setup, targets, and authentication
134135
- [Memory](docs/memory.md) - Memory strategies and sharing
135136
- [Local Development](docs/local-development.md) - Dev server and debugging
136137

docs/commands.md

Lines changed: 113 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,21 +151,114 @@ agentcore add memory \
151151
| `--expiry <days>` | Event expiry (default: 30) |
152152
| `--json` | JSON output |
153153

154+
### add gateway
155+
156+
Add a gateway to the project. Gateways act as MCP-compatible proxies that route agent requests to backend tools.
157+
158+
```bash
159+
# Interactive mode (select 'Gateway' from the menu)
160+
agentcore add
161+
162+
# No authorization (development/testing)
163+
agentcore add gateway --name MyGateway
164+
165+
# CUSTOM_JWT authorization (production)
166+
agentcore add gateway \
167+
--name MyGateway \
168+
--authorizer-type CUSTOM_JWT \
169+
--discovery-url https://idp.example.com/.well-known/openid-configuration \
170+
--allowed-audience my-api \
171+
--allowed-clients my-client-id \
172+
--agent-client-id agent-client-id \
173+
--agent-client-secret agent-client-secret
174+
```
175+
176+
| Flag | Description |
177+
| -------------------------------- | ------------------------------------------------------------ |
178+
| `--name <name>` | Gateway name |
179+
| `--description <desc>` | Gateway description |
180+
| `--authorizer-type <type>` | `NONE` (default) or `CUSTOM_JWT` |
181+
| `--discovery-url <url>` | OIDC discovery URL (required for CUSTOM_JWT) |
182+
| `--allowed-audience <values>` | Comma-separated allowed audiences (required for CUSTOM_JWT) |
183+
| `--allowed-clients <values>` | Comma-separated allowed client IDs (required for CUSTOM_JWT) |
184+
| `--allowed-scopes <scopes>` | Comma-separated allowed scopes (optional for CUSTOM_JWT) |
185+
| `--agent-client-id <id>` | Agent OAuth client ID for Bearer token auth (CUSTOM_JWT) |
186+
| `--agent-client-secret <secret>` | Agent OAuth client secret (CUSTOM_JWT) |
187+
| `--json` | JSON output |
188+
189+
### add gateway-target
190+
191+
Add a gateway target to the project. Targets are backend tools exposed through a gateway as an external MCP server
192+
endpoint.
193+
194+
```bash
195+
# Interactive mode (select 'Gateway Target' from the menu)
196+
agentcore add
197+
198+
# External MCP server endpoint
199+
agentcore add gateway-target \
200+
--name WeatherTools \
201+
--source existing-endpoint \
202+
--endpoint https://mcp.example.com/mcp \
203+
--gateway MyGateway
204+
205+
# External endpoint with OAuth outbound auth
206+
agentcore add gateway-target \
207+
--name SecureTools \
208+
--source existing-endpoint \
209+
--endpoint https://api.example.com/mcp \
210+
--gateway MyGateway \
211+
--outbound-auth oauth \
212+
--oauth-client-id my-client \
213+
--oauth-client-secret my-secret \
214+
--oauth-discovery-url https://auth.example.com/.well-known/openid-configuration
215+
```
216+
217+
| Flag | Description |
218+
| -------------------------------- | ----------------------------------------------- |
219+
| `--name <name>` | Target name |
220+
| `--description <desc>` | Target description |
221+
| `--source <source>` | `existing-endpoint` |
222+
| `--endpoint <url>` | MCP server endpoint URL |
223+
| `--gateway <name>` | Gateway to attach target to |
224+
| `--outbound-auth <type>` | `oauth`, `api-key`, or `none` |
225+
| `--credential-name <name>` | Existing credential name for outbound auth |
226+
| `--oauth-client-id <id>` | OAuth client ID (creates credential inline) |
227+
| `--oauth-client-secret <secret>` | OAuth client secret (creates credential inline) |
228+
| `--oauth-discovery-url <url>` | OAuth discovery URL (creates credential inline) |
229+
| `--oauth-scopes <scopes>` | OAuth scopes, comma-separated |
230+
| `--json` | JSON output |
231+
154232
### add identity
155233

156-
Add a credential provider (API key). Credentials are top-level resources in the flat resource model.
234+
Add a credential to the project. Supports API key and OAuth credential types.
157235

158236
```bash
237+
# API key credential
159238
agentcore add identity \
160239
--name OpenAI \
161240
--api-key sk-...
241+
242+
# OAuth credential
243+
agentcore add identity \
244+
--name MyOAuthProvider \
245+
--type oauth \
246+
--discovery-url https://idp.example.com/.well-known/openid-configuration \
247+
--client-id my-client-id \
248+
--client-secret my-client-secret \
249+
--scopes read,write
162250
```
163251

164-
| Flag | Description |
165-
| ----------------- | --------------- |
166-
| `--name <name>` | Credential name |
167-
| `--api-key <key>` | API key value |
168-
| `--json` | JSON output |
252+
| Flag | Description |
253+
| -------------------------- | -------------------------------- |
254+
| `--name <name>` | Credential name |
255+
| `--type <type>` | `api-key` (default) or `oauth` |
256+
| `--api-key <key>` | API key value (api-key type) |
257+
| `--discovery-url <url>` | OAuth discovery URL (oauth type) |
258+
| `--client-id <id>` | OAuth client ID (oauth type) |
259+
| `--client-secret <secret>` | OAuth client secret (oauth type) |
260+
| `--scopes <scopes>` | OAuth scopes, comma-separated |
261+
| `--json` | JSON output |
169262

170263
### remove
171264

@@ -175,6 +268,8 @@ Remove resources from project.
175268
agentcore remove agent --name MyAgent --force
176269
agentcore remove memory --name SharedMemory
177270
agentcore remove identity --name OpenAI
271+
agentcore remove gateway --name MyGateway
272+
agentcore remove gateway-target --name WeatherTools
178273

179274
# Reset everything
180275
agentcore remove all --force
@@ -281,6 +376,18 @@ agentcore add memory --name SharedMemory --strategies SEMANTIC
281376
agentcore deploy -y
282377
```
283378

379+
### Gateway Setup
380+
381+
```bash
382+
agentcore add gateway --name MyGateway
383+
agentcore add gateway-target \
384+
--name WeatherTools \
385+
--source existing-endpoint \
386+
--endpoint https://mcp.example.com/mcp \
387+
--gateway MyGateway
388+
agentcore deploy -y
389+
```
390+
284391
### JSON Output for Automation
285392

286393
All commands with `--json` output structured data:

0 commit comments

Comments
 (0)