Skip to content

Commit 802c19e

Browse files
authored
Merge pull request #242 from github/update/copilot-cli-oct-2026-2554fc835ef1ebb8
[bot] Update docs for Copilot CLI v1.0.92–v1.0.95 (settings file, MCP no-restart, copilot config commands)
2 parents 79158a0 + 7d6ef49 commit 802c19e

2 files changed

Lines changed: 19 additions & 6 deletions

File tree

‎01-setup-and-first-steps/README.md‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,18 @@ copilot
518518
# Shows available models and lets you pick one. Examples: GPT-6 Sol, GPT-6 Luna, Claude Sonnet 5.5, Claude Opus 5.5.
519519
```
520520

521-
> 💡 **Session vs. persistent model**: The `/model` command changes the model for the **current session only**. When you start a new session, Copilot will use the default again. To set a permanent default model for all future sessions, use `/config model` instead.
521+
> 💡 **Session vs. persistent model**: The `/model` command changes the model for the **current session only**. When you start a new session, Copilot will use the default again. To set a permanent default model for all future sessions, use `/config model` inside a session, or the `copilot config` terminal command from your regular shell (no session needed):
522+
523+
```bash
524+
# Set your default model from the terminal (outside a Copilot session)
525+
copilot config set model claude-sonnet-5.5
526+
527+
# View all your saved settings
528+
copilot config list
529+
530+
# Remove a setting and return to the default
531+
copilot config remove model
532+
```
522533

523534
> 💡 **Tip**: Copilot CLI usage is measured in **GitHub AI Credits**. The number of credits used depends on the model you select and how many tokens the task consumes. More capable models may cost more, so use lighter models for routine tasks and save powerful reasoning models for complex work. Run `/usage` to see how many AI credits your current session has used.
524535

‎06-mcp-servers/README.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ The GitHub MCP server is built-in and requires no setup. Below are additional se
223223

224224
> 💡 **The `.` path**: The `.` means "current directory". Copilot can access files relative to where you launched it. In a Codespace, this is your workspace root. You can also use an absolute path like `/workspaces/copilot-cli-for-beginners` if you prefer.
225225
226-
Add this to your `~/.copilot/mcp-config.json` and restart Copilot.
226+
Add this to your `~/.copilot/mcp-config.json`. MCP configuration changes take effect between turns.
227227

228228
</details>
229229

@@ -252,7 +252,7 @@ Context7 gives Copilot access to up-to-date documentation for popular frameworks
252252
- ✅ **No account needed**
253253
- ✅ **Your code stays local**
254254

255-
Add this to your `~/.copilot/mcp-config.json` and restart Copilot.
255+
Add this to your `~/.copilot/mcp-config.json`. MCP configuration changes take effect between turns.
256256

257257
</details>
258258

@@ -301,7 +301,9 @@ copilot
301301
302302
Copilot CLI includes a built-in `web_fetch` tool that can fetch content from any URL. This is useful for pulling in READMEs, API docs, or release notes without leaving your terminal. No MCP server needed.
303303
304-
You can control which URLs are accessible via `~/.copilot/config.json` (general Copilot settings), which is separate from `~/.copilot/mcp-config.json` (MCP server definitions).
304+
You can control which URLs are accessible via `~/.copilot/settings.json` (general Copilot settings), which is separate from `~/.copilot/mcp-config.json` (MCP server definitions).
305+
306+
> ⚠️ **Settings file location**: Copilot CLI reads user settings from `~/.copilot/settings.json`. The older `~/.copilot/config.json` file is no longer used for user settings. Any keys placed there will be silently ignored.
305307
306308
```json
307309
{
@@ -757,7 +759,7 @@ copilot
757759
758760
**Expected result**: Copilot lists `book_app.py`, `books.py`, and `utils.py` with their functions.
759761
760-
> 💡 **Don't have filesystem MCP configured yet?** Create the config file from the [Complete Configuration](#complete-configuration-file) section above. Then restart Copilot.
762+
> 💡 **Don't have filesystem MCP configured yet?** Create the config file from the [Complete Configuration](#complete-configuration-file) section above. MCP configuration changes take effect between turns.
761763
762764
---
763765
@@ -851,7 +853,7 @@ An empty author and year of 0. That's the data quality issue!
851853
852854
The tests in `test_books.py` cover: `add_book`, `mark_as_read`, `remove_book`, `get_unread_books`, and `find_book_by_title`. Functions like `load_books`, `save_books`, and `list_books` don't have direct tests. The CLI functions in `book_app.py` and helpers in `utils.py` have no tests at all.
853855
854-
**If MCP isn't working:** Restart Copilot after editing the config file.
856+
**If MCP isn't working:** MCP configuration changes now take effect between turns automatically. If you've just added a new server and Copilot doesn't see it yet, type your next message and the server should be available.
855857
856858
</details>
857859

0 commit comments

Comments
 (0)