Skip to main content

Connecting Vectorize MCP Server to Groq Desktop

This guide shows you how to connect your Vectorize MCP agent to Groq Desktop, an open-source desktop application that provides a native interface for Groq's AI models with MCP support.

Prerequisites

  • Git installed on your computer
  • Node.js installed (for MCP server functionality)
  • A Vectorize MCP agent already created with at least one tool configured
  • An API key for your Vectorize agent
  • A Groq API key (Get one here)

Setup Instructions

Step 1: Get Your Agent Credentials

From your Vectorize agent:

  1. Navigate to your agent's Agent API Keys section
  2. If you don't have an API key yet:
  • Click Create New Key
  • Give it a descriptive name (e.g., "Groq Desktop Key")
  • Click Create Key
  1. Note down:
  • Your Agent ID from the agent overview page
  • Your API Key - save this securely as you won't be able to see it again!

Step 2: Download and Install Groq Desktop

  1. Clone the Groq Desktop repository:

    git clone https://github.com/groq/groq-desktop-beta.git
    cd groq-desktop-beta
  2. Install dependencies:

    npm install
  3. Start the application:

    npm start
  4. On first launch, the application will create the necessary configuration files

Step 3: Locate the Configuration File

The settings file is located at:

  • macOS:
    ~/Library/Application Support/groq-desktop-app/settings.json
  • Windows:
    %APPDATA%/groq-desktop-app/settings.json
  • Linux:
    ~/.config/groq-desktop-app/settings.json

Step 4: Configure MCP Server

  1. Close Groq Desktop if it's running
  2. Open the settings.json file in your preferred text editor
  3. Add your Vectorize MCP server configuration to the existing JSON structure:
{
"GROQ_API_KEY": "your_groq_api_key_here",
"model": "llama-3.3-70b-versatile",
"temperature": 0.7,
"top_p": 0.95,
"reasoning_effort": "medium",
"mcpServers": {
"vectorize-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://agents.vectorize.io/api/agents/YOUR_AGENT_ID/mcp",
"--header",
"Authorization: Bearer ${VECTORIZE_API_KEY}"
],
"env": {
"VECTORIZE_API_KEY": "YOUR_API_KEY"
},
"transport": "stdio"
}
},
"disabledMcpServers": [],
"customSystemPrompt": "",
"popupEnabled": true,
"customCompletionUrl": "",
"toolOutputLimit": 8000,
"customApiBaseUrl": "",
"customModels": {},
"builtInTools": {
"codeInterpreter": false,
"browserSearch": false
}
}
  1. Replace the placeholders:

    • YOUR_AGENT_ID with your actual Agent ID
    • YOUR_API_KEY with your actual Vectorize API key
    • your_groq_api_key_here with your actual Groq API key
    • Adjust other parameters like model, temperature, etc. as needed
  2. Save the file

Step 5: Start Groq Desktop

  1. Launch Groq Desktop:

    npm start
  2. The application will load your MCP server configuration automatically

Groq Desktop

  1. You can view and manage your MCP server connections in the Tools section of Groq Desktop

Groq Desktop MCP Tools

Step 6: Test Your Setup

Try out the MCP server by chatting with the Groq model. If your chat messages need to use the MCP server, Groq Desktop will automatically route them through your Vectorize MCP agent.

Groq Desktop MCP Chat

Was this page helpful?