गाइड
MCP से कनेक्ट करें
Waity एक रिमोट MCP सर्वर है, जिसमें सिर्फ़ पढ़ने वाले तीन टूल हैं। इसे किसी भी ऐसे क्लाइंट में जोड़ें जो HTTP पर MCP समझता है।
सर्वर URL
URL
https://api.waity.ai/mcp
यह बिना कुंजी के काम करता है: हर सेशन को रोज़ 100 कॉल मिलती हैं। कुंजी हो तो उसे X-Api-Key या Authorization: Bearer के रूप में भेजें।
जो होस्टेड कनेक्टर सिर्फ़ URL लेता है, वह उसी में कुंजी ले सकता है: https://api.waity.ai/mcp?key=wk_…। Waity कभी query string लॉग नहीं करता, फिर भी उस URL को कुंजी की तरह सँभालें।
इसे अपने क्लाइंट में जोड़ें
Claude
- Settings खोलें, फिर Connectors।
- "Add custom connector" चुनें।
- इसका नाम Waity रखें, नीचे दिया URL पेस्ट करें और "Add" चुनें।
https://api.waity.ai/mcp
ChatGPT
- Settings खोलें, फिर "Apps & Connectors"।
- "Advanced settings" में "Developer mode" चालू करें।
- नीचे दिए URL के साथ Waity नाम का कनेक्टर बनाएँ, बिना ऑथेंटिकेशन के।
- चैट में टूल मेन्यू से Waity चुनें।
https://api.waity.ai/mcp
Claude Code
इसे टर्मिनल में चलाएँ:
claude mcp add --transport http waity https://api.waity.ai/mcp
फिर कनेक्शन जाँचने के लिए Claude Code में /mcp चलाएँ।
Cursor
या इसे ~/.cursor/mcp.json में जोड़ें:
{
"mcpServers": {
"waity": {
"url": "https://api.waity.ai/mcp"
}
}
}
VS Code
या "MCP: Add Server" चलाएँ, HTTP चुनें और URL पेस्ट करें:
https://api.waity.ai/mcp
या इसे .vscode/mcp.json में जोड़ें:
{
"servers": {
"waity": {
"type": "http",
"url": "https://api.waity.ai/mcp"
}
}
}
दूसरे क्लाइंट
URL जोड़ें, या अगर आपका क्लाइंट कॉन्फ़िग फ़ाइल लेता है तो यह JSON:
{
"mcpServers": {
"waity": {
"url": "https://api.waity.ai/mcp"
}
}
}
टूल
तीनों टूल सिर्फ़ पढ़ते हैं और आगे के लिंक तैयार टूल कॉल के रूप में लौटाते हैं; find_waits और get_wait डिफ़ॉल्ट रूप से minimal व्यू देते हैं।
find_waits
जगहें, उनके मौजूदा इंतज़ार के साथ: किसी पॉइंट के पास, नाम या जगह से, या id से।
| नाम | टाइप | विवरण |
|---|---|---|
lat | number | Latitude in decimal degrees |
lng | number | Longitude in decimal degrees |
q | string | A place name, city, airport code or ZIP (at most 100 characters). With lat/lng, results sort by distance. |
ids | string[] | Up to 25 place ids, returned in this order. |
category | er | urgent-care | dmv | airport | border[] | Only these categories. Omit for all. मौजूदा कवरेज; GET /v1/categories देखें। |
open | boolean | true: only places open now. |
sort | distance | wait | total | distance (default with lat/lng), wait, or total (needs lat/lng). |
limit | integer | 1 to 25, default 10. |
view | minimal | full | minimal (default) for the essentials, full for sources, timestamps, hours and alternatives. |
get_wait
एक जगह: अभी, आम तौर पर, कब घटेगा, और पास के विकल्प। ग्रुप id उसके अंदर की लाइनें लौटाता है।
| नाम | टाइप | विवरण |
|---|---|---|
idज़रूरी | string | A place id from find_waits, e.g. pl_xaed7pr1f5. |
under | number | Threshold in minutes. Defaults: er, urgent-care and border 30, dmv 20, airport 15. |
travel_min | number | Travel time in minutes, for a leave-by time. |
date | string | Local date YYYY-MM-DD, today to 7 days ahead, to plan a day. |
lat | number | The user's latitude, for distances. |
lng | number | The user's longitude, for distances. |
forecast | boolean | With view minimal, add a compact hourly forecast [{at, value}]. |
view | minimal | full | minimal (default) for the essentials, full for sources, timestamps, hours and alternatives. |
get_history
किसी जगह के प्रतीक्षा समय कैसे थे: घंटेवार, रोज़ाना या हर रीडिंग। की चाहिए; कभी विज़िट का अनुमान नहीं लगाता।
| नाम | टाइप | विवरण |
|---|---|---|
idज़रूरी | string | A place id from find_waits (one place, lane or department, not a group), e.g. pl_xaed7pr1f5. |
from | string | Start, inclusive: a date YYYY-MM-DD (local to the place) or an ISO 8601 date-time with offset. Default: 7 days before to. |
to | string | End, exclusive: a date YYYY-MM-DD (local to the place) or an ISO 8601 date-time with offset. A date means the end of that day. Default: now. |
granularity | raw | hour | day | hour (default): hourly avg, median, p90, min, max. day: one row per local day. raw: every posted reading. |
tier | official | place | agent | Which kind of source. Default: the place's displayed source. |
cursor | string | page.next_cursor from the previous page; carries the range. |
limit | integer | Rows per page. Caps: raw 1000, hour 336, day 366. |
MCP और REST
- अनजान आर्ग्युमेंट
invalid_parameterके साथ अस्वीकार होते हैं; REST अनजान पैरामीटर को अनदेखा करता है और diagnostics में यह बताता है। - MCP कभी लोकेशन का अंदाज़ा नहीं लगाता: लोकेशन भेजें, या कोई शहर या ZIP।
- टूल का नतीजा जवाब को
structuredContentमें देता है और उसे JSON टेक्स्ट के रूप में दोहराता है, उन क्लाइंट के लिए जो सिर्फ़ टेक्स्ट पढ़ते हैं। - बिना कुंजी के, MCP क्लाइंट
Mcp-Session-Idहेडर खुद वापस भेजते हैं, इसलिए हर सेशन अलग से गिना जाता है।