MCP Server
此内容尚不支持你的语言。
Overview
Section titled “Overview”The hosted Wink MCP server is available at:
https://docs.mcp.wink.travel/mcpPoint compatible AI clients (VS Code, Cursor, others implementing MCP HTTP transport) at this endpoint to let them:
- Browse product & platform docs (
wink://docs/...) - Discover SDKs & drill into API classes / models (
wink://sdk/...&wink://sdk/.../docs) - Perform lightweight semantic / keyword search over docs & SDK summaries
Transport
Section titled “Transport”Use the primary streamable HTTP endpoint:
https://docs.mcp.wink.travel/mcpIf your client only supports SSE, use:
https://docs.mcp.wink.travel/sseCursor
Section titled “Cursor”Cursor MCP docs: https://cursor.com/docs/context/mcp Setup: Add remote server via MCP settings.
{ "mcpServers": { "wink-docs": { "url": "https://docs.mcp.wink.travel/mcp", } }}VS Code
Section titled “VS Code”Official docs: https://code.visualstudio.com/docs/copilot/customization/mcp-servers
Minimal remote config (user or workspace mcp.json):
{ "servers": { "wink-docs": { "type": "http", "url": "https://docs.mcp.wink.travel/mcp" } }}Tips:
- Use Command Palette: “MCP: List Servers” to confirm connection & browse tools.
- Tools picker lets you enable/disable
sdk_searchanddocs_search. - Add context: Chat view → Add Context → MCP Resources to attach docs pages.
Core Resource URIs
Section titled “Core Resource URIs”| URI | Description |
|---|---|
wink://docs | Documentation index (grouped by category) |
wink://docs/{path} | Specific documentation article (Markdown / MDX) |
wink://sdk | SDK overview (each SDK + doc counts) |
wink://sdk/{sdkPath} | SDK README / module docs folder / specific module doc |
Module Docs
Section titled “Module Docs”Opening a SDK docs folder (e.g. wink://sdk/python/wink-sdk-booking/docs) returns grouped:
- API Classes (method count + sample method names)
- Models & Types (data structures used by those APIs)
Search Tools (Quick Reference)
Section titled “Search Tools (Quick Reference)”| Tool | Purpose | Typical Query Examples |
|---|---|---|
sdk_search | Find which SDK / API class to use | cancel booking, list properties, affiliate inventory |
docs_search | Find conceptual docs / guides | authentication, webhooks, wordPress |
Leave query empty to receive suggestions. Every result includes the MCP URI you can open.
Typical Usage Pattern
Section titled “Typical Usage Pattern”- Run
sdk_searchwith your intent (e.g. “list properties”). - Open the returned SDK README or its
docs_urito inspect APIs / models. - Use
docs_searchfor supporting concepts (authentication, webhooks).
- Each returned URI can be opened by the agent for full content.
- Suggestions appear automatically when queries are empty.
Currently Supported SDKs
Section titled “Currently Supported SDKs”- Wink Python SDKs
Roadmap (High-Level)
Section titled “Roadmap (High-Level)”- Additional language SDKs (Java, JS/TS)
- Add TripPay SDKs