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

xcode-mcp-bridge

v1.0.6

Published

CLI for interacting with Xcode MCP tools from the terminal.

Readme

xcode-mcp-bridge

Human and agent friendly CLI for using Xcode MCP tools from the terminal and from agent (using cli or MCP)

xcode-mcp bridge talks to Xcode through an HTTP MCP bridge backed by xcrun mcpbridge.

Quick Start

Requirements

  • Xcode 26.3 or later
# install globally from npm
npm install -g xcode-mcp-bridge
# or run without installing globally
npx xcode-mcp-bridge --help
# terminal 1: start the local MCP bridge
xcode-mcp bridge

# terminal 2: inspect available Xcode windows/tabs
xcode-mcp windows

# check overall workspace status
xcode-mcp --tab <tabIdentifier> status

# build the active scheme
xcode-mcp --tab <tabIdentifier> build

If exactly one Xcode tab is open, --tab is auto-detected.

Use With Codex / Claude

This repo includes a helper command to register the HTTP bridge as an MCP server with your agent. It also helps fix the Xcode + Codex issue where Xcode repeatedly asks for permission by keeping the MCP connection alive.

# after bridge is running on localhost:49321/mcp
# configure Codex to use the bridge MCP server
xcode-mcp agent-setup --client codex

# configure Claude to use the bridge MCP server
xcode-mcp agent-setup --client claude

Most Common Commands

# quick health check (windows + issues)
xcode-mcp status

# build the current project
xcode-mcp build

# inspect recent build log with warnings
xcode-mcp build-log --severity warning

# run all tests from active test plan
xcode-mcp test all

# list available tests
xcode-mcp test list

# list current errors from Issue Navigator
xcode-mcp issues --severity error

# list open Xcode tabs/workspaces
xcode-mcp windows

Project/File Commands

# list project structure
xcode-mcp ls /

# find files by glob
xcode-mcp glob "**/*.swift"

# read file contents
xcode-mcp read "MyApp/Sources/View.swift"

# regex search across project files
xcode-mcp grep "TODO|FIXME"

# create/overwrite file content
xcode-mcp write "MyApp/Sources/NewFile.swift" "import SwiftUI"

# replace text in a file
xcode-mcp update "MyApp/Sources/View.swift" "OldText" "NewText" --replace-all

# move or rename a file
xcode-mcp mv "Old.swift" "New.swift"

# create a directory/group
xcode-mcp mkdir "MyApp/Sources/Feature"

# remove a file/directory from project
xcode-mcp rm "MyApp/Sources/Unused.swift"

Preview / Snippet / Docs

# render a SwiftUI preview image
xcode-mcp preview "MyApp/Sources/MyView.swift" --out ./preview-out

# execute a Swift snippet in file context
xcode-mcp snippet "MyApp/Sources/MyView.swift" "print(\"hello\")"

# search Apple documentation
xcode-mcp doc "NavigationStack" --frameworks SwiftUI

Output Modes

Use text output by default, or JSON for automation/scripts:

# emit status as JSON
xcode-mcp status --json

# emit build log as JSON
xcode-mcp build-log --output json

Help

# show top-level CLI help
xcode-mcp --help

# show help for a specific command
xcode-mcp <command> --help

Credits

The generated MCP client/tool bindings in this project are produced with MCPorter: