Skip to content

Commit c5f03c3

Browse files
authored
docs: add GitHub Copilot CLI installation instructions (#190)
1 parent 5a0902e commit c5f03c3

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,32 @@ Add the following to your `settings.json`
157157
}
158158
```
159159

160+
###### GitHub Copilot CLI
161+
162+
Use the Copilot CLI to interactively add the MCP server:
163+
164+
```bash
165+
/mcp add
166+
```
167+
168+
Alternatively, create or edit the configuration file `~/.copilot/mcp-config.json` and add:
169+
170+
```json
171+
{
172+
"mcpServers": {
173+
"notionApi": {
174+
"command": "npx",
175+
"args": ["-y", "@notionhq/notion-mcp-server"],
176+
"env": {
177+
"NOTION_TOKEN": "ntn_****"
178+
}
179+
}
180+
}
181+
}
182+
```
183+
184+
For more information, see the [Copilot CLI documentation](https://docs.github.com/en/copilot/concepts/agents/about-copilot-cli).
185+
160186
##### Using Docker
161187

162188
There are two options for running the MCP server with Docker:

0 commit comments

Comments
 (0)