diff --git a/gnexus_creds/mcp_protocol.py b/gnexus_creds/mcp_protocol.py index ee50045..b32c028 100644 --- a/gnexus_creds/mcp_protocol.py +++ b/gnexus_creds/mcp_protocol.py @@ -164,12 +164,15 @@ tags: list[str] | None = None, allow_ui: bool = True, allow_rest_api: bool = True, - allow_mcp: bool = False, + allow_mcp: bool = True, fields: list[dict[str, Any]] | None = None, ctx: Context = None, # type: ignore[assignment] ) -> dict[str, Any]: """Create a secret through MCP. + Secrets created through MCP are always available to MCP clients + (allow_mcp is true by default). + The fields argument is a list of objects with name, value, encrypted, masked, and optional position. Passwords, tokens, PINs, private keys, recovery codes, and similar sensitive values must use encrypted=true.