aws / aws/amazon-q-developer-cli

Feature Request: Trust MCP read only tools

Open
#2,459 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

In MCP tools can have annotations.

It would be nice if trust model allowed to trust tools that MCP server marked as read only.

As MCP spec says that annotations is untrustworthy it must not be enabled by default, but should be allowed manually by user (e.g in live session or via mcp.json) per mcp (if i installed MCP myself i can decide to trust their annotations)

Refs
- https://gofastmcp.com/servers/tools#annotations
- https://modelcontextprotocol.io/specification/2025-06-18/server/tools#tool
- https://modelcontextprotocol.io/docs/concepts/tools#tool-annotations - this currently not available https://github.com/modelcontextprotocol/modelcontextprotocol/blob/04c6e1f0ea6544c7df307fb2d7c637efe34f58d3/docs/legacy/concepts/tools.mdx#L38 this one previous source for this page.

Notes
1. This is very well mapped to smithy to some degree. In use_aws currently it is hardcoded which commands consider readonly. All models already have readonly traits - making much better UX

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.