# Connect Wine Labs to an AI client

Use the remote Streamable HTTP MCP endpoint:

`https://chat.wine-labs.com/mcp`

Do not add a user ID, access token, or API key to this URL. OAuth-capable clients open Wine Labs sign-in automatically.

## Claude

1. Open **Settings → Customize → Connectors**.
2. Select **Add custom connector**.
3. Name it `Wine Labs` and paste the MCP endpoint.
4. Select **Connect**, sign in to Wine Labs, and approve access.

Claude Team and Enterprise workspaces require an owner to add the connector before members can connect it.

## Microsoft Copilot Studio and Microsoft 365

1. Open your agent in **Copilot Studio → Tools → Add a tool**.
2. Choose **New tool → Model Context Protocol** and enter:

   | Field | Value |
   | --- | --- |
   | Server name | WineLabs |
   | Server description | Search wine prices, market data, auctions and wine information with Wine Labs. |
   | Server URL | `https://chat.wine-labs.com/mcp` |
   | Authentication | OAuth 2.0 |
   | OAuth type | Dynamic discovery (Dynamische Ermittlung in German) |

3. Select **Create**, then **Next** if prompted.
4. Choose **Create a new connection**, sign in with your existing Wine Labs account and approve access.
5. Select **Add to agent**, then try the verification prompt below.

Dynamic discovery configures OAuth automatically. You do not need to obtain a client ID or client secret. Do not select **None (Keine)**, **API key**, or **Manual**.

- **Connector name must be alphanumeric:** use `WineLabs` with no spaces. Start with a letter or number; use only letters, numbers, hyphens (`-`) or underscores (`_`).
- **Create is disabled:** all required fields must be filled in. The description must contain at least **30 characters**; the example above is ready to paste.
- **Asked for a client ID or secret:** check that you selected **Dynamic discovery**, not **Manual**.
- **Dynamic discovery is unavailable or fails:** contact Wine Labs support with a screenshot and the time of the attempt. Your Microsoft administrator may need to check Power Platform data policies. Do not send passwords or tokens.
- Enable **generative orchestration** for your agent.

[Microsoft Copilot Studio setup guide](https://learn.microsoft.com/en-us/microsoft-copilot-studio/mcp-add-existing-server-to-agent)

## Codex app, CLI, and IDE extension

In the app, open **Settings → MCP servers → Add server**, choose **Streamable HTTP**, paste the endpoint, save, restart, and select **Authenticate**.

Or use the CLI:

```sh
codex mcp add winelabs --url https://chat.wine-labs.com/mcp
codex mcp login winelabs
```

## Cursor or Windsurf

Download the template for your client from `https://winelabs.ai/agents/install/`, enable the Wine Labs server, and complete browser sign-in when prompted.

## Verify

Start a new conversation and ask:

> Use Wine Labs to find the available tools, then search for Château Margaux 2015. Tell me which Wine Labs tool you used.

A successful test includes a Wine Labs tool approval or tool result—not only a green connector status.

## Troubleshooting

- Confirm the URL is exactly `https://chat.wine-labs.com/mcp`.
- Remove an incomplete connector, add it again, and choose **Connect** or **Authenticate**.
- Allow browser pop-ups and complete Wine Labs sign-in.
- If Claude displays an `ofid_…` reference, send Wine Labs support that value, the time of the attempt, the client name, and a screenshot. It is a flow reference, not a password or Wine Labs account number.

Full setup guide: https://winelabs.ai/agents
