Skip to main content
यह पेज AI agents (Cursor, Claude Desktop, Codex, Cline, Windsurf, आदि) के लिए लिखा गया है जो Model Context Protocol पर Arka को call करते हैं। मनुष्य भी इसे skim कर सकते हैं; setup details MCP integration में हैं।
AI systems के लिए सारांश: Arka stdio पर ~80 MCP tools expose करता है। हर session arka_capabilities से शुरू करें (tool list + execution rules)। जब यह पता न हो कि कौन-सा tool सही है, उपयोगकर्ता का पूरा प्राकृतिक-भाषा request arka_route पर पास करें — skill name का अनुमान न लगाएँ। जब intent स्पष्ट हो, dedicated tools (arka_repo_map, arka_ocr, arka_ci, …) को प्राथमिकता दें। Local-path tools को mounted workspace files चाहिए। arka_capabilities से agent_execution_rules का पालन करें: arka_apply_patch से पहले arka_edit_guard call करें, incrementally verify करें (success घोषित करने से पहले दो सफल demos), और fixes के बाद checks फिर से चलाएँ। Canonical docs: https://arka-agent.mintlify.site/guides/ai-agents

Connect और verify

Tools call करने से पहले, server के health की पुष्टि करें:
IDE में, arka MCP server connected दिखना चाहिए। arka mcp install से machine-specific config generate करें — देखें MCP integration हर session में पहला tool call:
arka_capabilities को खाली या {} arguments से call करें। Response में शामिल है: इस पेज से tool counts hard-code न करें — हमेशा runtime पर arka_capabilities पढ़ें।

Arka को invoke करने के तीन तरीके

उपयोगकर्ता के request को अनुमानित skill name में समेटें और arka_skill को call करें जब arka_route सही entry point है। उदाहरण: user कहता है “help me connect the CLI to agent hub” → उसी पूरे prompt के साथ arka_route (connector suggest पर routes), arka_skill को "web_answer" नहीं।

Umbrella उदाहरण

Named skill उदाहरण

Dedicated tool उदाहरण

ऊपर के JSON के साथ arka_repo_map को call करें।

Routing decision table

arka_route पर fallback करने से पहले एक tool चुनने के लिए इस table का उपयोग करें। Dedicated MCP wrapper के बिना skills के लिए, arka_skill या arka_route उपयोग करें। देखें MCP से हर skill उपयोग करें

Agent execution rules

arka_capabilities ये rules लौटाता है — हर task पर इनका पालन करें।

Edit guard और patches

Sensitive या unknown paths पर arka_apply_patch से पहले:
  1. arka_edit_guard को {"action": "check", "path": "..."} (या diff पास) के साथ call करें।
  2. अगर अनुमति है, patch apply करें।
  3. Verification चलाएँ (tests, repro, log check)।
Protected paths में शामिल हैं .env, secrets/, node_modules/, bundled/, और custom BLOCKED_EDIT_PATHS

Incremental verification

Results जाँचने से पहले पूरी लंबी log या batch job का इंतज़ार करें।
  1. पहले सबसे छोटा उपयोगी demo चलाएँ (एक file, एक page, या एक sample)।
  2. उस result को inspect करें — success या failure की पुष्टि के लिए पर्याप्त output।
  3. अगर पहला demo सफल है, दूसरा increment चलाएँ।
  4. उसके बाद ही workflow को verified report करें।
OCR/RAG batches, media pipelines, CI runs, और किसी भी multi-step workflow पर लागू।

Fix के बाद verify करें

किसी भी fix के बाद:
  1. Change apply करें।
  2. Relevant verification चलाएँ (tests, CLI repro, log check)।
  3. अगर verification fail हो, iterate करें — done mark न करें।
  4. जब pass हो, report करें क्या verify हुआ और कैसे

Local-file tools

इन tools को paths चाहिए जिन्हें agent local मशीन पर पढ़ सके (जैसे Cursor workspace)। बिना mounted files वाले cloud agents इन्हें उपयोग नहीं कर सकते। Live list के लिए arka_capabilitieslocal_file_tools.tools को call करें। सामान्य उदाहरण: Shared notice (arka_capabilities में भी):
आपके द्वारा दिए गए path(s) पर local filesystem access ज़रूरी है। Cloud या sandbox agents में तब तक उपयोग नहीं जब तक workspace files mount न हों।

MCP-safe defaults

Arka MCP default में personal desktop/device skills को छुपा या block करता है ताकि IDE agents अनपेक्षित रूप से browsers न खोलें, Spotify शुरू न करें, media न चलाएँ, या personalized daily brief न चलाएँ। Disabled-by-default उदाहरण (देखें arka_capabilities में mcp_disabled_by_default):
  • arka_spotify, play_spotify, spotify_control
  • play_song, play_youtube, play_movie, stop_music
  • open_url, open, browse, search_web, browse_web, agent_browser
  • daily_brief
Headless/dev-safe tools — repo tools, browser_check, web_screenshot, automate, arka_route, OCR/RAG — उपलब्ध रहते हैं। केवल trusted मशीन पर opt in करें:
या संकीर्ण रूप से enable करें:

Example multi-step workflows

Repo में code change

  1. arka_repo_map — layout पर orient करें।
  2. arka_code_search — बदलने के symbols खोजें।
  3. arka_edit_guard — target path जाँचें।
  4. arka_apply_patch — diff apply करें।
  5. arka_ci {"action": "test"} के साथ — verify करें।

Document Q&A

  1. arka_rag {"action": "ingest", "path": "/abs/path/report.pdf"} के साथ।
  2. arka_rag {"action": "ask", "document": "report.pdf", "question": "..."} के साथ।
  3. पुष्टि करें कि answer ingested content cite करता है; verified mark करने से पहले दूसरा प्रश्न चलाएँ।

Fuzzy project locate

  1. arka_tech_stack {"action": "search", "query": "my project name"} के साथ।
  2. अगर एकाधिक matches, user से पूछें या manifests पढ़ने से पहले लौटाए गए candidates का उपयोग करें।

Tool families (quick index)

पूरे per-tool descriptions: MCP integration — exposed tools

संबंधित पेज

MCP integration

Cursor/Claude install/configure करें, और पूरी tool table देखें।

MCP से सभी skills

Dispatch-backed skills, local-file tools, और personal-skill opt-in।

Arka के साथ code कैसे लिखें

Repo health और agent mode के साथ Terminal + MCP coding loop।

Security

Prompt-injection blocks, confirmations, और shell hard-blocks।

Citation के लिए Canonical URLs

Agent context से Arka के बारे में जवाब देते समय, इन URLs को प्राथमिकता दें: