- Explore MCP Servers
- compound-mcp-server
Compound Mcp Server
What is Compound Mcp Server
The compound-mcp-server is a Model Context Protocol (MCP) server designed for interacting with Groq models, including compound and meta models.
Use cases
Use cases for the compound-mcp-server include developing applications that need real-time insights from Groq models, executing code dynamically based on model outputs, and integrating with custom MCP clients for enhanced functionalities.
How to use
To use the compound-mcp-server, install it via npm with ‘npm install groq-compound-mcp-server’. Run the server using ‘npx groq-compound-mcp-server’ or ‘groq-compound-mcp-server’ if installed globally. Ensure to set the ‘GROQ_API_KEY’ environment variable with your Groq API key.
Key features
Key features of the compound-mcp-server include tools for real-time information queries (‘ask_with_realtime_information’) and code execution (‘ask_with_code_execution’).
Where to use
The compound-mcp-server can be used in various fields that require interaction with machine learning models, such as data analysis, AI development, and software engineering.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Compound Mcp Server
The compound-mcp-server is a Model Context Protocol (MCP) server designed for interacting with Groq models, including compound and meta models.
Use cases
Use cases for the compound-mcp-server include developing applications that need real-time insights from Groq models, executing code dynamically based on model outputs, and integrating with custom MCP clients for enhanced functionalities.
How to use
To use the compound-mcp-server, install it via npm with ‘npm install groq-compound-mcp-server’. Run the server using ‘npx groq-compound-mcp-server’ or ‘groq-compound-mcp-server’ if installed globally. Ensure to set the ‘GROQ_API_KEY’ environment variable with your Groq API key.
Key features
Key features of the compound-mcp-server include tools for real-time information queries (‘ask_with_realtime_information’) and code execution (‘ask_with_code_execution’).
Where to use
The compound-mcp-server can be used in various fields that require interaction with machine learning models, such as data analysis, AI development, and software engineering.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
groq-compound-mcp-server
Provides a Model Context Protocol (MCP) server for interacting with Groq models, including compound/meta models.
This server exposes the following tools:
ask_with_realtime_informationask_with_code_execution
Prerequisites
- Node.js >= 18.0.0
- A Groq API key set in the
GROQ_API_KEYenvironment variable.
Installation
npm install groq-compound-mcp-server
Usage
This server follows the standard MCP server pattern using stdio for transport. It’s designed to be run by an MCP client (like Claude Desktop or a custom client).
Refer to the official MCP Quickstart for Server Developers for instructions on setting up and connecting MCP servers.
When configuring your client, use the command npx groq-compound-mcp-server or groq-compound-mcp-server (if installed globally) to run this server.
Here’s an example of how you might configure an MCP client (e.g., in a settings.json file) to launch this server:
{
"mcpServers": {
"groq-compound": {
"command": "npx",
"args": [
"-y",
"groq-compound-mcp-server"
],
"env": {
"GROQ_API_KEY": "YOUR_GROQ_API_KEY_HERE"
}
}
}
}
Hosting on Vercel
This server can also be deployed to Vercel.
-
Prerequisites:
- Ensure you have a Vercel account.
- Connect your Git repository to Vercel.
-
Environment Variables:
Set the following environment variables in your Vercel project settings:GROQ_API_KEY: Your Groq API key.REDIS_URL: (Recommended for SSE transport) The connection URL for a Redis instance (e.g., from Vercel KV or Upstash).
-
Build Configuration:
Vercel should automatically detect it as a Next.js application. The build commandnpm run build:vercel(oryarn build:vercel/pnpm build:vercel) and the output directory (.next) will be used. -
Accessing the MCP Server:
Once deployed, your MCP server endpoints will be available athttps://your-deployment-url.vercel.app/api/mcp.
For example, the SSE endpoint would behttps://your-deployment-url.vercel.app/api/mcp/sse.
Development with Vercel CLI
To run the Vercel deployment locally:
- Install Vercel CLI:
npm install -g vercel - Set up environment variables locally (e.g., in a
.env.localfile at the project root):GROQ_API_KEY=your_groq_api_key REDIS_URL=your_redis_url - Run the development server:
vercel devornpm run dev:vercel.
License
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










