Skip to content

Commit 9c1de2a

Browse files
chathuranga95LakshanSS
authored andcommitted
fix(docs): correct --header flag placement in Claude Code MCP token config
Signed-off-by: chathuranga95 <siriwardhanachathuranga@gmail.com>
1 parent 066af34 commit 9c1de2a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/ai/mcp-servers.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,12 @@ Copy the `access_token` value and replace `<ACCESS_TOKEN>` in the configuration
172172

173173
```bash
174174
claude mcp add --transport http \
175-
--header "Authorization: Bearer <ACCESS_TOKEN>" \
176-
openchoreo-cp http://api.openchoreo.localhost:8080/mcp
175+
openchoreo-cp http://api.openchoreo.localhost:8080/mcp \
176+
--header "Authorization: Bearer <ACCESS_TOKEN>"
177177

178178
claude mcp add --transport http \
179-
--header "Authorization: Bearer <ACCESS_TOKEN>" \
180-
openchoreo-obs http://observer.openchoreo.localhost:11080/mcp
179+
openchoreo-obs http://observer.openchoreo.localhost:11080/mcp \
180+
--header "Authorization: Bearer <ACCESS_TOKEN>"
181181
```
182182

183183
</TabItem>

0 commit comments

Comments
 (0)