setup-mcp

A command that updates Cursor's MCP server configuration to use the user's installed mise executable. MCP is a way for tools to connect an agent to external services.

In plain words
What is it for?
Run it from the repository root to find mise, update .cursor/mcp.json, and then restart Cursor.
Why use it?
Cursor may start MCP with a limited PATH, so it may not find mise even when mise works in the terminal.

Command for Cursor

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 commands/ohah/react-native-mcp/setup-mcp
Clone the repo
git clone --depth 1 https://github.com/ohah/react-native-mcp

Made for: Cursor.

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 256 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.00256
Opus 5 $0.00000 $0.00128
Sonnet 5 $0.00000 $0.00051
Haiku 4.5 $0.00000 $0.00026

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

Security

Grade A, and why

setup-mcp 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 2d 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.

.cursor/commands/setup-mcp.md · 26 lines

What it actually says

MCP 명령을 사용자 환경에 맞게 설정

MCP 서버는 mise 경로를 command로 씁니다. Cursor는 PATH를 거의 비운 채로 MCP를 실행해서, 각 사용자가 자신의 mise 경로.cursor/mcp.json을 한 번 갱신해야 합니다.

할 일

저장소 루트에서 아래 명령을 실행하세요:

bun run setup-mcp

또는:

bun run .cursor/scripts/set-mcp-mise-path.ts
  • mise가 PATH에 있으면 그 경로를 찾아 .cursor/mcp.json의 MCP 서버 command를 해당 경로로 덮어씁니다.
  • mise가 PATH에 없으면 ~/.local/bin/mise, /opt/homebrew/bin/mise 등 흔한 설치 위치를 찾아 씁니다.
  • 실행 후 Cursor를 한 번 재시작하면 MCP가 새 경로로 동작합니다.

/setup-mcp 실행 시

에이전트가 위 bun run setup-mcp를 실행해 사용자 환경에 맞게 .cursor/mcp.json을 갱신합니다.

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. 2d ago First seen · 26 lines · 0 tokens per session scan A 65191199718d

Subscribe to this mod's changes

setup-mcp is a command published in the GitHub repository ohah/react-native-mcp (7 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 256 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-31.