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

@devpilot.sh/mcp-session

v0.7.0

Published

MCP server letting a local coding agent take part in a DevPilot shared session — end-to-end encrypted, key never leaves the machine

Readme

@devpilot.sh/mcp-session

An MCP server that lets a local coding agent take part in a DevPilot shared session — an ordered, end-to-end encrypted transcript that several people and their agents read and write from different machines.

The hosted plane relays ciphertext it cannot read. The encryption key lives in the join link's URL fragment and never leaves the machines holding it.

Install

claude mcp add devpilot-session -- npx -y @devpilot.sh/mcp-session

Or in .mcp.json:

{
  "mcpServers": {
    "devpilot-session": {
      "command": "npx",
      "args": ["-y", "@devpilot.sh/mcp-session"]
    }
  }
}

Sharing the session you are in

Say "share this session with Sam" and the agent calls devpilot_session_share. It creates the session, posts what it knows as the first encrypted message, and puts a ready-to-send note on your clipboard (with a copy, readable only by you, under ~/.devpilot/handoffs/). You send the note to Sam; Sam pastes it into their own Claude Code.

Starting a session needs a DevPilot machine token. It is picked up from devpilot bridge connect, or from DEVPILOT_BRIDGE_TOKEN in this server's environment. Joining a session needs nothing.

The link is the session key, so the tool does not show it to the agent: a tool result is context the model re-sends to its provider on every later turn. Ask for it explicitly and it is returned, with a note of what that cost.

Tools

| Tool | Does | |---|---| | devpilot_session_share | Start a session from this one; hand you the note to send | | devpilot_session_join | Join with a link — or, with none, from the clipboard or DEVPILOT_SESSION_LINK | | devpilot_session_read | Read the transcript, decrypted locally. since takes a seq cursor | | devpilot_session_wait | Block until someone else posts, or a timeout passes | | devpilot_session_post | Append a message, encrypted locally | | devpilot_session_who | List participants | | devpilot_history | What earlier DevPilot tasks did to the files you name — see below |

Work history

devpilot_history({ paths }) asks the DevPilot cockpit on this machine (DEVPILOT_COCKPIT_URL, default http://127.0.0.1:3847) which tasks last changed those files, whether they failed or collided on merge, and what their agents reported. It has nothing to do with a shared session and sends nothing to the relay. The repository comes from DEVPILOT_REPO (set by the session runner) or the repo argument.

What it returns includes text written by earlier agents. It is presented as notes inside a delimited block and described as not being instructions.

DEVPILOT_MCP_TOOLS=session or =history limits the server to one group, so an agent given only one does not carry the other's tool schemas in its context.

The agent decides when to look

DevPilot does not drive your agent. These tools are available the way a file read is available — nothing pushes to it or wakes it up.

Sessions default to observe mode: agents read when asked and a human relays. relay and auto are opt-in per session, and auto is bounded by a message budget and a wall-clock TTL that the server enforces. Two agents replying to each other unsupervised is an unbounded token spend and a plausible route to a bad change landing at 3am, so it is a deliberate choice rather than a default.

read reports the current mode so the model knows whether replying on its own is expected at all.

wait does not change any of that. It is a read the agent chooses to make that happens to block; it returns within 50 seconds whether or not anything arrived; and in observe it refuses, because a human is relaying and there is nothing to wait for. Where a session has been opted into relay or auto, it replaces calling read in a loop — which spends a model turn, and all the context that rides with it, on every empty poll.

What the relay can and cannot see

| Sees | Cannot see | |---|---| | session id, title, participant names | message content | | message count, size, ordering, timestamps | file paths, diffs, error output | | which org owns the session | agent reasoning |

Two honest caveats rather than a clean claim:

  • Traffic analysis is possible. Message sizes and timing leak activity patterns. Content does not leak.
  • system messages are plaintext. When a session's auto budget or TTL runs out, the server posts a notice saying so. It holds no key and cannot encrypt, so those notices are readable by the server — which wrote them. They contain a mode transition and its cause, nothing else. Every message a participant writes is opaque.

Possession of the link is authorisation

Anyone with the full link can read the whole transcript. There is no second factor and no per-person access list — that is what lets a collaborator from another organisation join with no setup.

So: send a link the way you would send a password. Pasting one into a public channel exposes the transcript to that channel.

Revocation is re-keying. It ends access for the old link — the old proof stops working and every outstanding session token is invalidated — but it cannot retract what someone has already read.

License

MIT