[PR #117] [MERGED] fix: add type hints for fix_access_denied for strict schema checks #242

Closed
opened 2026-03-15 11:55:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/awslabs/iam-policy-autopilot/pull/117
Author: @karanjitsingh
Created: 1/22/2026
Status: Merged
Merged: 1/26/2026
Merged by: @karanjitsingh

Base: mainHead: rmcp-fix


📝 Commits (2)

  • 1009ffb fix: add type hints for fix_access_denied for strict schema checks
  • 1d186ca fix: formatting

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 iam-policy-autopilot-mcp-server/src/tools/fix_access_denied.rs (+1 -1)

📄 Description

Issue #, if available:

As part of https //github.com/modelcontextprotocol/modelcontextprotocol/issues/1613 Kiro is performing strict checks for nullable types, causing errors like Error connecting to MCP server: "nullable" cannot be used without "type". Updating to latest (0.13) rmcp does not help. Hence, explicitly adding type hints to the offending contract is the only option for now.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/awslabs/iam-policy-autopilot/pull/117 **Author:** [@karanjitsingh](https://github.com/karanjitsingh) **Created:** 1/22/2026 **Status:** ✅ Merged **Merged:** 1/26/2026 **Merged by:** [@karanjitsingh](https://github.com/karanjitsingh) **Base:** `main` ← **Head:** `rmcp-fix` --- ### 📝 Commits (2) - [`1009ffb`](https://github.com/awslabs/iam-policy-autopilot/commit/1009ffbe3f6adeb2183031e3b74813a3763dd160) fix: add type hints for fix_access_denied for strict schema checks - [`1d186ca`](https://github.com/awslabs/iam-policy-autopilot/commit/1d186caabddb3ff92df8d03ab6f7ba79911c14f6) fix: formatting ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `iam-policy-autopilot-mcp-server/src/tools/fix_access_denied.rs` (+1 -1) </details> ### 📄 Description *Issue #, if available:* As part of `https //github.com/modelcontextprotocol/modelcontextprotocol/issues/1613` Kiro is performing strict checks for nullable types, causing errors like `Error connecting to MCP server: "nullable" cannot be used without "type"`. Updating to latest (0.13) `rmcp` does not help. Hence, explicitly adding type hints to the offending contract is the only option for now. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 11:55:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/iam-policy-autopilot#242
No description provided.