Parallel Task MCP
Parallel Task MCP enables initiating deep research or task groups from your favorite LLM client, facilitating easy experiments and exploration of Parallel’s APIs.
How to Install and Use Parallel Task MCP
If you want to start using the Parallel Task MCP, this guide will help you get it set up and running quickly. Parallel Task MCP lets you create task groups or do deep research using your favorite Large Language Model (LLM) client. Here's how to install it and try it out with some easy examples.
Installing Parallel Task MCP
To begin, you need to install the Parallel Task MCP. The official way to do this is explained on their website, but here is a simple way to get started:
First, you need to add the MCP server information in your configuration file. Use this JSON snippet to set up the URLs for the MCP servers:
{
"mcpServers": {
"Parallel Task MCP": {
"url": "https://task-mcp.parallel.ai/mcp"
}
}
}
This tells your system where to find and connect to the Parallel Task MCP server.
Running Parallel Task MCP Locally
If you want to try Parallel Task MCP on your own computer, you can run it locally. The repository provides a proxy server you can start by following these easy steps.
- Open your terminal or command prompt.
- Run the following command to start the local development server:
wrangler dev
This command will launch a local version of the MCP proxy.
- Then, open another terminal tab and run this command to inspect the MCP:
npx @modelcontextprotocol/inspector
- Now, connect your system or your client to the local MCP proxy by using this address:
http://localhost:8787/mcp
This setup mimics the hosted MCP server but runs on your own machine, which is great for testing or development.
Example Usage of Parallel Task MCP
Once the server is running, you can start creating tasks and experimenting. Here is a simple example to help you get started.
You can build a request to the MCP server like this in TypeScript or JavaScript:
const mcpUrl = "https://task-mcp.parallel.ai/mcp"; // or "http://localhost:8787/mcp" if local
fetch(mcpUrl, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
task: "start-research",
parameters: {
topic: "Parallel APIs"
}
})
})
.then(response => response.json())
.then(data => {
console.log("MCP response:", data);
})
.catch(error => {
console.error("Error communicating with MCP:", error);
});
This example shows how to send a task request to the MCP. You can change "task" and "parameters" based on what you want Parallel Task MCP to do, like starting a new research or grouping tasks.
Summary
The Parallel Task MCP is easy to install by just adding the MCP server JSON info and running the proxy locally if you want to test things on your own machine. Use commands like wrangler dev and npx @modelcontextprotocol/inspector to get the server up. Then, connect your system at http://localhost:8787/mcp and send task requests like the fetch example above to start making parallel tasks and research happen. This method lets you explore how to use Parallel’s APIs smoothly with your favorite tools.