Skip to content

Commit bb84d66

Browse files
committed
fix(deploy-on-aws): shorten MCP server names for Bedrock 64-char limit
Rename MCP server keys from awsiac/awsknowledge/awspricing to iac/knowledge/pricing. Claude Code constructs tool names as mcp__plugin_<plugin>_<server>__<tool>, and the old names caused the full tool name to exceed Bedrock Converse API's 64-character constraint (ValidationException). Before: mcp__plugin_deploy-on-aws_awsknowledge__get_regional_availability (69 chars) After: mcp__plugin_deploy-on-aws_knowledge__get_regional_availability (63 chars) Updated all references in SKILL.md, README.md, and reference docs. Fixes #131
1 parent b467313 commit bb84d66

6 files changed

Lines changed: 15 additions & 15 deletions

File tree

plugins/deploy-on-aws/.mcp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"mcpServers": {
3-
"awsiac": {
3+
"iac": {
44
"args": [
55
"awslabs.aws-iac-mcp-server@latest"
66
],
77
"command": "uvx"
88
},
9-
"awsknowledge": {
9+
"knowledge": {
1010
"type": "http",
1111
"url": "https://knowledge-mcp.global.api.aws"
1212
},
13-
"awspricing": {
13+
"pricing": {
1414
"args": [
1515
"awslabs.aws-pricing-mcp-server@latest"
1616
],

plugins/deploy-on-aws/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ This plugin provides two skills: infrastructure deployment with cost estimation,
1717

1818
| Server | Description |
1919
| -------------- | ------------------------------------------------- |
20-
| `awsiac` | AWS IaC best practices and patterns |
21-
| `awsknowledge` | Architecture guidance and service recommendations |
22-
| `awspricing` | Real-time AWS pricing data for cost estimation |
20+
| `iac` | AWS IaC best practices and patterns |
21+
| `knowledge` | Architecture guidance and service recommendations |
22+
| `pricing` | Real-time AWS pricing data for cost estimation |
2323

2424
## Installation
2525

plugins/deploy-on-aws/skills/deploy/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Core principle: Default to **dev-sized** (cost-conscious: small instance sizes,
2828

2929
## MCP Servers
3030

31-
### awsknowledge
31+
### knowledge
3232

3333
Consult for architecture decisions. Use when choosing between AWS services
3434
or validating that a service fits the use case. Helps answer "what's the
@@ -37,13 +37,13 @@ right AWS service for X?"
3737
Key topics: `general` for architecture, `amplify_docs` for static sites/SPAs,
3838
`cdk_docs` and `cdk_constructs` for IaC patterns.
3939

40-
### awspricing
40+
### pricing
4141

4242
Get cost estimates. **Always present costs before generating IaC** so user
4343
can adjust before committing. See [cost-estimation.md](references/cost-estimation.md)
4444
for query patterns.
4545

46-
### awsiac
46+
### iac
4747

4848
Consult for IaC best practices. Use when writing CDK/CloudFormation/Terraform
4949
to ensure patterns follow AWS recommendations.

plugins/deploy-on-aws/skills/deploy/references/cost-estimation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cost Estimation Patterns
22

3-
Use the **awspricing** MCP server to get accurate cost estimates before generating IaC.
3+
Use the **pricing** MCP server to get accurate cost estimates before generating IaC.
44

55
## Workflow
66

plugins/deploy-on-aws/skills/deploy/references/defaults.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Less configuration than S3 + CloudFront. Git-based deployments work out of the b
2525
Use S3 + CloudFront when user needs fine-grained control over caching, edge functions,
2626
or has existing CloudFront infrastructure.
2727

28-
Use `amplify_docs` topic in awsknowledge MCP for framework-specific guidance
28+
Use `amplify_docs` topic in knowledge MCP for framework-specific guidance
2929
(React, Next.js, Vue, Angular, etc.).
3030

3131
## Database

plugins/deploy-on-aws/skills/deploy/references/security.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ through NAT Gateway. ALB is the only public-facing component.
7272
### Dev simplification
7373

7474
For dev, a single-AZ VPC with 1 public + 1 private subnet is sufficient.
75-
Use `awsknowledge` topic `vpc_patterns` for multi-AZ production layouts.
75+
Use `knowledge` topic `vpc_patterns` for multi-AZ production layouts.
7676

7777
## IAM
7878

@@ -89,7 +89,7 @@ Never use `*` for resources or actions unless unavoidable (e.g., S3 bucket
8989
contents require `s3:GetObject` on `bucket/*`). Enumerate specific ARNs.
9090
Use conditions where possible.
9191

92-
Consult `awsiac` MCP for IAM policy patterns by service.
92+
Consult `iac` MCP for IAM policy patterns by service.
9393

9494
## Security Groups
9595

@@ -187,5 +187,5 @@ When user requests "production" or "prod", additionally enable:
187187

188188
## MCP References
189189

190-
- `awsknowledge` topics: `vpc_patterns`, `iam_best_practices`, `security`
191-
- `awsiac` for CDK security constructs (L2 constructs apply many defaults)
190+
- `knowledge` topics: `vpc_patterns`, `iam_best_practices`, `security`
191+
- `iac` for CDK security constructs (L2 constructs apply many defaults)

0 commit comments

Comments
 (0)