Claude Code in VSCode on Cornell's AI Gateway

If you use the VSCode editor, you can use Claude in a side panel without leaving your work. The good news: it shares the same settings as the command-line version, so there's almost nothing extra to configure.


Step 1 — Set up the command-line version first

The VSCode extension uses the same gateway settings file (settings.json) as Claude Code. Complete Appendix: Claude Code (CLI) on Cornell's AI Gateway first — install Claude Code and add your gateway settings. Once that works in the terminal, it will work in VSCode automatically.


Step 2 — Install the VSCode extension

  1. Open VSCode.
  2. Click the Extensions icon in the left sidebar (or press Cmd + Shift + X on Mac / Ctrl + Shift + X on PC).
  3. Search for Claude Code (publisher: Anthropic).
  4. Click Install.

VSCode Extensions panel with the Claude Code extension and its Install button highlighted


Step 3 — Open the panel and confirm

  1. Open the Claude Code panel (look for the Claude icon in the sidebar, or open the Command Palette with Cmd/Ctrl + Shift + P and run Claude Code: Open).
  2. Ask it something simple, like Say hello.
  3. Run /model to confirm the three Cornell models appear.

VSCode with the Claude Code panel open and the /model picker showing the Cornell models


How do I know it worked?

  • The panel answers without asking you to sign in to a personal account.
  • /model lists the Cornell models — the same ones as the terminal. That confirms it's reading your Cornell gateway settings.

Troubleshooting

Was this helpful?
0 reviews
Print Article

Related Articles (2)

Install the Claude Desktop pilot from Software Center on a Cornell-managed PC and connect it with your gateway key.
What you need before you begin, and the order to do it in: request access, get a key, then install Claude Desktop.