You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update CLI documentation with new features and commands (#63)
* docs: update CLI documentation with new features and commands
- Update visibility options to workspace/group (removed team)
- Add new CLI flags: --jetbrains, --ide, --stream-json, --stream-json-input
- Add new tool commands: make and use
- Add MCP server management commands: add, remove, doctor
- Add connect command for web interface integration
- Include MCP server configuration examples
- Add amp.updates.mode configuration option
- Update last modified date to 2025-10-16
Amp-Thread-ID: https://ampcode.com/threads/T-f6b54b62-630e-48c7-8198-8bce005ed32a
Co-authored-by: Amp <amp@ampcode.com>
* Fix linting errors in amp_cli_docs.md: align tables and escape brackets
Amp-Thread-ID: https://ampcode.com/threads/T-7330cdac-eeb6-482a-9423-c5a6b641cbc3
Co-authored-by: Amp <amp@ampcode.com>
* Whitelist additional npm package URLs in CI workflow
Amp-Thread-ID: https://ampcode.com/threads/T-e01d6513-cc25-4c19-b2e9-e85a49e44dba
Co-authored-by: Amp <amp@ampcode.com>
---------
Co-authored-by: Amp <amp@ampcode.com>
|`--log-file <value>`| Set log file location (overrides the default location) |
136
-
|`--dangerously-allow-all`| Disable all command confirmation prompts (agent will execute all commands without asking) |
137
-
|`--mcp-config <value>`| JSON configuration or file path for MCP servers to merge with existing settings |
138
-
|`--try-gpt5`| Try GPT-5 as the primary agent model (limited time; see `https://ampcode.com/news/`gpt-5) |
139
-
|`-x, --execute [message]`| Use execute mode, optionally with user message. In execute mode, agent will execute provided prompt (either as argument, or via stdin). Only last assistant message is printed. Enabled automatically when redirecting stdout. |
| --log-file <value> | Set log file location (overrides the default location) |
136
+
| --dangerously-allow-all | Disable all command confirmation prompts (agent will execute all commands without asking) |
137
+
| --mcp-config <value> | JSON configuration or file path for MCP servers to merge with existing settings |
138
+
| --jetbrains | Enable JetBrains integration. When enabled, Amp automatically includes your open JetBrains file and text selection with every message. |
| --ide | Enable IDE connection (default). When enabled, Amp automatically includes your open IDE's file and text selection with every message. |
141
+
| --no-ide | Disable IDE connection. |
142
+
| --stream-json | When used with --execute, output in Claude Code compatible stream JSON format instead of plain text. |
143
+
| --stream-json-input | Read JSON Lines user messages from stdin. Requires both --execute and --stream-json. |
144
+
| -x, --execute \[message\]| Use execute mode, optionally with user message. In execute mode, agent will execute provided prompt (either as argument, or via stdin). Only last assistant message is printed. Enabled automatically when redirecting stdout. |
140
145
141
146
## Commands
142
147
143
148
Amp CLI includes several subcommands for enhanced functionality:
144
149
145
-
| Command | Description |
146
-
| --------------------- | ----------- |
147
-
|`logout`| Log out by removing stored API key |
148
-
|`login`| Log in to Amp |
149
-
|`threads`| Manage threads |
150
-
|`threads new`| Create a new thread |
151
-
|`threads continue`| Continue an existing thread |
152
-
|`threads fork`| Fork an existing thread |
153
-
|`threads list`| List all threads |
154
-
|`threads share`| Share a thread |
155
-
|`threads compact`| Compact a thread |
156
-
|`tools`| Tool management commands |
157
-
|`tools list`| List all active tools (including MCP tools) |
158
-
|`tools show`| Show details about an active tool |
0 commit comments