MCP Setup Guide (VSCode)
Pax8 MCP Server Setup Guide for VS Code
This guide instructs users on setting up the MCP Server and enabling VS Code integration for both Windows and macOS systems.
Prerequisites
Before beginning the setup process, you will need to:
- Access to a Pax8 account (app.pax8.com)
- VS Code with GitHub Copilot access
- Internet connection for accessing required services
Step 1: Access the Pax8 Integrations Page
- Sign in to app.pax8.com
- On the left pane, select Settings > Integrations
Step 2: Generate Authentication Token
- Navigate to the Integrations page
- On the Integrations page, select the MCP server tab
- Under MCP Token and Authentication, select Generate Token
- The page will refresh automatically after token generation
- Copy and save your MCP token for use in Step 4
Step 3: Configure VS Code Settings
Enable Agent Mode
- Open VS Code
- Access VS Code Settings using the keyboard shortcut:
- macOS:
⌘ + ,
- Windows:
Ctrl + ,
- macOS:
- In the Settings search bar, type:
chat.agent.enabled
- Check the box to enable Chat: Agent Enabled
- See vscode docs for more details.
Enable MCP Support
- In the Settings search bar, type:
chat.mcp.enabled
- Check the box to enable Chat: MCP Enabled
Step 4: Configure MCP Server Settings
Access Settings Configuration File
You can configure the MCP server through Workspace settings or User settings by editing your .vscode/settings.json
file:
Option 1: Workspace Settings (Recommended)
- In your project root, create or open the
.vscode/settings.json
file - This will apply MCP settings only to the current workspace
Option 2: User Settings (Global)
- Open VS Code Settings (
⌘ + ,
on macOS orCtrl + ,
on Windows) - Click the Open Settings (JSON) icon in the top right
- This will apply MCP settings globally across all VS Code instances
Add MCP Configuration
Add the following configuration to your settings.json
file:
{
"mcp": {
"inputs": [],
"servers": {
"supergateway-pax8": {
"command": "npx",
"args": [
"-y",
"supergateway",
"--header",
"x-pax8-mcp-token:YOUR-MCP-TOKEN-HERE",
"--sse",
"https://mcp.pax8.com/v1/sse"
]
}
}
}
}
Important: Replace YOUR-MCP-TOKEN-HERE
with the MCP token you generated in Step 2.
Save Configuration
- Replace
YOUR-MCP-TOKEN-HERE
with your actual Pax8 MCP token - Save the settings file (
⌘ + S
on macOS orCtrl + S
on Windows) - See vscode docs for more details.
Step 5: Apply Configuration Changes
- Save the MCP configuration file
- Restart VS Code to apply the changes:
All Platforms
- Close VS Code completely
- Reopen VS Code
Step 6: Enable Pax8 Tools in Agent Mode
Access Agent Mode
- Open a new AI chat in VS Code using the keyboard shortcut:
- macOS:
⌃⌘I
- Windows:
Ctrl+Alt+I
- macOS:
- In the chat interface, look for the toggle at the bottom that displays Edit, Ask, or Agent
- Click the toggle and select Agent mode
Enable Pax8 Tools
- In Agent mode, you should see a tools icon in the chat interface
- Click the tools icon
- You should see a list of available tools with the Pax8 option
- Check the box next to Pax8 to enable the Pax8 tools
Step 7: Test the Integration
- Ensure you are in Agent mode in the AI chat
- Type the following test prompt: "Can you get me a list of companies using the pax8 mcp server?"
- This should trigger the MCP server tool call
- You may need to click the "Start Server" or "Continue" button to see the tool call in action
- Verify that VS Code can successfully communicate with the Pax8 MCP Server
Verification Checklist
Ensure the following to confirm successful integration:
- Pax8 MCP token has been generated and saved
- VS Code Agent mode is enabled (
chat.agent.enabled
) - MCP support is enabled in VS Code (
chat.mcp.enabled
) - Configuration file has been updated with your specific MCP token
- VS Code has been restarted after configuration changes
- Pax8 tools are enabled in Agent mode
- Test prompt successfully triggers MCP server tool calls
Updated about 3 hours ago