npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

task-master-ai-polo

v1.0.7

Published

A task management system for ambitious AI-driven development with PoloAI support. Enhanced version with Gemini models integration.

Readme

Task Master AI with PoloAI Support GitHub stars

npm version License: MIT with Commons Clause

NPM Downloads NPM Downloads NPM Downloads

Enhanced by @Frankieli123 | Original by @eyaltoledano, @RalphEcom & @jasonzhou1993

Twitter Follow Twitter Follow Twitter Follow

An enhanced version of Task Master AI with integrated PoloAI support for Google Gemini models. All the power of the original Task Master with access to cutting-edge Gemini models through PoloAI.

🚀 What's New in This Enhanced Version

  • 🤖 PoloAI Integration: Full support for Google Gemini models
  • ⚡ 6 Gemini Models: Including Gemini 2.5 Pro, Gemini 2.5 Flash variants, and specialized models
  • 💰 Cost-Effective: Access powerful Gemini models at competitive rates
  • 🔌 OpenAI-Compatible: Seamless integration using familiar API patterns
  • 🎯 All Original Features: Complete Task Master functionality preserved

Documentation

For more detailed information, check out the documentation in the docs directory:

Quick Install for Cursor 1.0+ (One-Click)

Note: After clicking the install button, you'll still need to add your API keys to the configuration. The button installs the MCP server with placeholder keys that you'll need to replace with your actual API keys.

Requirements

Taskmaster utilizes AI across several commands, and those require a separate API key. You can use a variety of models from different AI providers provided you add your API keys. For example, if you want to use Claude 3.7, you'll need an Anthropic API key.

You can define 3 types of models to be used: the main model, the research model, and the fallback model (in case either the main or research fail). Whatever model you use, its provider API key must be present in either mcp.json or .env.

At least one (1) of the following is required:

  • PoloAI API key (for Gemini models - NEW!)
  • Anthropic API key (Claude API)
  • OpenAI API key
  • Google Gemini API key
  • Perplexity API key (for research model)
  • xAI API Key (for research or main model)
  • OpenRouter API Key (for research or main model)

Using the research model is optional but highly recommended. You will need at least ONE API key. Adding all API keys enables you to seamlessly switch between model providers at will.

Quick Start

Option 1: MCP (Recommended)

MCP (Model Control Protocol) lets you run Task Master directly from your editor.

1. Add your MCP config at the following path depending on your editor

| Editor | Scope | Linux/macOS Path | Windows Path | Key | | ------------ | ------- | ------------------------------------- | ------------------------------------------------- | ------------ | | Cursor | Global | ~/.cursor/mcp.json | %USERPROFILE%\.cursor\mcp.json | mcpServers | | | Project | <project_folder>/.cursor/mcp.json | <project_folder>\.cursor\mcp.json | mcpServers | | Windsurf | Global | ~/.codeium/windsurf/mcp_config.json | %USERPROFILE%\.codeium\windsurf\mcp_config.json | mcpServers | | VS Code | Project | <project_folder>/.vscode/mcp.json | <project_folder>\.vscode\mcp.json | servers |

Manual Configuration
Cursor & Windsurf (mcpServers)
{
  "mcpServers": {
    "taskmaster-ai": {
      "command": "npx",
      "args": ["-y", "--package=task-master-ai-polo", "task-master-ai"],
      "env": {
        "OPENAI_API_KEY": "YOUR_POLO_API_KEY_HERE",
        "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
        "PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
        "GOOGLE_API_KEY": "YOUR_GOOGLE_KEY_HERE",
        "MISTRAL_API_KEY": "YOUR_MISTRAL_KEY_HERE",
        "OPENROUTER_API_KEY": "YOUR_OPENROUTER_KEY_HERE",
        "XAI_API_KEY": "YOUR_XAI_KEY_HERE",
        "AZURE_OPENAI_API_KEY": "YOUR_AZURE_KEY_HERE",
        "OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY_HERE"
      }
    }
  }
}

🔑 For PoloAI: Use your PoloAI API key as the OPENAI_API_KEY value. PoloAI uses OpenAI-compatible endpoints.

🔑 Replace YOUR_…_KEY_HERE with your real API keys. You can remove keys you don't use.

VS Code (servers + type)
{
  "servers": {
    "taskmaster-ai": {
      "command": "npx",
      "args": ["-y", "--package=task-master-ai-polo", "task-master-ai"],
      "env": {
        "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
        "PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY_HERE",
        "OPENAI_API_KEY": "YOUR_OPENAI_KEY_HERE",
        "GOOGLE_API_KEY": "YOUR_GOOGLE_KEY_HERE",
        "MISTRAL_API_KEY": "YOUR_MISTRAL_KEY_HERE",
        "OPENROUTER_API_KEY": "YOUR_OPENROUTER_KEY_HERE",
        "XAI_API_KEY": "YOUR_XAI_KEY_HERE",
        "AZURE_OPENAI_API_KEY": "YOUR_AZURE_KEY_HERE"
      },
      "type": "stdio"
    }
  }
}

