Not possible to set IAM --readonly when loading via the Core MCP server? #2482
Unanswered
anentropic
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://awslabs.github.io/mcp/servers/iam-mcp-server#read-only-mode
Docs say:
And:
But what if I am just using https://awslabs.github.io/mcp/servers/core-mcp-server with
"security-identity": true?AFAICT there is no way to pass through that config
https://github.com/awslabs/mcp/blob/main/src/iam-mcp-server/awslabs/iam_mcp_server/server.py#L1576-L1589
https://github.com/awslabs/mcp/blob/main/src/core-mcp-server/awslabs/core_mcp_server/server.py#L441-L451
Maybe it'd be useful if args like
--read-onlyall had an associated env var, e.g.IAM_MCP_SERVER_READ_ONLY, so that arbitrary sub-server config can be passed through from the Core mcp.json ?Beta Was this translation helpful? Give feedback.
All reactions