Enable an MCP server (–url or –command)
halo enable mcp <name> [flags]
| Flag |
Shorthand |
Type |
Default |
Description |
--command |
|
string |
|
command line of a local (stdio) server |
--dry-run |
|
bool |
false |
print the diff instead of writing |
--expires |
|
string |
|
toggle expiry YYYY-MM-DD (default: 90 days) |
--for |
|
string |
all |
all (profile change) | <ring> | N% | group:<name> | user:<id> (a toggle) |
--header |
|
stringArray |
[] |
request header Name=value (use ${VAR} for secrets; repeatable) |
--owner |
|
string |
|
toggle owner (default: first identity.adminGroups entry) |
--policy-dir |
|
string |
|
policy repo directory (default “.”) |
--url |
|
string |
|
https URL of a remote server |
| Flag |
Shorthand |
Type |
Default |
Description |
--output |
|
string |
text |
output format: text|json |
halo enable