MCP Server
Overview
Section titled “Overview”Ang hosted Wink MCP server ay makukuha sa:
https://docs.mcp.wink.travel/mcpIturo ang mga compatible na AI client (VS Code, Cursor, iba pang nag-iimplement ng MCP HTTP transport) sa endpoint na ito upang payagan silang:
- Mag-browse ng mga dokumento ng produkto at platform (
wink://docs/...) - Matuklasan ang mga SDK at mag-drill down sa mga API classes / models (
wink://sdk/...atwink://sdk/.../docs) - Magsagawa ng magaan na semantic / keyword search sa mga dokumento at SDK summaries
Transport
Section titled “Transport”Gamitin ang pangunahing streamable HTTP endpoint:
https://docs.mcp.wink.travel/mcpKung ang iyong client ay sumusuporta lamang sa SSE, gamitin ang:
https://docs.mcp.wink.travel/sseCursor
Section titled “Cursor”Cursor MCP docs: https://cursor.com/docs/context/mcp Setup: Magdagdag ng remote server sa pamamagitan ng MCP settings.
{ "mcpServers": { "wink-docs": { "url": "https://docs.mcp.wink.travel/mcp", } }}VS Code
Section titled “VS Code”Opisyal na docs: https://code.visualstudio.com/docs/copilot/customization/mcp-servers
Minimal na remote config (user o workspace mcp.json):
{ "servers": { "wink-docs": { "type": "http", "url": "https://docs.mcp.wink.travel/mcp" } }}Mga Tip:
- Gamitin ang Command Palette: “MCP: List Servers” upang kumpirmahin ang koneksyon at mag-browse ng mga tool.
- Pinapayagan ng tools picker na i-enable/i-disable ang
sdk_searchatdocs_search. - Magdagdag ng konteksto: Chat view → Add Context → MCP Resources upang ikabit ang mga pahina ng docs.
Core Resource URIs
Section titled “Core Resource URIs”| URI | Paglalarawan |
|---|---|
wink://docs | Index ng dokumentasyon (nakagrupo ayon sa kategorya) |
wink://docs/{path} | Tiyak na artikulo ng dokumentasyon (Markdown / MDX) |
wink://sdk | Pangkalahatang-ideya ng SDK (bawat SDK + bilang ng docs) |
wink://sdk/{sdkPath} | SDK README / folder ng module docs / tiyak na module doc |
Module Docs
Section titled “Module Docs”Ang pagbubukas ng SDK docs folder (hal. wink://sdk/python/wink-sdk-booking/docs) ay nagbabalik ng mga nakagrupong:
- API Classes (bilang ng mga method + mga halimbawa ng pangalan ng method)
- Models & Types (mga istruktura ng data na ginagamit ng mga API na iyon)
Search Tools (Quick Reference)
Section titled “Search Tools (Quick Reference)”| Tool | Layunin | Mga Karaniwang Halimbawa ng Query |
|---|---|---|
sdk_search | Hanapin kung aling SDK / API class ang gagamitin | cancel booking, list properties, affiliate inventory |
docs_search | Hanapin ang mga konseptwal na docs / gabay | authentication, webhooks, wordPress |
Iwanang walang laman ang query upang makatanggap ng mga suhestiyon. Kasama sa bawat resulta ang MCP URI na maaari mong buksan.
Typical Usage Pattern
Section titled “Typical Usage Pattern”- Patakbuhin ang
sdk_searchgamit ang iyong layunin (hal. “list properties”). - Buksan ang naibalik na SDK README o ang
docs_urinito upang suriin ang mga API / modelo. - Gamitin ang
docs_searchpara sa mga sumusuportang konsepto (authentication, webhooks).
- Ang bawat naibalik na URI ay maaaring buksan ng agent para sa buong nilalaman.
- Awtomatikong lumalabas ang mga suhestiyon kapag walang laman ang mga query.
Currently Supported SDKs
Section titled “Currently Supported SDKs”- Wink Python SDKs
Roadmap (High-Level)
Section titled “Roadmap (High-Level)”- Karagdagang language SDKs (Java, JS/TS)
- Magdagdag ng TripPay SDKs