Connecting Claude, Copilot, Cursor, and Open WebUI
Concrete client config examples plus the OAuth login flow
Once Bifrost’s MCP server is enabled (see Server Setup), any MCP-compliant client can connect. This page walks through Claude Desktop, GitHub Copilot, Cursor, and Open WebUI.
The general flow is the same for all of them:
- Tell the client the MCP server URL (
https://your-instance/mcp). - The client kicks off OAuth: it registers via
/register, redirects you to Bifrost’s login, and exchanges the code for a token. - Tools matching your roles appear in the client.
Claude Desktop
Section titled “Claude Desktop”-
Open Claude Desktop’s settings file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add a
mcpServersentry pointing at Bifrost. Claude Desktop uses the streamable HTTP transport for hosted MCP servers:{"mcpServers": {"bifrost": {"url": "https://your-instance.com/mcp"}}} -
Restart Claude Desktop. The first time you mention a Bifrost tool, Claude opens the OAuth flow in your browser.
-
Sign in to Bifrost. Claude receives the access token and your tools appear in the tool tray.
GitHub Copilot
Section titled “GitHub Copilot”-
In VS Code, open Settings (JSON) and add an
mcp.serversentry:{"mcp.servers": {"bifrost": {"url": "https://your-instance.com/mcp"}}} -
Reload VS Code. Open the Copilot Chat panel and type
@bifrost— Copilot prompts you to authorize. -
Click Sign in and complete the Bifrost login. Tool calls now flow through Copilot Chat.
Cursor
Section titled “Cursor”-
Open Cursor’s settings (
Cmd/Ctrl + ,) and search for MCP. -
Add a server entry:
{"mcpServers": {"bifrost": {"url": "https://your-instance.com/mcp"}}} -
Restart Cursor. The first tool call triggers the OAuth login in your browser.
Open WebUI
Section titled “Open WebUI”-
In Open WebUI, go to Admin Settings → External Tools → MCP.
-
Click Add MCP Server and enter the Bifrost URL (
https://your-instance.com/mcp). Open WebUI auto-discovers the OAuth endpoints. -
Click Authorize, complete the Bifrost login, and approve the tool list. Tools now appear under the model’s tool tray.
What tools become available
Section titled “What tools become available”The exact tool list depends on:
- The Allowed / Blocked Tools lists in Settings → MCP.
- Your user’s roles (the
rolesclaim on the JWT). - Which agents have your roles in their access list — only those agents’ workflow tools and
system_toolsappear.
To see exactly what’s exposed, query GET /api/mcp/tools with your user token, or run the connected client’s “list tools” command.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause |
|---|---|
| OAuth flow opens but never returns | Client redirect URI doesn’t match. Re-register the client (delete and re-add the server). |
| 401 on every request | Bifrost MCP toggle is off. Re-enable in Settings → MCP. |
| Empty tool list, but connection succeeds | User has no roles matching any agent. Assign the user a role and reconnect. |
| Cross-origin error in browser-based client | Verify the discovery endpoints serve Access-Control-Allow-Origin: *. |