Skip to main content
Version: Next

Configuring MCP Servers with AI Assistants

This guide shows how to connect your AI assistant to OpenChoreo MCP servers using the pre-configured default OAuth applications or custom setups.

Prerequisites​

Before following this guide:

  1. Review the MCP Servers Overview to understand the available MCP servers and tools
  2. Note your MCP server URLs from the overview page
  3. Have your AI assistant installed and ready to configure

Quick Start (Default Setup)​

This guide uses the pre-created OAuth applications available in the default Thunder IdP that ships with the k3d setup. No manual IdP configuration is required. The following AI agents are supported:

AI AgentBrowser-BasedClient Credentials
Claude CodeYesYes
CursorYesYes
VS Code (GitHub Copilot)β€”Yes
Codex CLIβ€”Yes

Browser-based authentication uses the user_mcp_client OAuth application (public client with PKCE, authorization code grant), which is pre-created in the default Thunder IdP.

When prompted, log in with the default credentials:

  • Username: admin@openchoreo.dev
  • Password: Admin@123

Add both MCP servers using the Claude Code CLI:

claude mcp add --transport http \
--client-id user_mcp_client --callback-port 8075 \
openchoreo-cp http://api.openchoreo.localhost:8080/mcp

claude mcp add --transport http \
--client-id user_mcp_client --callback-port 8075 \
openchoreo-obs http://observer.openchoreo.localhost:11080/mcp

Then, inside a Claude Code session, run /mcp to verify the servers are connected. Select a server and authenticate in the browser when prompted.

Advanced Configuration​

For custom AI agents, non-default IdP configurations, or custom OAuth application setups.

Creating a Custom OAuth Application​

If you need to create your own OAuth application (e.g., for a different IdP, custom redirect URIs, or non-default client settings), create an application in your IdP with one of the following configurations:

Client Credentials (Programmatic Access):

SettingValue
Grant Typeclient_credentials
Client IDYour chosen client ID
Client SecretYour chosen client secret

Authorization Code (Browser-Based Access):

SettingValue
Grant Typesauthorization_code, refresh_token
Client IDYour chosen client ID
Public Client (PKCE)true
Redirect URIsConfigure per your AI agent's callback URL
Scopesopenid, profile, email
Redirect URIs

The redirect URI must match your AI agent's OAuth callback URL. Refer to your AI agent's MCP documentation for the correct callback URL and port.

Configuring Non-Default Installations​

If your OpenChoreo installation uses a custom base domain or non-standard ports, refer to the MCP Servers Overview for instructions on constructing the correct MCP server URLs. Replace the openchoreo.localhost URLs in the examples above with your actual MCP server URLs.