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

taskagent-cursor

v0.3.7

Published

Cursor plugin for tupical/taskagent. Registers the taskagent MCP server in Cursor (~/.cursor/mcp.json) via one-click deeplink or CLI, and ships Cursor Rules that teach the agent how to drive parse/decompose/plan/execute.

Readme


Add to Cursor

Жми кнопку в любом браузере, где установлен Cursor — он перехватит deeplink, покажет диалог подтверждения и сам пропишет сервер в ~/.cursor/mcp.json.

Или скопируй официальный Cursor deeplink:

cursor://anysphere.cursor-deeplink/mcp/install?name=taskagent&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHA6Ly9sb2NhbGhvc3Q6ODA4MC92MS9tY3AifQ%3D%3D

Default-путь Cursor использует HTTP MCP endpoint TaskAgent. Для локальной разработки сначала запусти сервер:

./target/release/taskagent-server   # данные: ~/.agents/taskagent/data

Что делает

taskagent-cursor — тонкий компаньон Cursor для tupical/taskagent. Делает три вещи:

  1. Регистрирует MCP-сервер в mcp.json Cursor — глобально (~/.cursor/mcp.json) или для проекта (./.cursor/mcp.json).
  2. Генерирует ссылку «Add to Cursor» для установки HTTP MCP в один клик.
  3. Кладёт три правила в .cursor/rules/, которые учат агента Cursor работать с taskagent_*-инструментами (parse → decompose → plan → execute) вместо самодельных тудушек и держат его на экономном пути list active:
    • taskagent-policy.mdc (alwaysApply) — taskagent как трекер по умолчанию + правила экономии токенов (list-first, без graph-поиска для инвентаря).
    • taskagent.mdc — полный контракт инструментов + audit/close workflow.
    • workspacegraph.mdc — guardrails: taskagent_workspacegraph_* для связей/impact, а не для списка открытых задач.

Сам по себе плагин не содержит логики исполнения. Cursor-агент общается с сервером taskagent напрямую через MCP — здесь только обвязка.


Установка

Через npm

npm i -g taskagent-cursor
taskagent-cursor install --global   # пишет ~/.cursor/mcp.json
taskagent-cursor doctor             # проверка

Вручную

Скопируй cursor/mcp.example.json в ~/.cursor/mcp.json (или влей запись taskagent в существующий файл).


CLI

| Команда | Эффект | | ---------------------------------------------------------------- | ----------------------------------------------------------------------- | | taskagent-cursor install [--global\|--project DIR] | Прописать taskagent MCP в выбранный mcp.json. | | taskagent-cursor uninstall [--global\|--project DIR] | Удалить запись. | | taskagent-cursor deeplink [--print-scheme] | Напечатать официальный Cursor Add-to-Cursor deeplink. | | taskagent-cursor rules [--project DIR] [--force] | Положить три .cursor/rules/*.mdc (policy + контракт + workspacegraph) в проект. | | taskagent-cursor doctor [--json\|--quiet] | Проверить Cursor MCP config + HTTP-сервер. Exit 0 ⇒ READY. | | taskagent-cursor setup | Подсказки по установке отсутствующего. | | taskagent-cursor marketplace | Напечатать plugin-манифест taskagent (со встроенным актуальным deeplink). | | taskagent-cursor --version / --help | |

Флаги install

| Флаг | По умолчанию | Заметки | | ---------------------------- | -------------------------- | ----------------------------------------------------------- | | --global / --project DIR | --global | В какой mcp.json писать. | | --transport http\|stdio | http | Cursor по умолчанию использует hosted HTTP MCP. | | --command CMD | (нет) | Включает stdio fallback и задаёт путь к бинарю. | | --base-url URL | http://localhost:8080 | Origin HTTP MCP сервера. | | --token T | (нет) | Добавляет Authorization header для self-host config. | | --name NAME | taskagent | Переименовать запись (если запускаешь несколько инстансов). |


Как работает deeplink-flow

deeplink                                                Cursor
┌─────────────────────────┐    cursor://...  ┌─────────────────────┐
│ taskagent               │ ───────────────▶ │ «Установить MCP?»   │
│ [ Add to Cursor ]       │   deeplink       │ пишет mcp.json      │
└─────────────────────────┘                  └─────────────────────┘
        │
        │ использует /clients/cursor-plugin/.taskagent-plugin/plugin.json
        │ из этого репо (или npm-тарбола)
        ▼
┌─────────────────────────┐
│ manifest маркетплейса   │
│  name, version, deeplink│
│  install hints, rules   │
└─────────────────────────┘

Формат deeplink — официальный Cursor MCP install link:

cursor://anysphere.cursor-deeplink/mcp/install?name=<NAME>&config=<BASE64_JSON>

config — base64 от JSON-объекта с одной записью mcpServers. Сгенерировать свой:

taskagent-cursor deeplink

Структура

clients/cursor-plugin/
├── package.json                          # npm-пакет + CLI bin
├── bin/taskagent-cursor.mjs       # точка входа CLI
├── lib/
│   ├── deeplink.mjs                      # генератор cursor:// install link
│   ├── detect.mjs                        # readiness-проба Cursor + taskagent
│   ├── mcp-config.mjs                    # чтение/запись ~/.cursor/mcp.json
│   └── rules.mjs                         # установка .cursor/rules/*.mdc
├── cursor/
│   ├── mcp.example.json                  # эталон для ручной установки
│   └── rules/                            # policy + контракт + workspacegraph guardrails
│       ├── taskagent-policy.mdc          # alwaysApply policy (list-first / экономия токенов)
│       ├── taskagent.mdc                 # контракт + audit/close workflow
│       └── workspacegraph.mdc            # граф-инструменты: связи/impact, не инвентарь
├── .taskagent/plugin.json                   # манифест маркетплейса taskagent
└── tests/                                # node --test

Требования

  • Cursor (любой свежий, с поддержкой MCP)
  • Node.js ≥ 20 (только для CLI; в рантайме не нужен)
  • Запущенный taskagent HTTP server. Для локальной разработки собери его из tupical/taskagent: cargo build --release -p taskagent-server.
  • taskagent-mcp нужен только для явного fallback --transport stdio.

Лицензия

MIT — см. LICENSE.