Skip to main content

diagrid mcpserver access grant

Grant a caller access to tools on an MCP server

diagrid mcpserver access grant <mcpserver> [flags]

Examples


# Allow agent-a to call the "query" and "search" tools on my-mcp.
diagrid mcpserver access grant my-mcp --project my-project --caller agent-a --allow-tools query,search

# Allow any caller to call any tool (open the server up).
diagrid mcpserver access grant my-mcp --project my-project --caller '*' --allow-tools '*'

Options

-p, --project string Name of existing project
--caller string App ID of the caller to grant access to (use '*' for any caller)
--allow-tools strings Tool names to allow (comma-separated or repeatable; use '*' for all tools)
-w, --wait Wait for long-running resource update to finish
-h, --help help for grant

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO