inflexa mcp add
Add an MCP server: a local command after --, or an HTTP server with --url
Usage
inflexa mcp add [options] <name> [command...]
Arguments
| Argument |
Required |
Description |
<name> |
required |
The server name: lowercase letters, digits, and hyphens |
[command...] |
optional |
The command of a local server and its arguments |
Options
| Option |
Description |
Default |
--url <url> |
The URL of an HTTP server |
|
--header <key=value...> |
A header of an HTTP server; a secret is a ${cred:<name>} reference |
|
--oauth |
The HTTP server signs in with OAuth (inflexa mcp auth) |
|
--env <key=value...> |
A variable of a local server; a secret is a ${cred:<name>} reference |
|
--approval <mode> |
never (the default) or always (ask before each call; only the chat agent and the reporter can attach the server) |
|
--scriptable |
Also give the tools to scripts (needs --approval never) |
|
--disabled |
Add the server turned off |
|