Files
wehub-resource-sync 3a28426bf4
Lint and Format Check / lint-and-format (push) Failing after 0s
Check Migrations / Check for duplicate migration numbers (push) Failing after 1s
CI Pre-merge Check / CI Pre-merge Check (push) Failing after 2m17s
chore: import upstream snapshot with attribution
2026-07-13 12:23:40 +08:00

75 lines
2.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "VS Code extension"
description: "Sign in to InsForge from VS Code, pick an org and project, and install the InsForge MCP server into your AI coding assistant with one click."
---
## Overview
The InsForge VS Code extension:
- Logs you in to InsForge (OAuth + PKCE)
- Lets you pick an org/project
- Installs InsForge MCP for your AI client
It launches the MCP installer (`npx @insforge/install`) with your projects API key and API base URL.
## Links
- [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=InsForge.insforge)
- [Open VSX](https://open-vsx.org/extension/InsForge/insforge)
## Install
1. Open VS Code
2. Go to **Extensions**
3. Search for **InsForge**
4. Install the extension published by **insforge**
## Use the extension
<Steps>
<Step title="Open the InsForge panel">
Click the **InsForge** icon in the Activity Bar (left sidebar).
</Step>
<Step title="Login">
Click **Login with InsForge** and complete the login flow in your browser.
<Note>The callback is <code>http://127.0.0.1:54321/callback</code>.</Note>
</Step>
<Step title="Select a project">
Pick an organization and project from the InsForge tree view, or run <code>InsForge: Select Project</code> from the Command Palette.
</Step>
<Step title="Install MCP">
Run <code>InsForge: Install MCP</code> (or right-click a project and choose **Install MCP**), then pick the AI client you want to configure.
The installer runs in a VS Code terminal.
</Step>
</Steps>
## Supported AI clients
The extension supports the following MCP “clients” (the value passed to `@insforge/install`):
| Client | Typical config location |
|---|---|
| `cursor` | `~/.cursor/mcp.json` |
| `claude-code` | `.mcp.json` in your workspace (project-local) |
| `copilot` | `.vscode/mcp.json` in your workspace (project-local) |
| `windsurf` | `~/.codeium/windsurf/` |
| `cline` | Cline VS Code extension config |
| `roocode` | Roo Code VS Code extension config |
| `codex` | OpenAI Codex CLI config |
| `trae` | Trae IDE config |
| `qoder` | Qoder IDE config |
If your client isnt listed, run the installer manually (see <a href="/quickstart">Quickstart</a>).
## Notes
- **Project-local installs**: `claude-code` and `copilot` require an open workspace folder.
- **Port in use**: free up `54321` and retry login.