MCP Servers
Wink exposes two authenticated MCP servers. Both use interactive OAuth2 login (PKCE authorization code flow) — your AI agent opens a browser tab so you sign in with your Wink account. No client secrets to manage.
| Server | URL | What it does |
|---|---|---|
| Inventory API | https://api.wink.travel/mcp | Inventory, bookings, rates, sales channels, analytics, and all platform operations |
| Integrations | https://integrations.wink.travel/mcp | Channel manager integrations — sync properties, rates, and availability with OTAs |
How authentication works
Section titled “How authentication works”Wink MCP servers use the OAuth2 Authorization Code + PKCE flow and support Dynamic Client Registration (RFC 7591). Here is what happens when you connect for the first time:
- Your AI client discovers the authorization server from the MCP endpoint’s
/.well-known/oauth-protected-resourcemetadata. - The client self-registers via Dynamic Client Registration — no manual application setup required.
- The client opens a browser tab to
https://iam.wink.travel. You sign in with your Wink account and approve the requested permissions on the consent screen. - Wink issues an access token scoped to your account and linked to your identity.
- The AI client attaches the token to every MCP request. All tool results are automatically scoped to your managing entity.
- Tokens expire after 3 hours. Your AI client refreshes silently in the background without prompting again.
Every tool call runs under your identity — the same ACL rules that protect the web portal apply to the AI agent.
Connect your AI client
Section titled “Connect your AI client”-
Make sure Claude Code is up to date:
Terminal window npm install -g @anthropic-ai/claude-code -
Add the Wink Inventory MCP server:
Terminal window claude mcp add wink-inventory https://api.wink.travel/mcp --transport http -
Claude Code contacts the server, discovers the authorization server, and opens your default browser.
-
Sign in to Wink and approve the permission request on the consent screen.
-
Claude Code confirms the connection. Type
/mcpto verify the server appears and its tools have loaded.
To add the Integrations server as well:
claude mcp add wink-integrations https://integrations.wink.travel/mcp --transport http-
Edit the Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
-
Add the MCP server entries:
claude_desktop_config.json {"mcpServers": {"wink-inventory": {"type": "http","url": "https://api.wink.travel/mcp"},"wink-integrations": {"type": "http","url": "https://integrations.wink.travel/mcp"}}} -
Fully quit and restart Claude Desktop (use Quit from the menu bar — closing the window is not enough).
-
Claude Desktop opens a browser tab for each new server. Sign in to Wink and approve permissions.
-
The plug icon in the bottom toolbar shows both servers as connected.
-
Make sure Codex CLI is installed:
Terminal window npm install -g @openai/codex -
Open (or create) the Codex config file:
- macOS / Linux:
~/.codex/config.json - Windows:
%USERPROFILE%\.codex\config.json
- macOS / Linux:
-
Add the Wink MCP server entries:
~/.codex/config.json {"mcpServers": {"wink-inventory": {"type": "http","url": "https://api.wink.travel/mcp"},"wink-integrations": {"type": "http","url": "https://integrations.wink.travel/mcp"}}} -
Start Codex. On first use, Codex opens a browser tab to
https://iam.wink.travel. -
Sign in to Wink and approve the requested permissions.
-
Codex confirms the connection. Run
codexand ask it to list available tools to verify the Wink servers are active.
MCP server support is available in the ChatGPT desktop app for Plus, Pro, Team, and Enterprise subscribers.
-
Download and install the ChatGPT desktop app if you haven’t already.
-
Open the app and click your profile icon in the top-right corner, then choose Settings.
-
Go to Connectors (or MCP Servers depending on your app version) and click Add.
-
Enter the Wink Inventory server URL:
https://api.wink.travel/mcpThen click Connect.
-
ChatGPT opens a browser tab to
https://iam.wink.travel. Sign in to Wink and approve permissions. -
Repeat steps 4–5 for the Integrations server:
https://integrations.wink.travel/mcp -
Both servers appear in your Connectors list. Start a new chat — Wink tools are available automatically.
-
Open (or create) the Cursor MCP config file:
- macOS / Linux:
~/.cursor/mcp.json - Windows:
%USERPROFILE%\.cursor\mcp.json
- macOS / Linux:
-
Add the Wink MCP server entries:
~/.cursor/mcp.json {"mcpServers": {"wink-inventory": {"type": "http","url": "https://api.wink.travel/mcp"},"wink-integrations": {"type": "http","url": "https://integrations.wink.travel/mcp"}}} -
Open Cursor. Go to Settings → Cursor Settings → MCP and confirm both servers appear with a green status indicator. If they show red, click Refresh.
-
Cursor opens a browser tab to
https://iam.wink.travel. Sign in to Wink and approve permissions. -
Open a chat (
Ctrl+L/Cmd+L) and ask Cursor to list available Wink tools to confirm the connection.
-
Open (or create) the Windsurf MCP config file:
- macOS / Linux:
~/.codeium/windsurf/mcp_config.json - Windows:
%USERPROFILE%\.codeium\windsurf\mcp_config.json
- macOS / Linux:
-
Add the Wink MCP server entries:
~/.codeium/windsurf/mcp_config.json {"mcpServers": {"wink-inventory": {"type": "http","url": "https://api.wink.travel/mcp"},"wink-integrations": {"type": "http","url": "https://integrations.wink.travel/mcp"}}} -
Fully restart Windsurf (File → Quit, then reopen).
-
Go to Settings → MCP Servers and verify both servers show as connected. Windsurf opens a browser tab to
https://iam.wink.travelon first use. -
Sign in to Wink and approve permissions. The servers turn green in the settings panel once authenticated.
Cline is a VS Code extension with a built-in MCP server manager. No manual JSON editing is required.
-
Install Cline from the VS Code Marketplace:
- Open VS Code and press
Ctrl+Shift+X/Cmd+Shift+X - Search for Cline and click Install
- Open VS Code and press
-
Click the Cline icon in the Activity Bar (left sidebar) to open the Cline panel.
-
Click the MCP Servers icon (plug icon) in the Cline toolbar, then choose Edit MCP Settings.
-
VS Code opens
cline_mcp_settings.json. Add the Wink entries:cline_mcp_settings.json {"mcpServers": {"wink-inventory": {"type": "http","url": "https://api.wink.travel/mcp"},"wink-integrations": {"type": "http","url": "https://integrations.wink.travel/mcp"}}} -
Save the file. Cline reloads automatically and opens a browser tab to
https://iam.wink.travel. -
Sign in to Wink and approve permissions. Both servers appear as active in the MCP Servers panel.
Scopes
Section titled “Scopes”When you approve the consent screen you will see a breakdown of what the agent is requesting. MCP clients use the same permission vocabulary as the rest of the platform — see the full scope reference on the Authentication page.
Two things are specific to MCP:
- The
mcp.readmcp.writemcp.removescopes are additionally required to open the MCP transport. A client that holds anmcp.*scope is admitted to/mcp, but every tool it invokes still enforces the section scope of the endpoint it wraps (e.g.booking.read). - The AI client requests only the scopes it needs. You can deny individual permissions on the consent screen — tools that require a denied scope will return an error when invoked.
Troubleshooting
Section titled “Troubleshooting”Browser tab doesn’t open
Your AI client may not support the interactive PKCE flow yet. Verify you are running a recent version:
- Claude Code:
npm install -g @anthropic-ai/claude-code - Codex CLI:
npm install -g @openai/codex - Claude Desktop / ChatGPT desktop: update from the app’s built-in updater
401 Unauthorized after signing in
Your cached token may be stale. Remove and re-add the server to trigger a fresh sign-in:
# Claude Codeclaude mcp remove wink-inventoryclaude mcp add wink-inventory https://api.wink.travel/mcp --transport httpFor Claude Desktop and ChatGPT, remove the server entry from settings, restart the app, and add it again.
403 Forbidden when calling a specific tool
The tool requires a scope you did not approve on the consent screen. Reconnect the server — the consent screen will appear again and you can approve the missing permission.
The server appears but tool calls return “account not found”
You are signed in to a Wink account that has no managing entity. Go to Wink Portal and ensure your account is set up before using the MCP server.
Token expires mid-session
Tokens are valid for 3 hours. Claude Code and Claude Desktop refresh tokens silently without interrupting your session. If you see auth errors after a long idle period, type a new message — the client will re-authenticate automatically.
Codex CLI shows “MCP server unreachable”
Check that your ~/.codex/config.json is valid JSON (no trailing commas) and that "type": "http" is set. Codex requires HTTP transport for remote servers; stdio transport is for local binaries only.
ChatGPT “Connectors” menu is missing
MCP support requires ChatGPT desktop app version 1.2024.352 or later and an active Plus, Pro, Team, or Enterprise subscription. Update the app and verify your plan in Settings → Account.
Cursor server shows red / “Failed to connect”
Verify your ~/.cursor/mcp.json is valid JSON and contains "type": "http". Then go to Settings → Cursor Settings → MCP and click Refresh. If the error persists, fully restart Cursor — config changes are not always picked up without a restart.
Windsurf MCP servers not listed in settings
Windsurf requires a full restart (not just a window reload) to pick up changes to mcp_config.json. Use File → Quit and relaunch. If servers still don’t appear, confirm you are on Windsurf 1.4+ via Help → About Windsurf.
Cline “Add Server” option is not visible
The MCP server manager requires Cline 2.0 or later. Open the VS Code Extensions panel, find Cline, and click Update if an update is available. After updating, reload VS Code (Ctrl+Shift+P → “Developer: Reload Window”).
Open Wink Portal Wink on GitHub