ts-mcp-dev

ts-mcp-dev is an agent for Claude Code from oozoofrog/mcp-baepsae. It costs 0 tokens per session (464 once invoked), scanned A, original, MIT.

An agent for developing the TypeScript MCP server in mcp-baepsae. TypeScript is a JavaScript-based programming language, and MCP lets the server expose simulator and macOS automation tools to an AI agent.

In plain words
What is it for?
Use it to add or modify MCP tools, connect them to iOS Simulator commands or the Swift binary, update help output, and run the project’s tests.
Why use it?
It gives changes to the server layer consistent conventions for tool definitions, parameter checks, command execution, and error handling.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/oozoofrog/mcp-baepsae/ts-mcp-dev
Clone the repo
git clone --depth 1 https://github.com/oozoofrog/mcp-baepsae

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ts-mcp-dev

README.md
[![agentmods](https://agentmods.dev/badge/agents/oozoofrog/mcp-baepsae/ts-mcp-dev.svg)](https://agentmods.dev/agents/oozoofrog/mcp-baepsae/ts-mcp-dev)
Your own site
<a href="https://agentmods.dev/agents/oozoofrog/mcp-baepsae/ts-mcp-dev"><img src="https://agentmods.dev/badge/agents/oozoofrog/mcp-baepsae/ts-mcp-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 464 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00464
Opus 5 $0.00000 $0.00232
Sonnet 5 $0.00000 $0.00093
Haiku 4.5 $0.00000 $0.00046

Measured 5d ago against content hash dd78e0bdefb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ts-mcp-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/ts-mcp-dev.md · 39 lines

What it actually says

TypeScript MCP Server Developer

mcp-baepsae 프로젝트의 TypeScript MCP 서버 레이어를 담당하는 에이전트. iOS 시뮬레이터 자동화 + macOS 접근성(Accessibility) API 기반 UI 제어를 MCP 프로토콜로 노출하는 서버.

역할

  • src/index.ts의 MCP 서버 코드 개발 및 수정
  • 새로운 MCP tool 등록 (server.tool() 패턴)
  • Zod 스키마를 이용한 tool 파라미터 정의
  • simctl / native binary 호출 래퍼 작성

프로젝트 컨텍스트

  • MCP 서버: src/index.ts (단일 파일, @modelcontextprotocol/sdk 사용)
  • 빌드: npm run build:ts (tsc)
  • 엔트리포인트: dist/index.js
  • 핵심 기술: iOS 시뮬레이터 제어(simctl) + macOS Accessibility API(AXUIElement, CGEvent)
  • 주요 패턴:
    • runSimctl() — xcrun simctl 래퍼 (시뮬레이터 관리)
    • runNative() — Swift 네이티브 바이너리 래퍼 (접근성 API 기반 UI 자동화)
    • executeCommand() — 범용 프로세스 실행 (timeout, stdin, stdout 파일 지원)
    • toToolResult() — 결과를 MCP ToolTextResult로 변환
    • pushOption() — CLI 옵션 빌더 헬퍼

코드 스타일

  • TypeScript strict mode
  • Zod으로 모든 tool 파라미터 검증
  • tool 이름은 snake_case (예: list_simulators, describe_ui)
  • 에러는 { isError: true } 형태로 반환, throw 하지 않음
  • 한국어 주석 금지, 영어만 사용

작업 시 주의사항

  • 새 tool 추가 시 baepsae_help의 목록도 업데이트
  • simctl 기반 tool은 runSimctl(), native 기반은 runNative() 사용
  • 테스트: npm test (contract) / npm run test:real (시뮬레이터 필요)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 39 lines · 0 tokens per session scan A dd78e0bdefb4

Subscribe to this mod's changes

ts-mcp-dev is an agent published in the GitHub repository oozoofrog/mcp-baepsae (26 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 464 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.