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 🙏

© 2025 – Pkg Stats / Ryan Hefner

xcode-mcp-shell

v0.1.0

Published

MCP Server for executing shell commands from MCP clients, particularly useful for Xcode-related operations

Readme

xcode-mcp-shell

MCP(Model Context Protocol) 서버로, MCP 클라이언트에서 Shell 명령어를 실행할 수 있게 해주는 도구입니다. 특히 Xcode 관련 작업을 위한 도구들을 제공합니다.

설치

npm install -g xcode-mcp-shell

사용 방법

Claude Desktop에서 사용하기

  1. Claude Desktop의 설정 파일을 엽니다:

    # macOS
    open ~/Library/Application\ Support/Claude/claude_desktop_config.json
  2. 다음 내용을 추가하거나 수정합니다:

    {
      "mcpServers": [
        {
          "name": "xcode-mcp-shell",
          "command": "xcode-mcp-shell"
        }
      ]
    }
  3. Claude Desktop를 재시작합니다.

제공하는 도구

1. execute-shell

Shell 명령어를 실행하고 결과를 반환합니다.

매개변수:

  • command (필수): 실행할 shell 명령어
  • workingDir (선택): 명령어를 실행할 작업 디렉토리
  • timeout (선택): 명령어 실행 타임아웃(ms), 기본값: 60000ms

예시:

명령어: ls -la

2. xcode-project-info

Xcode 프로젝트 정보를 가져옵니다.

매개변수:

  • projectPath (필수): Xcode 프로젝트 또는 워크스페이스 경로

예시:

프로젝트 경로: /Users/username/Projects/MyApp/MyApp.xcodeproj

3. xcode-build

Xcode 프로젝트를 빌드합니다.

매개변수:

  • projectPath (필수): Xcode 프로젝트 또는 워크스페이스 경로
  • scheme (필수): 빌드할 스킴
  • configuration (선택): 빌드 구성 (예: Debug, Release)
  • destination (선택): 빌드 대상 (예: 'platform=iOS Simulator,name=iPhone 14')

예시:

프로젝트 경로: /Users/username/Projects/MyApp/MyApp.xcodeproj
스킴: MyAppScheme
구성: Debug
대상: platform=iOS Simulator,name=iPhone 14

보안 고려사항

이 도구는 Shell 명령어를 실행할 수 있기 때문에 보안 위험이 있습니다. 다음 사항에 주의하세요:

  • 신뢰할 수 있는 명령어만 실행하세요.
  • 시스템을 손상시킬 수 있는 명령어(rm -rf /, mkfs 등)는 보안상의 이유로 차단됩니다.
  • 민감한 정보가 포함된 명령어를 실행하지 마세요.

개발

필수 요구사항

  • Node.js 16 이상
  • npm 6 이상

로컬에서 개발 및 테스트

# 저장소 복제
git clone https://github.com/username/xcode-mcp.git
cd xcode-mcp

# 의존성 설치
npm install

# 개발 모드로 실행
npm run dev

# 빌드
npm run build

# 테스트
npm test

라이선스

ISC