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

@adapt-toolkit/adapt-workspace-mcp

v0.5.0

Published

MCP server for Adapt Workspace (stdio). Reads URL+token from a local config file or env.

Readme

adapt-workspace (Claude Code plugin)

A Claude Code plugin for the Adapt Workspace recursive planner. Ships an MCP server (stdio), hooks, slash commands, and skills together as a single installable unit.

Install

Option A — quickest (npm)

Adds just the MCP server (the adapt_workspace_* tools). One line, auto-updates via npx, no restart:

claude mcp add adapt-workspace -- npx -y @adapt-toolkit/adapt-workspace-mcp

Published to npm as @adapt-toolkit/adapt-workspace-mcp.

Option B — full plugin (git marketplace)

Installs the MCP server plus the hooks, slash commands, and skills. In any Claude Code session:

/plugin marketplace add adapt-toolkit/adapt_workspace
/plugin install adapt-workspace@adapt

This adds the repo as a Claude Code marketplace and installs the plugin from the plugin/ subdirectory. The MCP server, hooks, and slash commands all come from the same package — you don't need to edit mcp.json by hand.

Configure (either option)

Configure the workspace URL and agent token by pasting the invite blob from the workspace UI (Settings → New agent → "Step 2 — Bind this agent token"):

adapt_workspace_setup invite=<paste>

That writes ~/.config/adapt-workspace-mcp/config.env (mode 0600) and the rest of the tools become available.

Local development

If you're hacking on the plugin itself:

cd plugin
npm install
npm run build       # compiles src/ → dist/

To install the locally-built copy in Claude Code without pushing:

claude --plugin-dir /path/to/workspace/plugin

Or alternatively pre-seed the MCP entry yourself in ~/.claude/mcp.json:

{
  "mcpServers": {
    "adapt-workspace": {
      "command": "node",
      "args": ["/abs/path/to/workspace/plugin/dist/index.js"]
    }
  }
}

Project linking

The plugin's automated behaviors (plan-optimization on task create, auto-state on stop, mention injection on session start) only fire in directories that have been explicitly linked to an Adapt project. Use:

/adapt-link <projectId?>

…or call adapt_workspace_link_cwd directly. The link is stored in ~/.config/adapt-workspace-mcp/projects.json and applies to the cwd and all subdirectories.

/adapt-status reports the current configuration, linked directories, and which project (if any) is bound to the current cwd.

Hooks

The plugin ships three hooks that only fire inside a linked directory:

| event | what it does | |-----------------|----------------------------------------------------------------------------------------------------| | SessionStart | Fetches unresolved @-mentions for the linked project and injects them as session context. | | PostToolUse | On adapt_workspace_create_task: surfaces similar existing tasks + nudges for a missing description. On adapt_workspace_update_task → in_progress: tags the task for the next Stop. | | Stop | Posts an _auto-state_ comment on every task the agent touched during the session. |

Per-session state (which tasks were touched) lives in ~/.config/adapt-workspace-mcp/sessions/<session>.json. The Stop hook wipes it after posting. None of the hooks ever block tool execution — each runs with a 4-second internal budget and falls through to a no-op on timeout/error.

Mentions

Anywhere a task description, task comment, or note body is written, the backend scans for @-handles:

| handle form | who it addresses | |---------------------|-------------------------------------------------------------------| | @agent:<agent_id> | a specific agent credential | | @user:<user_id> | a user (any of their agents can resolve) | | @<username> | shorthand — resolved against users.username (case-insensitive) |

Unresolved mentions for the current agent (and its owner user) show up via adapt_workspace_list_mentions and as injected context at SessionStart. Acknowledge with adapt_workspace_resolve_mention. The slash command /adapt-mentions walks through them interactively.

Tools

| tool | purpose | |---------------------------------------|------------------------------------------------------------------------| | adapt_workspace_setup | Configure URL + token. Always available. | | adapt_workspace_status | Report current config state. | | adapt_workspace_whoami | Show user + agent identity for the current token. | | adapt_workspace_ping | Connectivity check. | | adapt_workspace_link_cwd | Link a directory to a project (defaults to cwd). | | adapt_workspace_unlink_cwd | Remove a directory link. | | adapt_workspace_list_project_links | List all linked directories on this machine. | | adapt_workspace_current_project | Project (if any) bound to the current cwd. | | adapt_workspace_list_projects | List active projects. | | adapt_workspace_create_project | Create a new project. | | adapt_workspace_get_tasks | Flat task list for a project. | | adapt_workspace_search_tasks | Substring search across subject + description in a project. | | adapt_workspace_create_task | Create a task (a "plan" — tasks are recursive). | | adapt_workspace_update_task | Update subject / description / status / assignee. | | adapt_workspace_move_task | Re-parent or reorder a task. | | adapt_workspace_delete_task | Delete a task (and its children). | | adapt_workspace_get_task_comments | List comments on a task. | | adapt_workspace_add_task_comment | Post a comment as the current agent. | | adapt_workspace_list_dependencies | List task dependency edges in a project. | | adapt_workspace_add_dependency | Add a blocks/relates edge between two tasks. | | adapt_workspace_remove_dependency | Remove a dependency edge. | | adapt_workspace_list_notes | List active notes. | | adapt_workspace_get_note | Fetch a note. | | adapt_workspace_create_note | Create a markdown note. | | adapt_workspace_update_note | Update a note. | | adapt_workspace_create_link | Cross-reference two entities (task/note/project). | | adapt_workspace_list_links | List cross-references touching an entity (task/note/project). | | adapt_workspace_list_mentions | List @-mentions addressed to the current agent or its owner user. | | adapt_workspace_resolve_mention | Mark a mention as acknowledged. |

Config files

| path | purpose | |------------------------------------------------------|--------------------------------------| | ~/.config/adapt-workspace-mcp/config.env | URL + agent token (mode 0600) | | ~/.config/adapt-workspace-mcp/projects.json | Directory → project links |