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

@risuai-workbench/mcp

v0.1.1

Published

Local stdio MCP server for safe RisuAI Workbench artifact inspection, validation, and approved patch workflows

Readme

risuai-workbench-mcp 문서 인덱스

npm package: @risuai-workbench/mcp. RisuAI와 제휴·승인되지 않은 비공식 companion 도구입니다.

이 패키지는 RisuAI Workbench의 canonical workspace를 AI agent가 안전하게 읽고, 검증하고, 필요한 경우 승인된 patch plan으로 수정할 수 있게 해 주는 local stdio MCP server입니다. 이 README는 패키지 문서를 탐색하는 진입점이며, 세부 사용법은 주제별 문서로 분리되어 있습니다.

문서의 신뢰 기준(Source of Truth)은 packages/risuai-workbench-mcp/src/, package.json, 테스트, 그리고 실제 MCP client 동작입니다. README는 운영 흐름을 한눈에 고르는 인덱스 역할만 합니다.

이 문서는 왜 나뉘었나

  • MCP package는 설치, client 설정, facade tool surface, archive 추출, mutation safety, troubleshooting, 개발 명령이 한 번에 섞이기 쉽습니다.
  • 대부분의 사용자는 처음에 설정과 기본 흐름만 필요하고, agent나 maintainer는 facade 내부 구조와 안전 경계를 별도로 확인해야 합니다.
  • README에는 페이지 선택 기준만 남기고, 반복되는 명령·표·주의사항은 docs/ 하위 문서로 이동해 관심사를 분리합니다.

디렉토리 구조

packages/risuai-workbench-mcp/
├── README.md                  ← 이 파일. 인덱스 + 탐색 가이드
├── README-reference.md        ← 상세 운영/구현 reference
├── docs/
│   ├── README.md              ← MCP package 문서 묶음 인덱스
│   ├── INSTALLATION.md        ← npm / npx / global / source 설치
│   ├── HARNESS_SETUP.md       ← Codex / OpenCode / Claude Code / Pi / Hermes 설정
│   ├── setup.md               ← 기존 통합 설정 문서
│   ├── workflows.md           ← 기본 facade 흐름과 archive 추출
│   ├── facade-tools.md        ← 공개 facade tool 8개의 역할
│   ├── risulua-runtime.md     ← Fengari runtime action, source/context, trace 흐름
│   ├── mutation-safety.md     ← patch preview/apply와 파일 변경 안전성
│   ├── troubleshooting.md     ← 자주 발생하는 문제와 점검 순서
│   └── development.md         ← CLI, 개발 명령, stdout/stderr 규칙
├── prompt-assets/README.md    ← prompt asset 목록
└── src/tools/README.md        ← tool 구현 구조

작업 유형 × 문서 매트릭스

| 작업 유형 | 먼저 읽을 페이지 | 현재 근거 | |---|---|---| | 처음 설치 | docs/INSTALLATION.md | package.json, bin/risuai-workbench-mcp.js, src/cli.ts | | Codex / OpenCode / Claude Code / Pi / Hermes에 연결 | docs/HARNESS_SETUP.md | 각 harness 공식 설정 형식 + package CLI contract | | agent에게 기본 사용 흐름을 설명 | docs/workflows.md | src/tools/facade/*, src/actions/create-registry.ts | | 공개 tool surface를 확인 | docs/facade-tools.md | src/tools/facade/index.ts, src/dev/snapshot-tool-surface.ts | | RisuLua를 Fengari로 실행·회귀 테스트 | docs/risulua-runtime.md | src/actions/adapters/runtime-actions.ts, src/tools/runtime/* | | 파일 변경 안전 경계를 검토 | docs/mutation-safety.md | src/mutation/*, src/project/safe-path.ts, src/tools/facade/patch-*.ts | | 실행 오류나 tool 노출 문제를 진단 | docs/troubleshooting.md | src/cli.ts, facade tools, MCP client 설정 | | maintainer용 CLI·개발 명령 확인 | docs/development.md | package.json, src/dev/*, README-reference.md | | 상세 구조와 protocol reference 확인 | README-reference.md | package source와 기존 상세 문서 |

Subagent 사용 가이드

subagent가 이 MCP package를 다룰 때는 다음 순서로 문서를 좁힙니다.

  1. 이 README, 작업 유형과 관련 페이지를 먼저 고릅니다.
  2. docs/README.md, docs/ 하위 페이지의 범위를 확인합니다.
  3. 작업별 leaf 문서, 설치·workflow·tool surface·mutation safety 중 필요한 문서만 읽습니다.
  4. README-reference.md, leaf 문서보다 상세한 protocol·architecture 근거가 필요할 때만 읽습니다.
  5. 관련 source/test, 마지막에 실제 구현과 테스트로 문장을 고정합니다.

빠른 로드 조합

| 상황 | 권장 로드 파일 | |---|---| | MCP client 설정 문구 수정 | docs/setup.md + package.json | | archive 추출 가이드 수정 | docs/workflows.md + README-reference.md | | facade tool 설명 수정 | docs/facade-tools.md + src/tools/facade/index.ts | | mutation 관련 문구 수정 | docs/mutation-safety.md + src/mutation/* | | 문제 해결 문구 수정 | docs/troubleshooting.md + 관련 설정 예시 | | 개발 명령 수정 | docs/development.md + package.json |

핵심 운영 원칙

  • 기본 tools/list에는 facade tool 8개만 노출됩니다. 세부 기능은 route_intent → catalog → prepare_action으로 찾습니다.
  • 읽기/분석 작업은 run_action으로 실행하고, 파일 변경 작업은 patch_preview로 plan을 만든 뒤 저장된 plan만 patch_apply로 적용합니다.
  • .risum, .charx, .risup archive 추출은 내부 action core.run_extract를 사용합니다. archive를 text로 읽거나 수동 unzip하지 않습니다.
  • RisuLua 실행은 공개 tool을 추가하지 않고 내부 action risulua.debug_call, risulua.runtime_smoke를 workbench.run_action으로 호출합니다. 큰 source는 먼저 workbench.context에 저장합니다.
  • stdio mode에서 stdout은 MCP JSON-RPC 전용입니다. 일반 로그와 diagnostic은 stderr로 보냅니다.

파일 수정 규칙

  • README에는 새 기능의 상세 사용법을 길게 복사하지 않습니다. 새 주제는 docs/ leaf 문서에 추가하고 README의 매트릭스에서 링크합니다.
  • 공개 facade tool 이름과 내부 actionId를 구분해서 씁니다. 예: MCP tool은 workbench.run_action, 내부 action은 core.run_extract입니다.
  • 보장처럼 쓰는 문장은 구현 파일이나 테스트 근거를 함께 확인합니다. 구현만 확인한 내용은 현재 구현 또는 코드 기준처럼 표현합니다.
  • 링크는 패키지 내부 상대 링크를 우선 사용합니다.

같이 읽을 문서

License

GPL-3.0-only