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/...) - Browse live OpenAPI specs and operation docs (
wink://api/...) - Perform lightweight semantic / keyword search over docs and live APIs
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/sseClaude Code
Section titled “Claude Code”Official docs: Connect Claude Code to tools via MCP
Anthropic recommends the remote HTTP transport for cloud-hosted MCP servers:
claude mcp add --transport http wink-docs https://docs.mcp.wink.travel/mcpclaude mcp listInside Claude Code, run /mcp to inspect server status. If you want to share the server with the whole repo, add --scope project so Claude Code writes the config to .mcp.json.
Official docs: Docs MCP quickstart for Codex
OpenAI documents MCP setup through the Codex CLI, and notes that the configuration is shared with the IDE extension:
codex mcp add wink-docs --url https://docs.mcp.wink.travel/mcpcodex mcp listCursor
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
api_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://api | Live OpenAPI catalog discovered from Wink’s swagger config |
wink://api/{apiName} | Compact API summary with auth, tags, headers, and sample operations |
wink://api/{apiName}/operations | Full operation listing grouped by tag |
wink://api/{apiName}/operation/{key} | Individual operation detail (params, request body, responses) |
wink://api/{apiName}/schema/{schemaName} | Resolved component schema with nested fields, types, and examples |
wink://api/{apiName}/operation/{key}/request | Request-focused view with required inputs and minimal example payload |
wink://api/{apiName}/operation/{key}/response/{status} | Response-focused view for a specific status code |
wink://api/{apiName}/operation/{key}/recipe | Task-oriented flow for calling that operation correctly |
Search Tools (Quick Reference)
Section titled “Search Tools (Quick Reference)”| Tool | Purpose | Typical Query Examples |
|---|---|---|
api_search | Find the live API or operation to integrate against | create affiliate, payment receipt, lookup inventory, invite manager |
docs_search | Find conceptual docs / guides | authentication, webhooks, wordPress |
Leave query empty to receive suggestions. Every result includes the MCP URI you can open.
For operation hits, api_search also returns linked request, response, schema, and recipe URIs so agents can jump directly into the most useful subresource.
Typical Usage Pattern
Section titled “Typical Usage Pattern”- Run
api_searchwith your intent (e.g. “create affiliate” or “payment receipt”). - Open the returned
wink://api/...URI, or follow its linkedrequest_uri,response_uris,request_schema_uris,response_schema_uris, andrecipe_urifields. - Use
docs_searchfor supporting concepts (authentication, webhooks, workflows).
- Each returned URI can be opened by the agent for full content.
- The
wink://apitree is live and follows the current upstream OpenAPI catalog instead of a generated repo index. - Suggestions appear automatically when queries are empty.