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

@mosaicxr-ai/create-bridge

v1.0.0-beta.7

Published

Interactive installer for Mosaic Bridge — sets up the Unity package and configures MCP for Claude Code, Claude Desktop, Cursor, and Gemini CLI.

Readme

@mosaicxr-ai/create-bridge

Interactive installer for Mosaic Bridge — sets up the Unity package and configures MCP for Claude Code, Claude Desktop, Cursor, and Gemini CLI.

Usage

npx @mosaicxr-ai/create-bridge

That's it. The installer will:

  1. Ask for the absolute path to your Unity project (create it first via Unity Hub if you haven't)
  2. Validate it's a real Unity project (has Assets/ + ProjectSettings/)
  3. Ask which MCP clients to configure
  4. Add com.mosaic.bridge to Packages/manifest.json
  5. Write MCP server entries into each client's config
  6. Print next steps

Your existing MCP configs are preserved — we merge our server entry in, we don't overwrite anything else.

Non-interactive mode

Useful for CI or scripted setup:

npx @mosaicxr-ai/create-bridge \
  --project-path /path/to/UnityProject \
  --clients claude-code,cursor \
  --yes

Flags

| Flag | Description | |---|---| | -p, --project-path <path> | Unity project root. Skips the interactive prompt. | | -c, --clients <list> | Comma-separated: claude-code, claude-desktop, cursor, gemini. | | --skip-unity | Don't modify Packages/manifest.json (only write MCP client configs). | | --skip-clients | Don't write MCP client configs (only install the Unity package). | | --server-name <name> | Override the MCP server name. Defaults to mosaic-bridge-<project>. | | --force | Overwrite existing MCP client entries for this server (normally skipped). | | -y, --yes | Non-interactive mode. Requires --project-path. | | -h, --help | Show help. | | -v, --version | Show version. |

What gets written where

Unity project

<project>/Packages/manifest.json — adds:

{
  "dependencies": {
    "com.mosaic.bridge": "https://github.com/MosaicXR-AI/mosaic-bridge.git?path=/packages/com.mosaic.bridge"
  }
}

Claude Code

<project>/.mcp.json (project-local, auto-loaded by Claude Code when opened in that directory).

Claude Desktop

User-global file, OS-dependent:

| OS | Path | |---|---| | macOS | ~/Library/Application Support/Claude/claude_desktop_config.json | | Windows | %APPDATA%\Claude\claude_desktop_config.json | | Linux | ~/.config/Claude/claude_desktop_config.json |

Cursor

~/.cursor/mcp.json (user-global).

Gemini CLI

~/.gemini/settings.json (user-global).

Note: Gemini rejects server names with underscores (tool FQN parser). The installer normalizes all server names to hyphens by default.

The server entry

All four clients get the same server definition, only the file location differs:

{
  "mcpServers": {
    "mosaic-bridge-<project>": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mosaicxr-ai/mcp-server",
        "--project-path",
        "/abs/path/to/your/UnityProject"
      ]
    }
  }
}

The npx -y @mosaicxr-ai/mcp-server command downloads and caches the MCP server on first run, so users don't need a separate global install.

After running

  1. Open the Unity project in Unity Hub
  2. Wait for Unity to import and compile (first time: a few minutes)
  3. Restart the MCP clients you configured
  4. Open the client, ask it to do something in Unity — the tools will appear in its namespace

Troubleshooting

"Directory not found" — make sure you pass an absolute path and the Unity project exists at that location.

"Not a Unity project" — the folder must contain Assets/ and ProjectSettings/. Create the project in Unity Hub first.

Client shows "Connection closed" — the Unity Editor must be running for the MCP server to connect. Open Unity, wait for the bridge to initialize, then retry in your client.

Multiple Unity projects — configure one server per project (rerun this installer in each project — they use unique server names by default).

License

Apache License 2.0

Author

Mousa Soutari / MosaicXR