diagrid mcpserver schema
Print the OpenAPI schema for the mcpserver resource type
Description
Print the OpenAPI schema for the mcpserver resource type.
The schema lists every mcpserver field with all references resolved inline. It is read from the spec embedded in the CLI, so no project or login is needed. Use "diagrid mcpserver example" to print a ready-to-edit sample instead.
diagrid mcpserver schema [flags]
Examples
# Print the mcpserver schema as YAML
diagrid mcpserver schema
# Print the mcpserver schema as JSON
diagrid mcpserver schema --output json
Options
-h, --help help for schema
-o, --output string Output format, supported [yaml, json] (default "yaml")
Options inherited from parent commands
--api-key string Diagrid Cloud API key
SEE ALSO
- diagrid mcpserver - Manage MCP servers