Requirements
Every person who wants to use the MCP Server must complete the setup.
- The latest version of VS Code installed
- Access to Copilot, which VS Code uses to run its AI in Agent mode
Setup
Choose your authentication method. See the MCP authentication guide if you need help selecting a method.- OAuth (Recommended)
- API Key
OAuth provides streamlined setup without manually managing API keys.
Add the MCP Server
- Open the Command Palette (
⌘ + Shift + Pon Mac,Ctrl + Shift + Pon Windows). - Search for
MCPand select MCP: Add Server. - Select HTTP (HTTP or Server-Sent events) and press Enter.
- Paste the OAuth URL and press Enter:
- Enter a name for the server (e.g.,
Omni MCP) and press Enter. - Select Global or Workspace settings and press Enter.
Start the MCP Server
VS Code should open a file named 
If this doesn’t happen, complete the following:
mcp.json and automatically prompt you to authorize the connection:
- Open the Command Palette again.
-
Search for
MCPand select MCP: List Servers. - Click the Omni server in the list.
-
Click Start Server or Restart above the server in the
mcp.jsonfile:
- When prompted, allow VS Code to open the browser.
Authorize the connection
- Your browser will open and redirect you to an Omni authorization page.
- Review the requested permissions and click Authorize.
Using the MCP
Once the MCP Server is connected, VS Code automatically uses it when you ask questions about your data. You can prompt VS Code to use Omni by referring to it by name or description.- Open the chat panel (
⌃ + ⌘ + Ion Mac,Ctrl + Alt + Ion Windows) - Select Agent mode
- Enter a prompt, such as
Hey Omni, tell me how many users have been sourced by search and email - By default, you need to confirm each tool invocation. Click Continue to proceed.
- The MCP Server will pick a model (if not configured for API key authentication) and topic, then run a query to retrieve the data.