Prerequisites
VS Code 1.99+
MCP is built into VS Code 1.99 and later. No extension needed.
Civic Account
Create a free account and configure your tools at app.civic.com
How authentication worksCivic supports two methods depending on how your client connects:
See Get Your Credentials for full details.
| Client type | Method | How it works |
|---|---|---|
| Interactive clients (Claude Desktop, Cursor, VS Code, Gemini CLI, Goose, Windsurf) | OAuth | When you connect, your client opens a browser window to app.civic.com. Sign in once — no manual token needed. |
| Automated agents (LangChain, custom scripts, OpenAI SDK, Anthropic SDK) | Civic Token | Generate a bearer token at app.civic.com → Install → MCP URL. Pass it as an Authorization: Bearer header. |
Setup Options
VS Code supports both direct remote HTTP (recommended) and Hub Bridge.Option 1: Remote HTTP Endpoint (Direct Connection)
Visit app.civic.com
- Sign in to app.civic.com
- Select the MCP servers you want to use
- Copy the MCP URL:
https://app.civic.com/hub/mcp
Add to VS Code Settings
- Open VS Code Settings (File → Preferences → Settings)
- Search for “MCP”
- In the MCP Servers section, click Add Server
- Configure:
- Name: Civic
- Type: http
- URL:
https://app.civic.com/hub/mcp
- Save the configuration
Authenticate
On first use of any MCP tool, VS Code opens a browser window to app.civic.com. Sign in with your Civic account — this links the session to your account and toolkit. No token needed.
MCP is built into VS Code 1.99+. If you’re on an older version, install the GitHub Copilot extension which includes MCP support.
Option 2: Hub Bridge (Local Connection)
What is Hub Bridge? Hub Bridge (
@civic/hub-bridge) is a lightweight local proxy that runs on your machine via npx and bridges stdio-only MCP clients to Civic’s remote HTTP endpoint. Use it when your client doesn’t support remote HTTP MCP connections natively. If your client supports HTTP/Streamable HTTP MCP — use that instead (it’s simpler and has no Node.js dependency).Full Hub Bridge setup guide →Click 'Add to VS Code'
Use the one-click install button below:
📦 Add to VS Code (Hub Bridge)
Enable MCP Features
In VS Code Settings, search for “MCP” and enable the required MCP extension options
Test Your Connection
Try these prompts in VS Code’s chat/AI features:Manual Setup (Alternative)
If the one-click install doesn’t work, add Civic manually:Method 1: Via VS Code Settings (Recommended)
Add MCP Server
- Look for MCP Servers section in settings
- Click Add Server or +
- Configure the server:
- Name: Civic
- Type: stdio
- Command: npx -y @civic/hub-bridge
- Save the configuration
Method 2: Via Configuration File
Troubleshooting
VS Code doesn't open when I click the install button
VS Code doesn't open when I click the install button
'Node.js not found' error
'Node.js not found' error
Install Node.js 18 or later from nodejs.org and restart VS Code.
MCP settings not found
MCP settings not found
MCP is built into VS Code 1.99 and later — no extension needed. If you’re on an older version, install the GitHub Copilot extension. Check your VS Code version via Help → About.
Authentication window doesn't open
Authentication window doesn't open
The Hub Bridge should handle authentication in the chat. If it doesn’t:
- Restart VS Code
- Make sure you’re trying to use a tool that requires authentication
- Try running the Hub Bridge manually:
npx -y @civic/hub-bridge
Managing Your Tools
Adding More Tools
You can add new tools directly in your VS Code chat:Removing Tools
You can disconnect from specific tools directly in chat:Removing the MCP Server
To remove Civic completely: Via Settings:
Via Configuration File:
Resources
Hub Bridge Guide
Detailed Hub Bridge setup for VS Code
Client Compatibility
Technical details about VS Code MCP support
Troubleshooting
Common VS Code connection issues
Get Help
Join our developer community for setup assistance