🔑 Replace YOUR_…_KEY_HERE with your real API keys. You can remove keys you don't use.

2. (Cursor-only) Enable Taskmaster MCP

Open Cursor Settings (Ctrl+Shift+J) ➡ Click on MCP tab on the left ➡ Enable task-master-ai with the toggle

3. (Optional) Configure the models you want to use

For PoloAI/Gemini models, in your editor's AI chat pane, say:

Change the main model to polo/gemini-2.5-flash-preview-05-20-nothinking

Available PoloAI Models:

  • polo/gemini-2.5-flash-preview-05-20-nothinking - Fast, no thinking mode (Score: 0.5)
  • polo/gemini-2.5-flash-preview-05-20 - Fast with thinking (Score: 0.5)
  • polo/gemini-2.5-pro-preview-05-06-net - Pro with network access (Score: 0.638)
  • polo/gemini-2.5-pro-preview-06-05 - Latest Pro model (Score: 0.638)
  • polo/gemini-2.5-pro-preview-05-06-thinking - Pro with thinking mode (Score: 0.638)
  • polo/gemini-2.5-flash-net - Flash with network access (Score: 0.5)

For other models, in your editor's AI chat pane, say:

Change the main, research and fallback models to <model_name>, <model_name> and <model_name> respectively.

Table of available models

4. Initialize Task Master

In your editor's AI chat pane, say:

Initialize taskmaster-ai in my project

5. Make sure you have a PRD (Recommended)

For new projects: Create your PRD at .taskmaster/docs/prd.txt
For existing projects: You can use scripts/prd.txt or migrate with task-master migrate

An example PRD template is available after initialization in .taskmaster/templates/example_prd.txt.

[!NOTE] While a PRD is recommended for complex projects, you can always create individual tasks by asking "Can you help me implement [description of what you want to do]?" in chat.

Always start with a detailed PRD.

The more detailed your PRD, the better the generated tasks will be.

6. Common Commands

Use your AI assistant to:

  • Parse requirements: Can you parse my PRD at scripts/prd.txt?
  • Plan next step: What's the next task I should work on?
  • Implement a task: Can you help me implement task 3?
  • Expand a task: Can you help me expand task 4?

More examples on how to use Task Master in chat

Option 2: Using Command Line

Installation

# Install globally
npm install -g task-master-ai-polo

# OR install locally within your project
npm install task-master-ai-polo

Initialize a new project

# If installed globally
task-master init

# If installed locally or using latest version
npx task-master-ai-polo init

This will prompt you for project details and set up a new project with the necessary files and structure.

PoloAI-Specific Usage

# Quick start with PoloAI
npx task-master-ai-polo init
npx task-master-ai-polo models --setup

# Set your preferred Gemini model
npx task-master-ai-polo models --set-main gemini-2.5-flash-preview-05-20-nothinking

# Check current model configuration
npx task-master-ai-polo models

# Parse PRD with PoloAI
npx task-master-ai-polo parse-prd --input=your-prd.txt --research

# Add task with PoloAI
npx task-master-ai-polo add-task --prompt="Create a new feature" --research

Common Commands

# Initialize a new project
task-master init
# OR with latest features
npx task-master-ai-polo init

# Configure AI models (interactive setup)
task-master models --setup
# OR
npx task-master-ai-polo models --setup

# Set specific PoloAI model
task-master models --set-main gemini-2.5-flash-preview-05-20-nothinking
# OR
npx task-master-ai-polo models --set-main gemini-2.5-flash-preview-05-20-nothinking

# Parse a PRD and generate tasks
task-master parse-prd your-prd.txt

# List all tasks
task-master list

# Show the next task to work on
task-master next

# Generate task files
task-master generate

Troubleshooting

If task-master init doesn't respond

Try using the enhanced version directly:

npx task-master-ai-polo init

Or if you have issues with MCP:

# Clear npm cache
npm cache clean --force

# Clear npx cache
npx clear-npx-cache

# Try again
npx task-master-ai-polo init

For development, clone the enhanced repository:

git clone https://github.com/Frankieli123/taskmaster-mcp.git
cd taskmaster-mcp
npm install
node scripts/init.js

Contributors

Star History

Star History Chart

Licensing

Task Master is licensed under the MIT License with Commons Clause. This means you can:

Allowed:

  • Use Task Master for any purpose (personal, commercial, academic)
  • Modify the code
  • Distribute copies
  • Create and sell products built using Task Master

Not Allowed:

  • Sell Task Master itself
  • Offer Task Master as a hosted service
  • Create competing products based on Task Master

See the LICENSE file for the complete license text and licensing details for more information.