orke support mcp set
Add or replace one server from stdin JSON. headers/env map names to new strings, or null to keep stored values.
When to use it
Add or replace one server from stdin JSON. headers/env map names to new strings, or null to keep stored values.
Syntax
Terminal
orke support mcp set --id <string> --revision <string> --stdin [--json]Options
| Option | Required | Values and meaning |
|---|---|---|
--id | Required | Support AI ID (ai_…)string |
--revision | Required | Settings revision from a preceding read; detects concurrent editsstring |
--stdin | Required | Read strict UTF-8 input through standard input. |
Read common options and errors →
Role and constraints
operator · windows, macos, linux
- Requires a running daemon owned by the same OS user; --help never connects.
- Secret input requires --stdin; never put secrets in command-line values.
- The Get-Content pipe example uses PowerShell; file < redirection uses POSIX shell syntax. File contents travel through stdin, never argv.
- MCP server JSON: name, kind (url|stdio), url/headers or command/args (string array)/cwd/env, user ({enabled,header,env}), keepFrom, lastTest. headers/env map names to strings; null keeps the saved value from keepFrom (default name). Names match [a-z][a-z0-9_-]{0,31}; do not put secrets in URLs or command arguments.
Examples
Terminal
Get-Content -Raw ./mcp.json | orke support mcp set --id ai_aaaaaaaaaaaaaaaaaaaa --revision "example" --stdin --jsonTerminal
orke support mcp set --id ai_aaaaaaaaaaaaaaaaaaaa --revision "example" --stdin --json < ./mcp.jsonReplace example IDs, slugs, revisions, and files with actual observations and inputs.
Response and partial results
{ai}