Files
BoosAPI/desktop/website/docs/hi/guide/mcp.md
T
boos e0a5f57793 feat(desktop): embed BoosAPI Desktop client as a subproject
Vendor the rebranded BoosAPI Desktop client (Tauri + Vue) into metapi as
a monorepo subdirectory under desktop/. Source only — node_modules,
dist, Cargo target and the upstream .git history are excluded.

desktop/ keeps its own independent Cargo workspace (desktop/src-tauri
with crates/*); it is not part of the backend boosapi crate, so a
`cargo check` at the metapi root still compiles only the backend. Build
the desktop app from desktop/src-tauri per desktop/README.md.

Note: app icons are still placeholder assets pending the final BoosAPI
logo. The updater signing keys live outside the repo and are not
included.
2026-06-22 11:32:57 +08:00

3.2 KiB

MCP सर्वर

MCP क्या है?

Model Context Protocol (MCP) एक ओपन स्टैंडर्ड है जो AI मॉडलों को बाहरी टूल्स और डेटा स्रोतों के साथ इंटरैक्ट करने देता है। BoosApi MCP क्लाइंट के रूप में काम करता है — आप MCP सर्वर जोड़ते हैं, और AI वार्तालाप के दौरान उनके एक्सपोज़ टूल कॉल कर सकता है।


ट्रांसपोर्ट प्रोटोकॉल

प्रोटोकॉल कनेक्शन उपयोग केस कॉन्फ़िगरेशन
Stdio लोकल प्रोसेस npx, uvx, python आदि से लॉन्च टूल्स command + args + वैकल्पिक env
SSE रिमोट सर्वर रिमोट मशीन पर होस्ट Server-Sent Events एंडपॉइंट url
StreamableHTTP रिमोट सर्वर HTTP स्ट्रीमिंग एंडपॉइंट url

MCP सर्वर जोड़ना

फॉर्म से बनाना

  1. Settings → MCP Servers में जाएं।
  2. Add MCP Server क्लिक करें।
  3. एक नाम दर्ज करें और ट्रांसपोर्ट प्रोटोकॉल चुनें।
  4. अपने चुने हुए प्रोटोकॉल के लिए फ़ील्ड भरें।
  5. Save क्लिक करें।

JSON इम्पोर्ट

JSON Import क्लिक करें और कॉन्फ़िगरेशन ऑब्जेक्ट पेस्ट करें:

{
  "mcpServers": {
    "fetch": {
      "command": "uvx",
      "args": ["mcp-server-fetch"]
    }
  }
}

बिल्ट-इन टूल्स

टूल विवरण
@boosapi/fetch वेब पेज और HTTP रिसोर्स फ़ेच करें
@boosapi/search-file लोकल फ़ाइल सिस्टम में फ़ाइलें खोजें

Tool loop limit

Settings -> MCP में MCP-enabled response के लिए consecutive tool-call iterations की maximum संख्या सेट कर सकते हैं। Unknown servers टेस्ट करते समय limit कम रखें, और multi-tool workflows के लिए इसे बढ़ा सकते हैं।

अगले कदम

  • API गेटवे — अपने प्रदाताओं को लोकल API सर्वर के रूप में एक्सपोज़ करें
  • त्वरित प्रारंभ — क्विक स्टार्ट गाइड पर वापस जाएं