Repository navigation
react-native-mcp-server v0.1.0-rc.13
Pre-release
Pre-release
·
14 commits
to main
since this release
What's Changed
๐ Token-efficient tool selection guide
AI ์์ด์ ํธ๊ฐ UI ์ํ ํ์ธ ์ ์คํฌ๋ฆฐ์ท ๋์ ํ ์คํธ ๊ธฐ๋ฐ ๋๊ตฌ๋ฅผ ์ฐ์ ์ฌ์ฉํ๋๋ก MCP server instructions ๋ฐ tool description์ ๊ฐ์ด๋๋ฅผ ์ถ๊ฐํ์ต๋๋ค.
Server Instructions ์ถ๊ฐ
- ๋๊ตฌ ์ ํ ์ฐ์ ์์ ํ
์ด๋ธ: text tools (1st) โ
webview_evaluate_script(2nd) โdescribe_ui(3rd) โtake_screenshot(4th) - ๊ตฌ์ฒด์ ์ฌ์ฉ ์์: ์ฒดํฌ๋ฐ์ค ์ํ ํ์ธ โ
webview_evaluate_script, ํ๋ฉด ์ ํ ํ์ธ โassert_text - "์คํฌ๋ฆฐ์ท 1ํ ์ดฌ์ ํ ํ ์คํธ ๋๊ตฌ๋ก ์ ํ" ๊ฐ์ด๋
take_screenshot description ๊ฐํ
- "EXPENSIVE: consumes large image tokens" ๊ฒฝ๊ณ ์ถ๊ฐ
- ๋์ ๋๊ตฌ(query_selector, assert_text, webview_evaluate_script) ์๋ด
๐ก Why?
์คํฌ๋ฆฐ์ท์ ์ด๋ฏธ์ง ํ ํฐ์ ๋๋ ์๋ชจํ์ฌ ์ปจํ ์คํธ ์๋์ฐ๋ฅผ ๋น ๋ฅด๊ฒ ์์งํฉ๋๋ค. ํ ์คํธ ๊ธฐ๋ฐ ๋๊ตฌ๋ฅผ ์ฐ์ ์ฌ์ฉํ๋ฉด ๋์ผํ ๊ฒ์ฆ์ ํจ์ฌ ์ ์ ํ ํฐ์ผ๋ก ์ํํ ์ ์์ต๋๋ค.
Full Changelog: react-native-mcp-server-v0.1.0-rc.12...react-native-mcp-server-v0.1.0-rc.13