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

@6reduk/youtrack-mcp

v0.1.9

Published

Universal schema-driven MCP server for safe atomic YouTrack operations

Downloads

1,436

Readme

YouTrack MCP

Universal, schema-driven MCP server for YouTrack. It exposes neutral read and mutation tools without embedding a project workflow, parent task, custom-field name, link meaning, or company-specific identifier.

Read-only discovery includes agile board configuration and sprints, project-team membership, and observed issue activity history. These tools return only facts exposed by the public YouTrack REST API and never infer roles or permitted workflow transitions.

Requirements

  • Node.js 22 or 24
  • A YouTrack permanent token with only the permissions required for intended operations
  • YOUTRACK_URL and YOUTRACK_TOKEN in the MCP host environment

Run

npx -y @6reduk/[email protected]

The process uses stdio for MCP and writes diagnostics only to stderr. It accepts no CLI arguments.

YOUTRACK_URL=https://youtrack.example.com/
YOUTRACK_TOKEN=<set outside committed configuration>

Optional variables: YOUTRACK_REQUEST_TIMEOUT_MS, YOUTRACK_LOG_LEVEL, and YOUTRACK_ALLOW_INSECURE_HTTP (loopback testing only).

Client examples: Codex, Claude Code, and Kimi CLI.

Safety model

  • Every project, issue, field, user, tag, and link type is selected explicitly.
  • Field codecs are derived from observed YouTrack schema, never field names.
  • Writes are not retried. Uncertain writes are reconciled with reads.
  • Mutations support dry-run and issue mutations support expectedUpdatedAt guards.
  • Link direction and hierarchy semantics always come from the caller.
  • youtrack_execute_plan supports bounded, confirmed batches of up to 20 desired-state mutations. It is sequential and non-transactional, stops on the first unverified result, and never guesses a rollback.
  • There is no batch issue/tag creation, hierarchy replacement, delete-issue, arbitrary command execution, or inferred workflow.

Bounded mutation plans

youtrack_execute_plan uses a two-phase protocol. First submit the complete operation list with dryRun: true; the server performs a read-only preflight, resolves every selector, and returns the canonical resolvedPlan and lowercase SHA-256 planHash. After reviewing that evidence, repeat the same operations with dryRun: false, confirm: true, and the returned hash. The server rebuilds the plan and performs no write unless the hash still matches.

Every operation requires expectedUpdatedAt. A plan may contain 1–20 operations, each affecting a different mutation-subject issue and producing at most one write. Supported kinds are update_issue, set_custom_field, set_issue_state, set_assignee, add_tag, remove_tag, add_link, and remove_link.

Confirmed execution is desired-state idempotent: an exact state already reached is reported as already_satisfied without a write. Otherwise, each non-retried write is followed by a reconciliation read. Callers must inspect every step and partialCompletion; the tool provides neither a transaction nor rollback.

See tools, safety, and testing.

Development

npm ci
npm run verify
npm pack
npm run smoke:packed -- ./6reduk-youtrack-mcp-*.tgz

Live mutation tests are disabled and deliberately stop before network writes until an exact call manifest receives separate approval.

License

MIT. See LICENSE.