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

multisphere-mcp

v0.1.7

Published

Local MCP server for Multisphere — multiplayer agent workspaces over git.

Readme

multisphere-mcp

Local MCP server for Multisphere — multiplayer agent workspaces over a shared git repository.

Each user runs this server locally. It owns the local clone of a workspace and exposes git, filesystem, and protocol-helper tools.

Preferred install: the multisphere plugin

If you're on Claude Code, install the bundled plugin — it handles the MCP server wiring for you:

/plugin marketplace add unicity-labs/multisphere
/plugin install multisphere@multisphere

The plugin's .mcp.json boots this server with the right config. Skip the rest of this README unless you're on a client without plugin support (Claude Desktop, Cowork) or developing the server itself.

Standalone install (Claude Desktop, Cowork, anything without plugins)

Once published to npm:

npx multisphere-mcp@latest

Until then, build from source (see "Local dev" below) and point your client at the absolute path of dist/index.js.

First-time configuration

The server reads ~/.multisphere/config.json. Create it once per machine:

{
  "agent_id": "jamie-claude-desktop",
  "agent_name": "Jamie",
  "agent_email": "[email protected]",
  "workspaces": {},
  "active_workspace": null
}

agent_id convention: <user>-<client>, e.g. jamie-claude-code, mike-claude-desktop, risto-cowork.

After that, register workspaces with the workspace_init tool from the client.

MCP client wiring (manual, non-plugin clients)

Add to your client's MCP config (e.g. ~/Library/Application Support/Claude/claude_desktop_config.json):

Once published to npm:

{
  "mcpServers": {
    "multisphere": {
      "command": "npx",
      "args": ["-y", "multisphere-mcp@latest"]
    }
  }
}

Local build (right now):

{
  "mcpServers": {
    "multisphere": {
      "command": "node",
      "args": ["/absolute/path/to/multisphere/mcp-server/dist/index.js"]
    }
  }
}

Local dev (this repo)

cd mcp-server
npm install
npm run build

The plugin's .mcp.json resolves the built dist/index.js via ${CLAUDE_PLUGIN_ROOT}, so once you've built once, claude --plugin-dir /path/to/multisphere will load both the skill and the server.

Tool surface

Workspace management

| Tool | Args | Returns | |---|---|---| | workspace_init | {name, remote_url, local_path} | clones (or registers) and activates the workspace | | workspace_list | — | configured workspaces, marks the active one | | workspace_switch | {name} | sets active workspace | | workspace_info | — | name, path, remote, HEAD, branch, agent id |

Git (scoped to active workspace)

| Tool | Args | Returns | |---|---|---| | fetch | — | {behind, ahead} | | pull | — | {updated, new_head, files} or {error: "conflict", files} (fast-forward only) | | status | — | full status object | | diff | {since?, paths?} | unified diff | | log | {since?, n?, paths?} | array of commits | | add | {paths} | — | | commit | {message} | {sha, branch} | | push | — | {ok} or {error: "rejected", reason} |

Filesystem (scoped to workspace root)

| Tool | Args | Returns | |---|---|---| | read | {path} | file contents | | write | {path, content, mode?} | bytes written | | list | {dir} | array of {name, type, size} | | search | {query, paths?} | array of substring matches |

Paths that escape the workspace root are rejected.

Protocol helpers

| Tool | Args | Returns | |---|---|---| | journal_append | {summary, details?, todos?: [{for?, text}]} | appends a formatted entry to journal.md | | inbox_add | {title, body?, for?} | {id, target, added_at} | | inbox_close | {id, resolution, journal_ref?} | strikes through the item, moves to Closed | | whats_new | — | diff from this agent's .pointers/<agent-id>.json to HEAD; updates the pointer |

Protocol helpers write files but do not commit or push. The skill instructs the agent to call add, commit, push itself — this keeps the tool surface orthogonal.

Path conventions

  • All filesystem and protocol-helper tools resolve paths relative to the active workspace's local_path.
  • Absolute paths and paths containing .. that escape the root are rejected.
  • Search skips .git, node_modules, dist, and common binary extensions.

What this server does not do

  • Branches and PRs (v1 pushes to main only).
  • Auto-merge on conflict — conflicts surface to the human.
  • Notify other clients — there is no real-time channel; whats_new is the pull-based equivalent.
  • Telemetry. The server logs to stderr only.

Development

npm install
npm run build
npm run dev    # tsx, no build step

Node 20+ is required (uses ESM and modern fs.promises).