Skip to content

fix(iam-mcp-server): get role policy#2589

Open
esteban1192 wants to merge 2 commits intoawslabs:mainfrom
esteban1192:fix/iam-mcp-server/get_role_policy
Open

fix(iam-mcp-server): get role policy#2589
esteban1192 wants to merge 2 commits intoawslabs:mainfrom
esteban1192:fix/iam-mcp-server/get_role_policy

Conversation

@esteban1192
Copy link

Fixes

Summary

Found this bug
#2566

Changes

ensure policy documents are serialized as strings in IAM responses

User experience

Before user would get an error RAW ERROR: Error from MCP tool 'get_role_policy': [TextContent(type='text', text="Error executing...

Now user gets the inline policy

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • [x ] I have reviewed the contributing guidelines
  • [x ] I have performed a self-review of this change
  • [x ] Changes have been tested
  • [x ] Changes are documented

Is this a breaking change? (Y/N)
N

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

@esteban1192 esteban1192 requested review from a team and oshardik as code owners March 6, 2026 05:18
@esteban1192 esteban1192 changed the title Fix/iam mcp server/get role policy fix(iam-mcp-server): get role policy Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To triage

Development

Successfully merging this pull request may close these issues.

1 participant